Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner WF validator

Bharat Kalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2025

How to make sure a ticket is only allowed to close with "Resolution = Duplicate" if there is one or more linked tickets of duplicate type?

If there is no duplicate ticket linked, user should get an error.

1 answer

1 accepted

0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Champion
August 26, 2025

Hi Bharat,

The documentation page here includes examples of workflow validators that can help you create the validator you require.

This page has the Linked Issues examples, which show how linked issues of a certain type have a specific resolution and how you can modify this to achieve your use case. 

Also, you can see a workflow expression generator here, which you can use to generate a validator that suits your requirements. 

Finally, if you need further help creating your validator, please raise a request here so that the ScriptRunner support team can assist you.

I hope this information helps.

Regards,

Kristian

Bharat Kalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2025

Thank you @Kristian Walker _Adaptavist_ . Let me try the things you have suggested and see if I can create a validator. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events