Hello All,
I am trying to create an automation to move a Task to another status after a period of time. For instance, after 2 days a Task has been completed move to status archived.
Have you ever accomplished something like it? I did not find a time condition.
Hi @Andre Menezes and welcome,
Jira do not have such a functionality, out of the box. However you could achieve that with automation and by some custom work on your workflows:
Let me know if that helps.
Regards,
Alex
Hello @Alex Koxaras _Relational_ Thanks for responding.
Just one question, this second step would be done manually?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No @Andre Menezes , this will be on your workflow, on the transition from anywhere to "completed". If you have only one transition which leads to completed, then you will add a post function to set the value of this field equal to now() (or similar).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre and welcome to the community,
You can do calculations with jql on for example updated date or resolution date.
If you want to move them to archived after they are resolved for 2 days i would do something like this:
resolved <= -2d and status = done
you can run this jql on a time based cycle (cron job) within your project.
Hope this helps,
Laurens
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.
@Andre Menezes the solution that @Laurens Coppens provides will be valid, only if you set the resolution on the completed status. Then this would be a quite good solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alex Koxaras _Relational_ Great remark, i am hoping that the fact that he wants to go from completed to archived, he is setting the resolution on the completed state.
If not, than switching to update date could be an option, but obviously not a fail safe option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot, @Laurens Coppens and @Alex Koxaras _Relational_
The goal is to move the completed tasks automatically to archived. I will work with the schedule condition and then an action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There isn't such function in JQL, only function that deals with SLAs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.