Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use scriptrunner's issueFieldExactMatch with component

Scott_Ruskamp January 17, 2018

I'm trying to find issues that have exactly one component and the value is COMPONENT_NAME. I've tried:

 

issueFunction in issueFieldExactMatch("project = \"PROJECT_NAME\"", components, "COMPONENT_NAME")

 

and

 

issueFunction in issueFieldExactMatch("project = \"PROJECT_NAME\"", components, "[COMPONENT_NAME]")

 

but neither give me any results, even though I can see issues that have component set to ONLY COMPONENT_NAME in PROJECT_NAME.

 

Anyone know how I can query COMPONENT_NAME correctly? Or is there a way to print out the values scriptrunner is seeing from a JQL query?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events