cannot use some methods in JQL filter

Issue #128 resolved
Louis Filion-Villeneuve created an issue

I am trying to use this validator: Update parameters of the 'Validation based on JQL query' Validator for this transition.

Unfortunately, it seems I cannot specify this in my JQL filter:

%{00074} in releasedVersions()

What I want to accomplish is to make sure if a user selects an unreleased version as fixVersion when first creating the ticket, this should not be possible, etc.

But when I publish my workflow, I get this error:

Error creating issue: INVALID JQL QUERY IN "VALIDATION ON JQL QUERY": %{00074} in releasedVersions()

But this is valid JQL...

Comments (2)

  1. Fidel Castro Armario repo owner

    Hi Louis,

    In this case you should use the following JQL query: fixVersion in releasedVersions()

    When you insert field codes in your JQL query, JIRA Workflow Toolbox replaces these field codes with its corresponding value for current issue at execution time.

    In your case, this is not the desired behavior, since what you intend to do is to find out which issues have all its fixed versions released.

    Regards,

    Fidel

  2. Log in to comment