issueFieldMatch and label custom field

I am trying to use issueFieldMatch on a label custom field named 'Dependances'.

After editing issue to set 'Dependances' to xyz and builtin field 'Labels' to same value, I try the following queries:

  1. issueFieldMatch on Labels field gives 1 issue as a result.

    issueFunction in issueFieldMatch("project = LGTK", 'labels','xyz*')
  2. issueFieldMatch on Dependances field gives no issues as a result, I was expecting same result.

    issueFunction in issueFieldMatch("project = LGTK", 'Dependances','xyz*')

Why is the result different?

Is there any configuration that can be done for the custom field? Or is it something else?

 

Thanks for your reply,

Thierry

3 answers

Hi Thierry,

I've tried to reproduce it but I have exactly the same issues as output of both the JQL queries.

It should work in that way, no other configurations are needed.

Which version of Script Runner/Jira are you using?

Hi Cezare,

 

I am using JIRA 6.2 and ScriptRunner 3.0-beta-9.

 

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,254 views 14 20
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