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.

 

JIRA 6.2#6252

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

77 views 0 3
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