I want to use Jira Automation to do this:
- run a JQL every day, that finds certain Parent Issues
- for each parent Issue that is found, I want to
-- transition the parent to DONE
-- transition the sub-task, if the sub-task is of type "payment"
I know how to setup the scheduled automation, I am aware of the Branch function.
I just don't know how to update the sub-tasks that must be of a certain type.
Any idea how that can be done?
Thanks in advance,
Bernd
You can use the Branches.
For Subtasks
If Issue type = payment
Then update the issue
thanks for the answer.
And what about the parent - how do I update the parent issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Schedule> JQL
If issue type = parent issue type
Then transition to done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess I have to more specific :-)
I have a parent Issue Type "Bill", with child Issue Type "Sub-Task"
I need to filter for the sub-tasks, eg. "issue type = Sub-Task AND paymentDate = Now()"
All the Sub-Task that match, need to be transitioned and also the according parent.
Any idea? :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that case you have to create two automation rules.
One for Child another for Parent
For Child>
"When:Scheduled
Searches with:
Type = Bill
Every 1 days"
"If issue matches JQL
Type = sub-task and paymentdate= now()"
Then transition the issue to "done"
For Parent>
When Issue transition to "done"
If Type = Sub-task
Branch rule For Parent
Then transition issue to "Done"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. I didn‘t see that I can add FOR CHILD and FOR PARENT in one automation.
Now that I know that, it is actually simple :-) Like always.
Thanks for your help!
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.