Forums

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

Updates to Jira ticket via API - is History and the Updated (date) field updated automatically

wvacchiani October 14, 2024

Hi,

I'm looking at calling an API to update specific fields on existing Jira tickets and then I got to wondering about an audit trail.  

  • Does Jira ticket history automatically get updated to reflect the changes applied by the API?  I'm assuming the API is called using a specific (API) User ID and that would be used to reflect that.  
  • Does the Updated date/time on the ticket automatically get updated to reflect the update?  Or is that something we'll need to look into as well.

I'd be surprised if an API update doesn't leave some sort of footprint on the ticket once performed, but thought I'd ask.  If there are other ways people have reflected an API update, it would be useful to hear about them.

The API I am looking to use is this one:

Updating an Issue via the JIRA REST APIs 6848604 (atlassian.com)

 

Thanks in advance for any information.

Much appreciated.

 

Regards

Ward

 

 

 

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2024

Hi @wvacchiani 

  • Does Jira ticket history automatically get updated to reflect the changes applied by the API?  I'm assuming the API is called using a specific (API) User ID and that would be used to reflect that.  

No, you are calling the API by you user or another user that has a Jira license and access to the call related issue. There is no specific API user

The history will show, if you do the action via your user and API token, you as the execution user

  • Does the Updated date/time on the ticket automatically get updated to reflect the update?  Or is that something we'll need to look into as well.

This is automatically updated.

Suggest an answer

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

Atlassian Community Events