Script Runner how to query custom fields for JIRA Cloud

Hello,

We use the Zephyr for JIRA Cloud to manage test cases. But the query is not good enough. So I'm looking help from the Script Runner.

 

We have a JIRA project called "MANAGE".
We have several test cycles (like option for a custom field) for this project.
We have about 1400 TEST (issues) in this project.
We have a JIRA checkbox custom field called "Automated".
We have about 459 TEST which are with the value "Automated" in the custom field "Automated".
Now we want to figure out, how many TEST not Automated in test cycle "Manage 4.3 RMT 1"?
E.g.
project = "MANAGE" AND issuetype = Test AND Automated = "Automated" and
cycleName = "Manage 4.3 RMT 1"

This query does not work, because:

1. by the normal JIRA search function, can search custom field but could NOT search "Cycle Name"
2. by the Search TEST page, , can search custom field but could NOT search "Cycle Name"
3. by the Search TEST Execution page, , can NOT search custom field but could search "Cycle Nam"

 

In this case, how can Script Runner query out issues against both the custom field "cyclename" and "Automated"?

 

Appreciate any help on this!

 

Thanks,

Darren

1 answer

Hi Darren,

You can try inputting the custom field ID instead of the name in the Advanced search like

cf[100XX] i= "Manage 4.3 RMT 1"

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,227 views 14 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot