Forums

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

Script to validate components

anarcon GmbH August 25, 2020 edited

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
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events