I am using the Jira Service Management integration for OpsGenie. In my Jira instance, I have the Jira priority values (Blocker-High-Medium-Low) mapped to OpsGenie priority values (P1-P2-P3-P4).
When using this rule, the priority mapping works fine: ELSE IF eventType equals issue_created THEN create alert
In Jira Service Management, I have Automation rules to set the priority based on Impact and SLA Tier. To give these Automation rules time to run, I use the issue_updated eventType in OpsGenie instead:
ELSE IF eventType equals issue_updated AND labels contains headless_incident THEN create alert
However, when using this rule, although the priority value in "Extra Properties" is Blocker, the priority is set to P3 and not P1.

I could hack around this by creating multiple rules to set the priority manually, but it would be nicer just to use the {{priority}} dynamic value in a single rule.
Any ideas?