we have a very rigid process in which we have to close tickets one after another in specific order.
The last ticket has a label called "scorecard_launch" and i would like to create an automation that triggers 1 month after ticket with label " scorecard_launch" is transitioned to done, a new ticket is created (linked to the trigger issue)
I do see there is a " scheduled task" automation but i'm unable to figure out on how to make the trigger to schedule the new issue creation
Can you check this page from our awesome @John Funk : https://community.atlassian.com/t5/Jira-articles/Creating-a-Flexible-Recurring-Task-Issue/ba-p/2040862
It's not 100% what you're looking for but I bet parts of it would be reusable to make it work for you.
If it doesn't work, please report back with any progress/issues and we can check and see if we can help you out!
Hi @Hans Polder this does not actually work as from my understanding it instantly creates the issue after transition and just adjusts the due date.
What i'm looking for is as follows:
If issue with label "Scorecard_launch" transitioned to done
1 month after the transition -> create a new issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this should do it:
status CHANGED TO Done ON -1m and labels = Scorecard_launch
You can play around with the JQL a bit more to make it more resilient, but I believe this should catch exactly what you're looking for. You can do a lot of things with the 'CHANGED' operator: https://support.atlassian.com/jira-software-cloud/docs/jql-operators/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This sounds like it might work, but just to clarify. doesn't it mean that the scheduled task will trigger on the same issue every day? Meaning it will create a ticket every day for the tickets that are 1m old or older?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, it will not:
The JQL filters specifically ONLY on issue that were changed to status 'Done' EXACTLY -1m (1 month ago). And since the rule only runs once per day, any issue will only be treated by this automation one time. If the JQL would have been "status CHANGED TO Done BEFORE -1m", then your statement would indeed be valid :)
By the way, if the rule doesn't work as expected, you could try disabling that checkbox at the end of the screenshot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.