Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.