Hi all,
I have a challenge. I have a request type on a portal with a form.
Based on values set in the form there is an automation that creates sub-tasks from the selected options.
These selected options are based on a Jira custom field, also based that multiple options can be set I branched the rule so that based on the options selected a sub-task is created.
This is all working fine.
Here is the challenge, I want to have a copy of the form on each of the sub-task created.
I have tried to do an issue lookup after the branch, I looked up the sub-tasks created. These I can slo find, but then I made another branch based upon the lookup and using the key of the found sub-tasks and then have an action to copy the form based on the trigger issue.
But the log always comes up with no form to copy, all issues are in the same project.
Any ideas here in the community?
Thanks in advance.
I am guessing a bit here as I cannot see your entire rule in one image, and...
The problem is likely because you are using two branches in the rule and assuming the first completes before the second one.
Branches which could be on more-than-one-thing are run in parallel and asynchronously, and there is no guarantee of when the branch will complete, up until the last step of the rule. For your scenario, this means the first branch is still running when you try that Lookup Issue action and when the second branch starts running.
A possible workaround for your scenario is to use two rules:
Kind regards,
Bill
Hi @Bill Sheboy
It's in fact the complete rule. The 1st part is the initial rule and the 2nd part is what I added.
An I do agree in your thinking that it relates that branched run in parallel and they run asynchronously.
I tried to see if anyone had a solution, as I know you can juts create sub tasks one by one in a rule and then brach with the lookup. But then I wold have to create 5 rules instead on the one I have now, due to the options that can be selected in the form.
I will take a look at your suggestion this week and see if this will do the trick.
Thanks for looking and the suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
This solution works. I had to think about this myself!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marc - Devoteam Maybe this is helpful for you: https://community.atlassian.com/t5/Jira-Service-Management/Jira-Automation-Creating-Subtasks-and-Copying-Values-from-Parent/qaq-p/2001391
HTH
Nicolas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the suggestion.
This Article I have seen and is the basics, if I would implement this I would have to transform my branch from one rule to 5 rules.
The form in the request has many options to choose from, so this I wanted to circumvent.
Thanks for the reply anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.