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,293,754
Community Members
 
Community Events
165
Community Groups

HELP !! - Sub Task creation for another task

Hi all 

this is probably really simple but its driving me mad!

I have a Sub Task that i need to use as a trigger to create another sub task that sits under a different task but i cant get the automation logic right to "find" the other task.

example - 

  • Task 1 - Development
  • Sub Task 1 - Dev Check - transitions from In Progress to Done
  • Task 2 - Testing 
  • Sub Task 2 - start plan - this is created at the point of transition of sub task 1

 

any help would be really appreciated

 

1 answer

0 votes

Welcome to the Atlassian Community!

What logic do you have for finding the issue you want sub-task 2 under?  Or, to phrase it differently, how are you identifying what Task 2 is?

Hi Nic, 

Thanks for the welcome,

That's where i am having the trouble, i cant work out the logic to "find" Task 2, which seems so simple.

I am using the Summary with a condition where it contains "- Testing" as the identifier for Task 2 but like i say, i cant work out how to build the rule that states when an issue moves from in progress to done, if "- Testing" and then create the subtask

have only been working with the automation for a week or so any tips would be really handy?

Ok, in the automations, you've got four types of block you can use - triggers, branches, actions and conditions.  I think you should be making use of a condition that looks at the summary field, either with JQL to see if it matches, or directly with a "contains" type statement.

Thanks @Nic Brough _Adaptavist_ 

I have used the trigger - Transition from "In Progress" -> "Done"

and the summary contains "In Design"

Branch to Epic Parent

if the summary contains "- Testing"

Create sub task

 

but it still fails at the branch for Epic Parent

I'm not sure what you are trying to do with "branch to epic parent"?

Hi Nic

So my understanding to the Epic Parent is that it will find the Epic Parent of the current issue.

My thinking was that as the Subtask "- Design Solution" has been transitioned to Done the rule would look for the Epic and then look for a Summary called "-Testing" and create a sub task.

image.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

219 views 0 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you