On this page
Use case
Clear the field Assignee when a sub-task has been assigned to the same user for the second time.
You can alternatively set an assignee automatically based on the members of a group.
Configuration
Create a new rule and name it appropriately.
Providing a description will help you to identify what the rule does but this step is optional.
Field changed event
Add a Trigger → Field changed event
Fields
Choose Assignee
Changed to
Choose Any value
Boolean condition
Add a Condition → Boolean condition
Expression
Use the following expression:
%{trigger.issue.issueType} = "Sub-task" and %{trigger.issue.assignee} in fieldValue(%{trigger.issue.assignee}, siblingSubtasks())
Update field action
Add an Action → Update field action
Field
Choose your custom Assignee
Update to
Choose No value - clear field
Import the example
Import the JSON file below to get started in no time.
Related use cases
If you still have questions, feel free to refer to our support team.