Forums

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

Jira: is it possible to bulk update, via API, moved issues using their original keys?

Rob Horan
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.
May 12, 2020

I am working with someone who would like to bulk move a set of issues to another project using a series of API calls.

It may then be necessary to do a second round of updates to these issues after they have moved.

Is it possible to use the original key in the API call, or do we have to know what the current key is?

I know that through the UI if you use the original key for navigation everything is fine, but I am not familiar enough with API operations to give a good answer.,

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2020

Hello @Rob Horan

Thank you for reaching out.

I can confirm to you that all the previous keys used in the issues are retained in the REST API of Jira Server, so you can still use that key reference to bulk update them after they are moved.

This possibility was implemented in 2012 for Jira 5.0 and all the versions above:

Allow REST callers to access moved issue via their old issue KEY 

I believe you already have this information, but this would be the REST API call to properly update your issues:

PUT /rest/api/2/issue/{issueIdOrKey} 

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer