I am trying to use the JIRA Agile Map Colors function, as well as the ScriptRunner plugin, to paint locked cards on a JIRA flex.
My definition is “blocked”: the ticket has a value for the “Blocked” field or is associated with an unauthorized ticket in relation to “blocked”.
The best I can do is the following JQL:
(Blocked is not EMPTY) OR issueFunction in hasLinks("is blocked by")
This finds tickets that are relevant for the Blocked field, and tickets that are associated with another ticket are associated with Blocked, but it will still color the card if all associated blockers are allowed.
Is there a way to find tickets related to unauthorized blockers?
I looked through the ScriptRunner Docs but found nothing.
source share