[JIRA] (JENKINS-58793) Add "fields" parameter to api/2/search endpoint for jiraJqlSearch

27 views
Skip to first unread message

meg.kido@teradata.com (JIRA)

unread,
Aug 2, 2019, 5:09:03 PM8/2/19
to jenkinsc...@googlegroups.com
Meg Kido created an issue
 
Jenkins / New Feature JENKINS-58793
Add "fields" parameter to api/2/search endpoint for jiraJqlSearch
Issue Type: New Feature New Feature
Assignee: Naresh Rayapati
Components: jira-steps-plugin
Created: 2019-08-02 21:08
Priority: Minor Minor
Reporter: Meg Kido

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? 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

naresh.rayapati@gmail.com (JIRA)

unread,
Aug 31, 2019, 8:07:02 PM8/31/19
to jenkinsc...@googlegroups.com
Naresh Rayapati started work on New Feature JENKINS-58793
 
Change By: Naresh Rayapati
Status: Open In Progress

naresh.rayapati@gmail.com (JIRA)

unread,
Aug 31, 2019, 8:07:02 PM8/31/19
to jenkinsc...@googlegroups.com

naresh.rayapati@gmail.com (JIRA)

unread,
Aug 31, 2019, 8:09:02 PM8/31/19
to jenkinsc...@googlegroups.com
Change By: Naresh Rayapati
Status: In Progress Fixed but Unreleased
Resolution: Fixed

naresh.rayapati@gmail.com (JIRA)

unread,
Aug 31, 2019, 8:09:03 PM8/31/19
to jenkinsc...@googlegroups.com
 
Re: Add "fields" parameter to api/2/search endpoint for jiraJqlSearch

Merged above PR will release it soon after further testing.

naresh.rayapati@gmail.com (JIRA)

unread,
Aug 31, 2019, 8:36:02 PM8/31/19
to jenkinsc...@googlegroups.com

naresh.rayapati@gmail.com (JIRA)

unread,
Aug 31, 2019, 8:36:02 PM8/31/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages