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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,104 views 4 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