Forums

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

How to implement bulk archive rule created in Jira automation?

Joel Fraser October 2, 2025

I created a rule to bulk archive "done" items using Jira automation. I turned on the rule but how do you implement it to actually archive done items?

2 answers

1 accepted

0 votes
Answer accepted
Varsha Joshi
Community Champion
October 2, 2025

Hi @Joel Fraser 

Could you share your automation rule's screenshot? You might have set a trigger, and it gets activated if it matches the trigger condition.

Joel Fraser October 2, 2025

Hi @Varsha Joshi thanks for your reply. My automation rule is attached below:

 

Screenshot 2025-10-02 at 12.53.47 PM.png

Varsha Joshi
Community Champion
October 2, 2025

Since you set it up as manual trigger. For your testing purposes select a test work item - open it up in your browser and find the lightning bolt icon that is #1 in the picture below and #2 is where you will find your automation, click that it should trigger your automation.

Also please be extra cautious that you have test data to play with. 

image.png

Hope I was able to help with what you were looking for.

Joel Fraser October 2, 2025

@Varsha Joshi thanks for your reply. This is applicable for one item at a time. I want to archive multiple items at a time. How would I test the automation say to archive 5 items at once?

Varsha Joshi
Community Champion
October 2, 2025

Is your goal to move all the items that are in done status moved to archive? 

Just curious as why are using an API to do it?

Joel Fraser October 2, 2025

@Varsha Joshi  yes it is my goal to move all done items into archive in bulk. Do you know of an easier way to achieve this?

Varsha Joshi
Community Champion
October 2, 2025

You could use the transition trigger and apply your JQL condition. That will run every time any work item moves to Done. Then add the component to run the API to move it to archive. 

 

image.png

Joel Fraser October 2, 2025

Hi @Varsha Joshi , let me explain the context better. I have an old project board with many done items I would like to archive to clean up the board and make it available for a new set of work items coming in. So I already have 1000 odd done items I would like to archive in bulk. What approach can be used to accomplish this?

0 votes
Bill Sheboy
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 2, 2025

Hi @Joel Fraser 

The endpoint you are using is experimental.  Did you include the extra header:

  • key: X-ExperimentalApi
  • value: opt-in

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-archive-post

 

Kind regards,
Bill

Joel Fraser October 2, 2025

@Bill Sheboy  thanks for your reply. Yes I did include the extra header as shown below:

Screenshot 2025-10-02 at 1.46.32 PM.png

Bill Sheboy
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 2, 2025

@Joel Fraser -- I do not see the experimental header in the image you show. 

For example:

Screenshot 2025-10-02 105148 - Copy.png

Suggest an answer

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

Atlassian Community Events