Linked Issues Transition + Automatic Assignee

Hizkeel Khan
Contributor
July 11, 2023

Hello Everyone, 

I hope everyone is doing great. I have a two part question:

1.  I have created a custom issue type for story. Idea is if there are any issue in the story, we will lock these in new issue type. 

What I want is: When Story is moved from To-Do to In-Progress then the linked issues should move automatically. If story have 4 linked issues then all these linked issues should move automatically if the story is moved. 

2. Part 2 is dependent on part 1. if these linked issues are moved then they should be assigned automatically to that user wo whom that story is assigned. 

 

1 answer

1 accepted

1 vote
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2023

Hi @Hizkeel Khan,

The following automation rule should do the trick:

Screenshot 2023-07-11 at 14.05.24.pngHope this helps! 

Hizkeel Khan
Contributor
July 11, 2023

@Walter Buggenhout  - Thank you for such a quick response...Part 1 is working fine but part 2 is not assigning the assignee automatically. In the assignee field it shows "AJ" Automation for Jira...I have done everything you mentioned. linked issue.png
Let me know where I have done wrong. Board View.png

Like Walter Buggenhout likes this
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2023

You almost did everything I mentioned 😉 - you need to specify you want to copy the assignee field in the last step:

Screenshot 2023-07-11 at 15.05.07.png

Hopefully that resolves the issue!

Like Hizkeel Khan likes this
Hizkeel Khan
Contributor
July 11, 2023

@Walter Buggenhout  - This is exactly what I have done but I'm getting errors. SS attached. 

I have added condition in the workflow to automatically assign the ticket to the current user (who is making the transition). Maybe that's the reason why rule is failing. idk 

Please provide me with a viable solution. Thanks. 

Linked Issue Error.png

Hizkeel Khan
Contributor
July 11, 2023

@Walter Buggenhout - Let me state it again in detail...When story is created it is To-Do state unassigned. 

I Want three things:

1. When ticket is moved from To-Do to In Progress then the ticket should be assigned automatically who the current user (who is making the transition)

2. Once ticket is moved, the linked issues should move automatically. (Achieved)

3. The linked issue should be assigned to that user to whom that main story is assigned. 

IF that can be done in a single automation rule then that would be great. Thanks. 

Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2023

ok, thanks for sharing the extract from the audit log. To make this work, you need to associate a screen to the transition in your linked issues' workflow with the assignee field on it (as the error message explains)

Another option would be to add an addiitonal action to the rule: edit issue, select assignee and apply the same logic separately.

Like Hizkeel Khan likes this
Hizkeel Khan
Contributor
July 11, 2023

I don't understand..Can you please explain in detail of what exactly needs to be done where I can achieve all 3 conditions in a single automation rule. I won't bother you further. I promise but you need to make it clear for me. TIA.

@Walter Buggenhout 

Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2023

Let's go with the simplest solution here, @Hizkeel Khan. Remove the update assignee step from your current automation rule (in the list of fields to update during the transition, just unselect the assignee field).

Then add an extra action to your automation rule as you can see here. Tested it myself in my test instance successfully:

Screenshot 2023-07-11 at 16.22.33.png 

Like Hizkeel Khan likes this
Hizkeel Khan
Contributor
July 11, 2023

@Walter Buggenhout - Thank you for the reply. I'll try that and let you know if that works for me. 

Hizkeel Khan
Contributor
July 11, 2023

@Walter Buggenhout - Thank you so much! It works perfectly fine now. 

Suggest an answer

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

Atlassian Community Events