part of our workflow for completed tasks is that they currently sit in a status of Done for 7 days, during this time a task can be returned to In Progress for remediation. after 7 days the task is moved into a status call closed. I would like the automate the move from done to closed.
Hi Tom, welcome to the Community.
There are two options I would suggest.
Personally I prefer #1 as it is cleaner. As you begin to create your automation if you get stuck let me know.
Here is a link to the documentation- what-is-advanced-searching-in-jira-cloud . There are several articles you can use to learn JQL. I am happy to assist as well. If you run into issues just let me know your goal in words and I will try to turn it into a JQL for you.
my high level goal on this is that once a task had been in status "done" for 7 days it will automatically move to status "closed"
The cherry on the top would be if this can be focused only on tasks and not subtasks.
I have a rule that once all sub-tasks are in status "done", the parent task will move to status "done." I am just unsure what will happen to that rule if the sub-tasks are moved into a "closed" status before all the tasks are in done status.
Question- as stated in my earlier post, can we assume that once a task is moved to the Done status no other updates will occur to it until it is moved into the Closed status? For example, could someone update a field or make a comment on the issue while in the done status? TBH, this is rarely a valid assumption for most scenarios. This is why my second option is likely the right approach. That is, create a custom field to record the date at which the issue moves into the done status.