Is there any api available in Atlassian Connect to change the Issue Type for issues in bulk?

Sanjeev Pande
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.
February 5, 2020

I am looking for an api to change the Issue Type for issues in bulk.

Have tried the Edit Issue api, but that works for one issue.

Is there way / api to change the Issue Types in bulk ?

1 answer

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

 

Hello @Sanjeev Pande,

Thank you for reaching out!

Indeed, Jira does not have an API call to bulk edit several issues. We have a feature request created to implement this functionality since we agree this would provide an easier option to create scripts and automation:

Bulk Edit issues in JIRA Rest API 

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

As an option to achieve what you need, you can simply loop all the issue keys you want and update it:

  1. query the issues via REST (get to /rest/api/3/search?jql=)
  2. loop the issues and make the update (PUT to /rest/api/2/issue/{issueIdOrKey}) on the selected issues

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer