Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create and close weekley task using Automation

Deepanshu Natani
Community Champion
August 4, 2021

Hi,

How can I create a weekly task on each Monday and close the task on Sunday.

I am not able to create automation to close the task - what would be the query to find this particular task to close via automation?

1 answer

1 vote
Bill Sheboy
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.
August 4, 2021

Hi @Deepanshu Natani 

You need some way to uniquely identify the task, and then use a scheduled trigger rule to find it.  For example, let's assume you always created this task with the summary "Our Team Weekly Task".  Your scheduled trigger could use JQL to find an open task with that summary, and then close it.

A more error-resistant pattern to do this is to use a scheduled trigger rule without JQL, and then use a Lookup Issues action with the JQL.  You could then check if there is one-and-only-one matching task before proceeding.

And, I am curious: what problem are you solving by having automation both create and close a weekly task?

Best regards,
Bill

Suggest an answer

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

Atlassian Community Events