I wanted to get the following details for an issue (incident) in JIRA using REST calls:
1. The number of times the incident's "assignee" field's value changed.
2. If this value is more than 1, the list of previous values for the "assignee" field for the incident.
Is there a specific JQL for the same? Any other methods are welcome as well.
Thanks already for your help!
Dear @richa priyanka,
there is no specific REST function for this. You have to fire a
GET /api/2/issue/<issue key>&fields=*all&expand=changelog
with the additional information of expanding the history. Then your app/script has to parse through all history events and count itself.
All the information you require is within the history.
So long
Thomas
Dear @richa priyanka,
can I help you further or was my answer good enough to be accepted?
Many Thanks
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.