Hi everyone,
I’m trying to create a Jira Automation rule to update a custom field called BlockedTasks in an issue. The goal is to count all issues linked via “is blocked by” and increment BlockedTasks when the linked issue’s status is Done. Specifically:
- Done → increment
BlockedTasks by 100
The rule should:
- Reset
BlockedTasks to 0 at the start - Loop through all “is blocked by” linked issues
- Increment
BlockedTasks by 100 if the linked issue is Done - Update the BlockedTasks field in the original (trigger) issue
The trigger for my rule is a status change.
I’ve tried referencing the field using {{issue.BlockedTasks}} and {{triggerIssue.BlockedTasks}}, but I keep getting the error:
Failed to get value for triggerIssue.BlockedTasks|0.plus(100)
I’m attaching a screenshot of my current rule for reference. 
Any guidance on how to properly reference and update this field in the automation would be greatly appreciated!