Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation create Task and Subtask: Problem filter

Hello!
I am in need of help when generating a JQL that looks for a task to associate subtasks to it.
This is because it generates an automation where on a certain day of the month, it creates a task and associates the subtasks to that task.

The JQL I am using is the following:
createdDate = now() AND text ~ "\"Task title".

Any opinion is welcome!

2 answers

1 accepted

0 votes
Answer accepted
Daniel Ebers Community Leader Jul 18, 2021

Hi @Valen Cardozo

here is a suggestion for an automation rule:

grafik.png

However, I believe Dario was getting the idea behind the JQL query better than me.
Correct me if I am wrong - intention on your end is being able to query for issues created using the rule. In that case it would be fine to extend the rule setting a custom field to a value of your choice or to label it.

Please adapt also the trigger - I missed your example "first day of a month" obviously.

Regards,
Daniel

Thank you @Daniel Ebers 
The example you provided is just what I needed to do, I take your example, thanks again!
Regards

Like Dario B likes this
0 votes
Dario B Atlassian Team Jul 16, 2021

Hello @Valen Cardozo ,

I am not sure I understand correctly the requirements. 

Is the automation rule creating the task and then creating the sub-tasks to be added to it or anything else?

However, in case you have to search for the created task but the JQL you are already using is also returning other results, an easy workaround would be to create a task issue type (or a specific component, or a value in a custom field, etc) that is only used  for these automatically created tasks and then you can easily match issuetype = XXX in your JQL (or component = XXX, etc).

 

Cheers,
Dario

Hi @Dario B 
Exactly, the idea is to run an automation every 1st of each month, generating a main task and also associate subtasks to that task with the different actions to be performed.

Like Dario B likes this
Dario B Atlassian Team Jul 21, 2021

Hi @Valen Cardozo , 

Apparently I got one part correctly while @Daniel Ebers  got the other part and provided the complete solution. Good team work here! ;) 

Cheers,
Dario

Like # people like this

Thank you both!

You were a great help
Cheers,
Valentin

Like Dario B likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

137 views 2 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you