JIRA API with unwanted fields response

daniel m February 12, 2021

 inp_req_ = requests.get(baseJiraUrl + "rest/api/2/search.....fields=assignee..."

 

response comes with a number of "assignee" related fields 

for example 

asigneeUrl

AssigneeId

AssigneeValue

Assignee

 

how do you exclude all other fields other than "assignee" 

thanks

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2021

Hi @daniel m 

What is the exact end point you are using?

Ravi

daniel m February 13, 2021

https://myJiraSrv-jiradev-2.pac.com:8443/rest/api/2/search?startAt=0&maxResults=50&jql=project='Some Proj' and issuetype ='Test'&fields=assignee",auth=('xuser','pswd'),verify=False)

TAGS
AUG Leaders

Atlassian Community Events