How to define TM Workflow Action Filters in Jira

How to define TM Workflow Action Filters in Jira

This approach is available if you are using the SAP Transport Integration for Jira app (SmartChange SP7 HF01 or higher). Instead of entering the full filter expression in SAP, you define it in Jira and reference it from SAP with a short, fixed expression. SmartChange evaluates the Jira-side filter when the action is triggered. This gives you the full power of JQL without any character limitations, and keeps the SAP-side configuration clean and short.

Step by step

  1. In Jira, go to Space settings → Apps → REALTECH → Settings → Workflow

  2. Scroll down to the TM Workflow Action Filter section

  3. Add a filter for the relevant action (CREATE or REASSIGN) in the issue field

  4. Use the Validate query button to verify your JQL

  5. In SAP TM Workflow Step Configuration, enter the following short reference expression in the filter field:

For CREATE:

issue.property[tmFilter_CREATION].content ~ "true"

For REASSIGN:

issue.property[tmFilter_REASSIGN].content ~ {PROJECT_KEY}

For more details on the Jira-side configuration see SAP Transport Integration for Jira – REALTECH Settings / Workflow.

TM Workflow Action Filter configuration in Jira Space Settings

SAP TM Workflow Step Configuration – referencing the Jira-side filter