Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58793

Add "fields" parameter to api/2/search endpoint for jiraJqlSearch

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • jira-steps-plugin
    • None

      It appears that jiraJqlSearch uses "jql", "startAt" and "maxResults" parameters for calling Jira REST API with api/2/search endpoint. 

      Jira admin at Teradata where I work wants api/2/search call to be made with "fields" parameter to avoid negatively impacting Jira performance when we update Jira to version 7.13.5. I noticed that your code does not use fields parameter. 

      https://github.com/jenkinsci/jira-steps-plugin/blob/6cd86d5b155599ce8f4d1eaf28604a4bb872bef6/src/main/java/org/thoughtslive/jenkins/plugins/jira/service/JiraService.java#L252

      Is it feasible to add fields parameter so I can continue to use jiraJqlSearch in my code for work? 

       

            nrayapati Naresh Rayapati
            goldenrico Meg Kido
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: