It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to - scriptrunner that adds a condition on a certain type of link, and a certain resolution

Hello,

We would need to add a validator that does the following: if the resolution is 'duplicate', then it should be mandatory that a linked issue with the 'duplicate' link type exists already or is added during the transition .

I found the example for making it mandatory during the transition (https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/validators/validate-attachments-links-in-transition.html#_validating_links_added_this_transition), but how can I make it check for already existing links also?

Thank you very much!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked in Opsgenie

CLOSED: AMA with Serhat Can on everything Opsgenie

Update: Our AMA with @Serhat Can is complete! Thank you everyone for taking the time to write your questions and participate, you are the folks that make the community enriching and fun! If...

627 views 15 7
View question

Community Events

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

Events near you