I use a Script Listener to create a sub-task when a custom field value equals "Yes." I also use a Fast-Track Post Function to transition my workflow when:
issue.subTaskObjects.size() == 0
So essentially, I want to Fast-Track my workflow forward if there aren't any unresolved sub-tasks (Note: I recognized the condition above won't do what I need. I address that below.) . If I update the custom field value to "Yes" via a transition screen, I expect the Fast-Track to FAIL since a sub-task is created. However, this does not happen. I believe that what may be happening is that the Post Functions, including the Fast-Track, complete before the Script Listener determines I've updated the custom field to "Yes." So the sub-task is created AFTER the Fast-Track post function has completed.
The reason I think this is happening is because the Fast-Track is blocked, as I expect, when I complete the previously stated actions AND a sub-task already exists on the issue.
QUESTIONS:
Thanks for your help.
So,I have managed to do myself & if anyone wondering here is a solution. I used a trigger called "When : Issue Linked" then edit issue with the smart field update {{destinationIssue.summary}}
@Vishal I'm trying to do something similar not sure if your solution would help.
I have an epic and I'm creating an automation to create a number of standard tasks below it that include the summary of the epic as part of their summary. So it would be:
Epic Summary: "Tutorial Video"
Task 1: "Script for {Tutorial Video}
Task 2: "Screenshares for "{Tutorial Video}"
...etc
Is this what you achieved?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jaime Capitel (resolution)
No, it is not what did, but I have the solution & have done something similar which will work in your case.
All you need to do is preset your Tasks issue summary as below :
Task 1 : Script for {{issue.summary}}
Task 2 : Screenshares for {{issue.summary}}
This will work upon choosing appropriate trigger action.
Thanks
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.