issueFieldMatch and label custom field

thierry mallard March 3, 2015

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

0 votes
thierry mallard March 3, 2015

JIRA 6.2#6252

0 votes
thierry mallard March 3, 2015

Hi Cezare,

 

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

 

0 votes
Cesare Jacopo Corzani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 3, 2015

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?

Suggest an answer

Log in or Sign up to answer