Forums

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

Is it possible to bulk Close Jira stories tagged as Backlog via import from CSV file?

Anshu Mahajan
Contributor
September 15, 2023

We are working with a client to assess and clean out their JIRA backlog. Given the nature of the huge backlog ~ 500 tickets ranging from 2020 till date . 

I wanted to know whether there is functionality of bulk closing the JIRA tickets using CSV file or any other best practices.

 

Lookign forward to suggestions 

2 answers

2 accepted

2 votes
Answer accepted
Amelie Winkler _Appfire_
Atlassian Partner
September 15, 2023

Hi @Anshu Mahajan – Amelie from the Appfire team here!

As @Mohamed Benziane mentioned, you could use a global transition in Jira to get it to work!

If you prefer to do it via CSV as you mentioned, you could try out our marketplace app Jira CLI.

With Jira CLI you can get all the issues in a CSV file by running the following command:

--action getIssueList --jql "project = cp AND issuetype = Bug" --file cc.csv --columns "Key"

Once you have the CSV file, you run the below action to move the status of all those ~500 tickets at once.

--action runFromCsv --file cc.csv --common "--action transitionIssue --transition DONE --continue "

Let me know if you have any questions!

0 votes
Answer accepted
Mohamed Benziane
Community Champion
September 15, 2023

Hi,

Yes it is possible. You could also add a global transition in the workflow of each issue type and use it in the bulk edit option.

Anshu Mahajan
Contributor
September 17, 2023

Hello @Mohamed Benziane  thanks for your reply .  Are you able to provide working instructions or link to article that provides steps on adding the GLobal Transitions in the workflow and I can then discuss it with our JIRA developers

Mohamed Benziane
Community Champion
September 18, 2023

Suggest an answer

Log in or Sign up to answer