java.lang.Object
com.atlassian.jira.plugins.webhooks.serializer.issue.IssueBeanFactory

@Component public class IssueBeanFactory extends Object
This is a class that can produce JSON-friendly representations of issues.
  • Constructor Details

    • IssueBeanFactory

      @Autowired public IssueBeanFactory(BeanBuilderFactory restBeanBuilderFactory)
  • Method Details

    • createBean

      public IssueBean createBean(Issue issue)
      Takes a business issue object and returns a bean that can be serialized to the JSON representation used in our REST API.
      Parameters:
      issue - JIRA issue
      Returns:
      issue object that can be serialized to JSON