Assign an issue to the project lead, if the issue is unassigned on creation

Use case

When an issue is created without an assignee selected, the issue will be assigned to the project lead of the project.


⚒️ Configuration

Target issue*

Select Current issue.

The current issue will be updated.

Fields

Select Assignee.


In the popup field:

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

%{issue.project.lead}

The project lead will be set as an assignee of the issue.

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:

%{issue.assignee} = null

The post function will only be executed if the assignee is empty.


📚 Related examples