Advanced Condition based on JQL
Issue #560
resolved
Hi Fidel,
I have the following JQL that makes use of scriptrunners advanced JQL functions:
issueFunction in linkedIssuesOf("issuekey=ZIT-161") AND issuetype in (10701) AND (cf[11002] = "abgelehnt" OR cf[11002] = null)
I use that within your Condition based on JQL like this:
... issueFunction in linkedIssuesOf("issuekey=%{00015}") AND issuetype in (10701) AND (%{11002} = abgelehnt OR %{11002} = null) ...
Addinioally I set up a blooean expression like this:
... {00058} = 0 ...
The JQL returns exactly what I expect when used within the JIRA serach. But used with the condition I get no "true". The condition always blocks my transition. Do you have any idea for that?
Comments (3)
-
reporter -
reporter - changed status to resolved
-
repo owner Try this JQL query:
issueFunction in linkedIssuesOf("issuekey=%{00015}") AND issuetype in (10701) AND (cf[11002] = "abgelehnt" OR cf[11002] is empty)
- Log in to comment
Sorry! I realised that using your Condition on linked issue. :-)