I know we can enable a transition if a record as at least one outward link is present, using Script Runner's post function.
Is there any work around to BLOCK a transition if the record has at least one inward link is present ?
Can Script Runner help on this ?
Use a condition like
issueLinkManager.getInwardLinks(issue.getId()).size() > 0
Thanks for the suggestion.
Will this condition allow the transition or block it ? I think it allows.
Also, can I specifically check for a link type not present, say 'Escalted from' ?
Basically, I am looking for something like "issueLinkType.name.NOTcontains" operation. Is is available ?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG