automatic task closing

Ivan Andrieiev
Contributor
April 6, 2023

is it possible to write an automation so that the task closes an hour after its creation, if it is not transferred to another status during this hour?

1 answer

1 accepted

3 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 6, 2023

Hi @Ivan Andrieiev,

Yes, that is technically possible. But since time is your trigger here and you seem to be using Jira Software, there's a few caveats to keep into account.

You should use a scheduled trigger for your automation rule that checks every --- minutes / hours / ... if there are any issues created more than an hour ago.

You appear to be on a standard plan, which has a limitation on the number of global automations you can execute. Nothing to worry about if your issues are all in a single project, but a potential problem if they are in multiple projects. If you let the automation run e.g. every minute, you will end up with  1.440 executions per day (60 * 24). It may be wise to check once every hour and embrace the idea that you will not be able to close every issue exactly within the hour.

Your automation rule would look somewhat like this:

Screenshot 2023-04-06 at 14.42.09.png

The JQL you see on the right hand side retrieves the issues that are in status To Do and were created more than 1 hour ago. Just modify the statuses I used to match your workflow(s).

Hope this helps!

Suggest an answer

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

Atlassian Community Events