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!
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.
Regards,
Daniel
Thank you @Daniel Ebers
The example you provided is just what I needed to do, I take your example, thanks again!
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you both!
You were a great help
Cheers,
Valentin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.