Class JiraSearch

java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.jira.JiraSearch
All Implemented Interfaces:
DataExceptionContributor, JsonSerializable, RecordSerializable, XmlSerializable, Serializable

public class JiraSearch extends Bean
A Jira issue search request: the JQL query, page size, fields to return and the token of the next page.
See Also:
  • Constructor Details

    • JiraSearch

      public JiraSearch()
  • Method Details

    • getJql

      public String getJql()
    • setJql

      public JiraSearch setJql(String jql)
    • getMaxResults

      public int getMaxResults()
      Returns the number of issues requested per page (defaults to 50).
    • setMaxResults

      public JiraSearch setMaxResults(int maxResults)
      Sets the number of issues requested per page (defaults to 50).
    • getFields

      public String[] getFields()
    • setFields

      public JiraSearch setFields(String... fields)
    • getNextPageToken

      public String getNextPageToken()
      Returns the token of the next page of results to request; JiraIssueReader updates it after each page.
    • setNextPageToken

      public JiraSearch setNextPageToken(String nextPageToken)
      Sets the token of the next page of results to request; JiraIssueReader updates it after each page.
    • searchIssuesById

      public JiraSearch searchIssuesById(String... issueIds)
      Restricts the JQL to the given issue IDs by prepending issuekey in (...), joined to any existing JQL with AND; null leaves the JQL unchanged.