Configuration

Add the Validation based on JQL query to the "Create issue" transition of the desired workflow.

JQL

Add the following JQL query:

project = "%{issue.project}" AND issuetype = "%{issue.issueType}" AND Invoice = "%{issue.cf10400}"

Validation

Select Number of issues returned by the JQL query satisfies a logical expression.

Expression

Add the following expression:

{issue.temporaryNumber1} = 0


Screenshots


Related use cases


If you still have questions, feel free to refer to our support team.