Jira Expression filtering
Post function in WMB has the option tobe filtered by a Jira Expression. For example, let’s say you want to add a comment in a given transition, but just for the issue type Bug.
In this case, you can add this filter to the Jira Expression field:
issue.issueType.name == "Bug"
Know more about Jira Expressions validations and conditions
JQL filtering
Post functions in WMB Cloud has the option to be filtered by a JQL query. For example, let’s say you want to add a comment in a given transition, but just for the issues of type Bug.
In this case, you should add this filter to the Additional JQL field:
issuetype = Bug
Please notice how it is not necessary to reference the current issue. WMB Cloud will do this for you.
The resulting configuration will look like this:
FAQ
Can I use both Jira Expressions and JQL to filter the same post function?
Yes, it is possible to use both Jira Expressions and JQL (Jira Query Language) to filter the same post function. When both are used, they are evaluated independently, and an issue must satisfy both criteria to trigger the post function. However, to optimize performance, we recommend using either Jira Expressions or JQL, but not both simultaneously.