It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get all the details of a User in fieldschanged

I'm using /api/2/search to find issues that match certain criteria. What I want is to get the displayName, name or e-mail address of all the users that a given issue was assigned to. However, by default it looks like when an issue is assigned to somebody, it's always represented like this:
{"field":"assignee","fieldtype":"jira","from":"personb","fromString":"Person A","to":"personb","toString":"Person B"}]

It looks like "from" and "to" map to User.key.

 

I know I could make another API call to JIRA to look up the user for that key. But that's an extra hop. Is there a way to make JIRA do the lookup initially and return it to me all in one?

0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

147 views 0 11
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you