Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automated Sub-task not being assigned

David Loszewski
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.
April 13, 2020

Hello,

I'm trying to use Automation for Jira to create sub-tasks and then to assign some of those sub-tasks to the assignee of the parent ticket but it doesn't seem to be working.   I have the following: 

Screenshot_20200413_144611.pngI have tried "Copy Assignee from" Parent Issue, Current Issue, etc but nothing seems to work.   After creation of the sub-task, the Assignee is listed as Unassigned.   Any help would be appreciated.  

3 answers

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
April 13, 2020

Hi David - Are all of the other fields getting copied down from the parent? 

Is the sub-task getting created at the same time as the parent? 

David Loszewski
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.
April 13, 2020

yes, the other fields seem to get copied down properly from the parent.   I'm creating the parent and the sub-tasks all in the same rule.  

David Loszewski
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.
May 7, 2020

Answer is below. 

0 votes
David Loszewski
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.
April 13, 2020

Here's a few more screenshots, the Audit log shows the sub-tasks being created and the rule that is selected is the particular rule in question that I'm working with now.  

Screenshot from 2020-04-13 23-00-41.png

Screenshot from 2020-04-13 22-55-44.png

John Funk
Community Champion
April 14, 2020

It appears to me that the Assignee is not getting set in the initial issue that is created - in this case ISD-333. So there is no Assignee to be available to get copied down to the Sub-tasks. 

Is there more information available for the warning/error on the Assigned issue to user comment?

David Loszewski
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.
April 14, 2020

I'm not seeing any warnings or errors.  I do have the "Assign the issue to " rule and it looks like it's being assigned in ISD-333

Screenshot_20200414_095049.pngScreenshot_20200414_095544.png

John Funk
Community Champion
April 14, 2020

Was curious about this part:

assignee.png

It doesn't show the value for the Assigned user with a check mark.  So I am curious if the system doesn't have it available at the time it is trying to copy it down. It's suspect that it does not show success like the others. 

David Loszewski
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.
April 14, 2020

interesting.  It doesn't allow me to click on it or anything for additional info.  

John Funk
Community Champion
April 14, 2020

That appears to be the problem to me. 

The other option is to not try to copy down the value when you create the card, but actually do an Edit Issue function right after creating the Sub-task and update (Edit) the assignee field at that point. 

David Loszewski
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.
April 30, 2020

Any other ideas on this?   I'm unsure how I would edit the assignee field of the sub-task created immediately after it has been created.  

Also, if I try to link that sub-task as a child to the trigger ticket, I get the following: 

Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -Linked Issues (issuelinks)

However, if I go into that sub-task after the fact and link that parent manually it works fine.  

This feels like a bug to me.  

John Funk
Community Champion
May 1, 2020

Right after the create of the sub-task, put in a component for Branch rule / related issues.

Then choose Sub-tasks or Most recently created issue

Then add a component for Edit issue to update the Assignee field. Copy it from the parent. 

David Loszewski
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.
May 7, 2020

@John Funk Thank you, your last reply solved my issue for me. 

John Funk
Community Champion
May 7, 2020

Great! Glad I could help.

0 votes
Ajay _view26_
Community Champion
April 13, 2020

Hi @David Loszewski  ,

Can you make sure the "Assignee" field is present in the Create Screen of the Sub-Task ?

David Loszewski
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.
April 13, 2020

Hi, I can verify that the "Assignee" field is present in the create screen of the sub-task. 

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