How to use automation to create sub-tasks for a new issue and assign those subtaks to an assignee?

cpasfield
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2021

Updated Per Bill.

 

Hi forum!

I apologize if something like this has been asked before but I haven't had any lunch searching for it.

I am trying to create the following automation.  When a ticket comes in to create a new onboarding request for a new employee.  I would like to automatically create several tasks and subtasks and assign them HR personnel.  However, when I add the Assignee field to the subtask in the And: Create New Sub-task step in my automation I get the following error in the Audit log:

Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
Assignee (assignee)
The Assignee field is in the field configuration for the Sub-task issue. 
Thanks for any help.
-Curt
Rule:
image.png
Detail of Create Rule (Note Assignment):image.png
Error Received in Audit Log: image.png
Result:
image.png

1 answer

0 votes
Bill Sheboy
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.
August 20, 2021

Hi @cpasfield 

Would you post an image of your rule?  That may provide some context for the community to offer ideas.  Thanks!

And a few follow-up questions:

  1. After seeing that error, did the rule still assign the user to the sub-tasks successfully?
  2. Is this a project-scope or global/multi-project scope rule?
  3. Is the target project for this rule company-managed or team-managed?

Best regards,
Bill

cpasfield
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2021

Hi Bill,

 

Thanks for your reply.  I uploaded the results of one of my test runs that did not work.  My colleague had the same results as I.  I just tried it again and it appears to have worked.  I didn't do anything other then review the field configurations again...making no changes mind you.  In fact all of our test rules that we created to try and troubleshoot what we were seeing, none of which worked before, are all now working.  

I appreciate your reply and attention!

 

-Curt

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 22, 2021

Hi @cpasfield

I have a look at the logs for one of the executions of your rule above. When we ask Jira which fields we're allowed to edit/set, the assignee field isn't one of those. This is usually related to some sort of screen configuration. You might have a different screen for sub tasks that doesn't have the assignee on it.

I also noticed that you've changed the actor away from Automation for Jira. Is there a reason for this? I ask because the Automation for Jira user is allowed to do a few things that normal users aren't. One of which is to bypass those field configurations. This means that it can sometimes set a field even if it isn't on the particular screen.

Cheers,

Simeon.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events