Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any API that can get information about transitions?

Vasilescu Ovidiu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 6, 2023

I need to find out who is the first user which moved the issue from status "to do" to status "In progress". The story can be moved in multiple statuses, it can be moved even back to "to do", but I need to find the initial person who moved it.

I tried to get this information from changelog, but is not really helpful. Is there any API that can provide that data? 

The transition field is visible in the app. Screenshot attached.

 

Screen Shot 2023-01-06 at 17.07.49.png

 

4 answers

3 accepted

1 vote
Answer accepted
Florian Bonniec
Community Champion
January 6, 2023

Hi @Vasilescu Ovidiu 

 

This tab come from an app JSU.

 

You can get the full issue history using the REST API like you seems to have already try. What is the issue with the rest api ? You can get the json response then parse it to get the information you arel ooking for.

 

Regards

1 vote
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
January 6, 2023

Hi @Vasilescu Ovidiu ,

welcome to Atlassian community!

You can use the following api https://docs.atlassian.com/software/jira/docs/api/REST/8.9.1/#api/2/issue-getIssue with the parameter expand=changelog

Example: https://YOUR_JIRA_BASE_URL/rest/api/2/issue/YOURISSUEKEY?expand=changelog

After doing that you will have the full history for the ticket including who performed the transition.

Hope this helps,

Fabio

1 vote
Answer accepted
Josh Costella
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 6, 2023

Hi @Vasilescu Ovidiu 

I'm not sure what version you're on but the History tab tracks all transitions and edits to the ticket. Are you not able to find it there? 

0 votes
Vasilescu Ovidiu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2023

Hello guys,

Thank you for the answers. I did not used the API directly, I used Workato to get the data about an issue. On a first sight, I have missed some fields, but I had another look and now it's fine, I can identify who changed the status.

I will close this topic.

Have a great day! 

Suggest an answer

Log in or Sign up to answer