Forums

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

Script to validate components

anarcon GmbH August 25, 2020

Hi all,

 

Our developer is currently on leave. I'd need your help with a simple javascript for Scriptrunner: Component/s is not ABS or CISL.

 

This is for a post-function to create a sub-task for the story, when the component is not ABS or CISL.

 

Thank you,

Duong

1 answer

0 votes
Florian
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, 2020

The JQL query should contain

competent not in(“abs”, “cisl”)

you can try it in an issue filter like

project = test and status = open and  competent not in(“abs”, “cisl”)

This should list all the issues you are looking for. Remove the word “not” to get all the other issues. 

anarcon GmbH August 26, 2020

Oh sorry, I didn't write it with details. I actually need a javascript for Scriptrunner, not JQL.

Suggest an answer

Log in or Sign up to answer