Cannot create issues with assignee "unassigned" via automation

Bent Möller
Contributor
November 4, 2024

I have a rule that works like this:

When Issue is transitioned from Open to Resolved

If Summary contains "XYZ"

Create a Sub-Task under the same parent and set the Assignee to unassigned.

However, the Assignee is always set to the Actor. When I choose "user who triggered the event" as Actor, I will be the Assignee of the new Subtask. When I change the Actor to Automation for Jira, Automation for Jira will be the Assignee of the new Subtask.

No matter what I put into the Assignee field (regardless of whether it is unassigned or a specific person), the assignee of the new Subtask will always be the Actor and the Assignee field in the "Create a new Sub-Task" Action is ignored.

3 answers

0 votes
Esteban Diaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 4, 2024

Hi Bent Möller, 

Have you checked your subtask workflow?

post-function on the create transition may be overriding the assignee set by your automation.

 

st01.PNG

 

st02.PNG

 

Cheers, 

Esteban

My LinkedIn 

The Atlassian Guy channel 

Bent Möller
Contributor
November 5, 2024

You are actually correct. The create transition does have the "Assign the issue to the current user." Post function. I didnt think of that since this is not my project and Im just helping out with automation.

Now, however, I have the feeling that this could have never worked the way the colleagues told me :D Anyway, thanks a lot for the help.

0 votes
Ponnappan Ganapathiya
Contributor
November 4, 2024

I suspect the post function of workflow. Did you check that?? Also any other automation is running to set the reporter as assignee??

Also, we can start analyze the details found in the history

0 votes
Terry Dance
Contributor
November 4, 2024

I have an automation that creates a bunch of unassigned sub-tasks. I don't include the Assignee field in the "Create a new" component at all.

 

You could also have a separate automation that is running when a sub-task is created that is setting the Assignee after your first automation has ran.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events