Forums

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

Automation for Pulling Story into In Progress When First Sub-task is Pulled into In Progress

JD Lobue
Contributor
July 15, 2020

Hello,

Can anyone suggest automation for pulling in and assigning a story to the first person who pulled in a sub-task for that story? I'm using project automation and not scriptrunner or any other plugin.

Thanks

2 answers

1 accepted

0 votes
Answer accepted
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.
July 15, 2020

Hi @JD Lobue 

Assuming no sub-tasks have been picked up yet, you could try the following:

  • Trigger: assignee field value changed (maybe want to limit to edit, assign, and transition)
  • Condition: issue type is sub-task
  • Condition: status is In Progress
  • Branch: on parent issue
    • Condition to confirm parent is not yet assigned 
    • Action: assign to triggering issue's assignee
    • Condition: parent is not started yet
    • Action: transition to triggering issue's status

You could change the trigger to transition to In Progress, and check the assignee in the condition instead.  Or, have two rules with the different triggers; that would eliminate the need to remember which to do first: assign or transition.

 

Best regards,

Bill

JD Lobue
Contributor
July 15, 2020

Great. How about moving the parent story to in Progress?

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.
July 16, 2020

Oops, missed that part.  I added another action to my earlier note for transitioning the parent to match the triggering issue.

 

If this solution works for you, please mark the question as answered so others can find it more quickly.  Thank you!

JD Lobue
Contributor
July 17, 2020

I was able to figure it out from your first action. Thank you so much....marked answered. 

Like Bill Sheboy likes this
0 votes
l.kubon November 3, 2020

Hi @JD Lobue did you find a wy how moving the parent story to in Progress?

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.
November 4, 2020

Hi @l.kubon 

What have you tried thus far?  In the example above, there is an action at the end of the branch which moves the parent to in-progress.

Best regards,

Bill

JD Lobue
Contributor
November 4, 2020

I was able to do it. See above for answer marked

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