Forums

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

Identifying User and Email in Jira Status Changes

Saurabh Sathe July 25, 2024

 

Hello Atlassian Community,

I am currently working with the Jira Cloud REST API, specifically the GET /rest/api/3/statuses endpoint documented here.

My objective is to retrieve the status information, including details about which user made changes and their email ID. However, after examining the API response, I cannot find any data related to the user who made the changes or their email ID.

Steps Taken:

  1. I have used the GET /rest/api/3/statuses endpoint to fetch the status details.
  2. I reviewed the API response but did not find any fields that contain user information or email ID.

 

Issue:

In the response above, there is no information indicating which user made the last status change or their email ID. This information is critical for audit and tracking purposes in our application.

Request:

Could you please guide me on how to obtain the following details:

  • The user who made the last status change
  • The email ID of the user who made the change

Is there another endpoint or a combination of API calls that can provide this information? Any suggestions or best practices to achieve this would be highly appreciated.

Thank you for your assistance!

Best regards,
Saurabh

2 answers

2 accepted

0 votes
Answer accepted
Yuliia_Borivets__SaaSJet_
Atlassian Partner
July 25, 2024

Hi @Saurabh Sathe 

Maybe check this section: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-email-get

Also, here is a thread with answers you might check: https://community.atlassian.com/t5/Jira-questions/Is-it-possible-to-get-the-issue-history-using-the-REST-API/qaq-p/510094

Alternatively, you can try Issue History for Jira app from my team. It provides information on any field changes and who made updates.

Here is an example with status:

status changes and updated by.jpg

Saurabh Sathe July 26, 2024

Hi @Yuliia_Borivets__SaaSJet_  , 
Thankyou for all the help :)

0 votes
Answer accepted
Fernando Eugênio da Silva
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2024

@Saurabh Sathe , Welcome to the Atlassian Community!

Just to be clear:

Do you want to get the status changes in the issue or the status changes like, name or category from the status?

The API you sent, is related to status as itself, not related to a Jira issue. Maybe what you need is take a look in the changelog API. This one here: Change Log - REST API

I look for hear from you

Kind Regards,

Fernando

Saurabh Sathe July 26, 2024


@Fernando Eugênio da Silva ,Thankyou for all the help :)

Saurabh Sathe July 26, 2024

@Fernando Eugênio da Silva  I am able to hit api and get log details but I am not able to see email-ids of all the users ? Does jira have access restrictions on APIs ?

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events