I have an issue and need to fetch user details from that issue
Which API and which users on the issues?
Hi @geethanjali sj welcome on the community. Can you share more? What user do you need? Assigne, reported or some custom field's value?
I need to get the user email id and display name
rest api
And i need to get user email id and display name
Ok, but issue can have following "user" fields
so what user value do you need?
Custom field
Sorry for the delay,
If you "get" an issue with https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/issue-getIssue you'll see it feeds you all the fields back, and when the fields are user fields, it gives you "name" and "displayName".
Given the name, you can look up the email address and other stuff with https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/user-getUser
It looks like you're new here. Sign in or register to get started.