Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,144
Community Members
 
Community Events
165
Community Groups

JIRA API with unwanted fields response

 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

0 votes

Hi @daniel m 

What is the exact end point you are using?

Ravi

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)

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you