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

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

    Details

    • Similar Issues:

      Description

      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? 

       

        Attachments

          Issue Links

            Activity

            Show
            nrayapati Naresh Rayapati added a comment - PR:  https://github.com/jenkinsci/jira-steps-plugin/pull/89
            Hide
            nrayapati Naresh Rayapati added a comment -

            Merged above PR will release it soon after further testing.

            Show
            nrayapati Naresh Rayapati added a comment - Merged above PR will release it soon after further testing.
            Hide
            nrayapati Naresh Rayapati added a comment -

            Released with https://github.com/jenkinsci/jira-steps-plugin/releases/tag/jira-steps-1.5.0, this should soon available in update center

            Show
            nrayapati Naresh Rayapati added a comment - Released with  https://github.com/jenkinsci/jira-steps-plugin/releases/tag/jira-steps-1.5.0 , this should soon available in update center

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: