Hi,
I've been trying to create an automation that would allow me to transition a task status from Blocked to Open when I removed the links blocking said task - but so far all my attempt failed and always try to change the status of the other tasks linked.
i.e Task A blocked Task B (so task B status is Blocked) - on Task B I remove the "is blocked by" link, I want Task B to update to Open.
At the moment, it always only try to edit Task A. I've been trying to use destinationIssue but it's not working
Hello @Diane
Welcome to the Atlassian Community.
It will enable us to help you more effectively if you provide us with screen images showing your entire Automation Rule, and all the details in the rule execution Audit Log for a time when the rule ran and you did not get the results you expected.
We can't explain why your rule is not working as intended or advise you on how it needs to be changed without that information.
Without that information I suspect that you are using the Link Deleted trigger. Did you review the description of that trigger that appears in the trigger itself?
Rule executes when a work item is unlinked from another work item. {{issue}} will always refer to the source work item, so if work item-A is blocked by work item-B, this rule will execute on work item-B. To access work item-A, use {{destinationIssue}}, and to access the link type, use {{linkType}} (e.g. {{linkType}}
Based on your description, the rule would be triggered by the change to Task A, even if you are in Task B when you remove the link.
Is the logic of your rule taking that into account? Or did you build the rule on the assumption that Task B would be the trigger issue?
Hello @Diane
Was the information I provided helpful? Were you able to solve your issue?
If not, can you provide the additional information I specified in the first paragraph of my previous response, please?
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.