Set the priority to Highest if the 'Infrastructure' component is selected

Use case

When an issue is created with the "Infrastructure" component selected, the priority will be set to "Highest".


⚒️ Configuration

Target issue*

Select Current issue .

The current issue will be updated.

Fields

Select Priority.

In the popup field:
Set the Value* to Set field value manually (parser expression) and Insert the following expression:

1

The priority will be set to priority with the ID "1", which in this case is "Highest".

Run as*

Choose which user*  will be able to execute the post function. By default, it is set to the Current user.

Conditional execution

Insert the following expression:

"Infrastructure" IN %{issue.components}

The post function will only be executed if the "Infrastructure" component has been set.


📚 Related examples