I'm looking way to get trigger for script if certain type of link is added to Jira issue.
Functionality which I try to create is flag issue and issues below marked with blocked by link.
Meaning eg. in case of epic gets linked with blocked by to issue which is unresolved the epic and tasks under epic would be marked with flag in custom field.
We have Scriptrunner for Jira in to use and would assume there is some way to do functionality.
Hello @Renni Verho
You can achieve this using Automation for Jira
Trigger -> issue linked
Edit issue: Re-fetch issue data
And -> Related issues condition -> epic -> exist
Branch rule -> for the linked issue -> type blocks
Add new component IF under branch rule -> Issue type equals - >epic
Then -> edit issue -> edit the desired field
Tested and working
If used for multiple projects add as a global rule and then restrict to desired projects or leave for all projects.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events