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!
here is a suggestion for an automation rule:
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.
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).
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! ...
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