Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,798
Community Members
 
Community Events
184
Community Groups

Adding / duplicating subtasks (Automation for Jira)

Hi there!

 

Is it possible to block duplication of subtasks within the parent issue when changing its status backward / forward? Please have a look at the below;

 

When: Issue Transitioned
From: Draft
To: In Review

Then: Create a new (sub-tasks)
In: My_Project

However, once I get back from step "In Review" to "Draft" and then again from "Draft" to "In Review" - subtasks duplicate and arise again.

 

I hope that the solution is pretty easy for advanced users and I can count on your help. :)

 

 

1 answer

1 accepted

1 vote
Answer accepted
Stuart Capel - London
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 10, 2021

Hi @Matthew Burrel 

If I've understood what you're looking for here then adding a condition like this should work for you:

Capture.JPG

Great - it works! Thanks for a swift reply :)

Cheers,
M

Like Stuart Capel - London likes this

@Stuart Capel - Londonwhat if.. we have a previous transition with a sub-task creation and the second one I mentioned above? In this scenario, one auto-created sub-task in the first transition blocks creating another sub-task in the second one. 

1st

01.png

 

2nd

02.png

 

All in all, once we have auto-created sub-task between "TO DO" - "Draft" transition - Another sub-task in further "Draft" - "In Review" transition is not created. Any idea? :)

 

Cheers,

J

Stuart Capel - London
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 12, 2021

Hi @Matthew Burrel 

I'm not completely clear on your question here. Do you mean why doesn't the automation create sub tasks when transitioning from 'Draft' to 'In Review' in 2nd?

Or are you asking if there's a way to stop duplicate sub tasks being created, only if the issue has already transitioned from Draft to interview once before?

Hi @Stuart Capel - London

Thank you very much for your commitment.

Both, because previously by those 2 rules (When: Issue Transitioned) I auto-created subtask(s) per each step (1st step - From "To Do" to "Draft", 2nd step - From "Draft" to "In Review"). It worked nicely at that time. However, the first issue was raised when I start changing the mentioned statuses backward / forward - then subtask(s) duplications popped up. Then I got your advice to add in the rule "When:Issue Transitioned" from "Draft" to "In Review" this part - > "If: Sub-tasks not present". I added this item in the second rule and now after creating subtask(s) in the 1st step (From "To Do" to "Draft") - the system stopped adding subtask(s) in the 2nd step.

I hope that is clear right now and not so complicated as it seems. ;)

Cheers,
M

@Stuart Capel - Londonany ideas? you are my last hope :)

J

Stuart Capel - London
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 15, 2021

🙂 I had a look last night but I need work out the jql. Bare with me, I might have what you need 👍

Like Matthew Burrel likes this

Hi @Stuart Capel - London any chance to get an update here? I believe that you came up with some fresh ideas :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events