Delete checklist automation

Peeyush_SwitchOn December 24, 2024

I want to create an automation to delete checklist from issues as soon as they are Done.

1 answer

1 accepted

2 votes
Answer accepted
Gracjan Wesołowski _HeroCoders_
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.
December 24, 2024

Hi @Peeyush_SwitchOn 

Welcome to the community!

Are you using any of Checklist apps from the Atlassian Marketplace?

If you are using our Checklist for Jira app, then it is quite easy to achieve.

Firstly, make sure that the Save local checklist items to Jira custom fields option is enabled.

Now, we can use custom fields to make changes to checklists. The automation would look like this:

clear_checkllist.png

Trigger - Issue Transitioned to Done

Action - Edit issue fields, update the Checklist Text field, and keep it empty. This way, we clear the checklist on issue transition.

Let me know if that's what you are looking for.

Cheers!

Gracjan

Peeyush_SwitchOn December 26, 2024

Hey Gracjan Wesołowski _HeroCoders, thanks a lot. This worked for me.

Peeyush_SwitchOn December 30, 2024

Hi again, I have a doubt here. The automation I created is only working on new tasks but not on existing 'Done' tasks because of the rule 'Issue Transitioned'. Is there a way to apply this to past Done Issues? @Gracjan Wesołowski _HeroCoders_ 

Gracjan Wesołowski _HeroCoders_
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.
December 30, 2024

Hi @Peeyush_SwitchOn 

You would need to run it on all Done issues using JQL and, for example, Scheduled Trigger.

Simply change the trigger to schedule, choose "Run a JQL search and execute actions for each issue in the query" set a JQL status=done, and run it by clicking [...] Run Rule.

Run Rule should be available when you save the automation run. It will be in the upper right corner.

Let me know if that helps.

Best Regards,

Gracjan

 

Suggest an answer

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

Atlassian Community Events