Forums

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

Hi, I try to create validation based on Simple scripted validator that check linked issues field

Inna Litvak June 24, 2018

HI 

I try to write validation that check that user entered linked issues if Resolution = Duplicate

this is the script I wrote but it note working

issue.resolution?.name != 'Duplicate' || cfValues['Linked Issues'] != null

 

1 answer

0 votes
Mark Markov
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.
June 26, 2018

Hello @Inna Litvak

And welcome to the community :)

Linked issues validating slightly different and cannot be validate by simple scripted condition. You need custom script validator.

Please check this article

https://scriptrunner.adaptavist.com/5.4.11/jira/recipes/workflow/validators/validate-attachments-links-in-transition.html#_validating_links_added_this_transition

 

Hope it helps!

Suggest an answer

Log in or Sign up to answer