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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

158 views 5 9
Read article

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