Forums

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

Jira Automation - Issue creating subtasks

Michelle Nunes April 2, 2024

I have set up a rule to create daily issues (Story) and then added a component to the rule to create sub tasks to issue, once it is created

flow.png

 

But when this executes, i get the following error.

 

flow1.png

 

with no details about the error. 

Also, the main story gets created, but the sub-tasks are not created

 

Please could you help

2 answers

2 accepted

1 vote
Answer accepted
Ste Wright
Community Champion
April 2, 2024

Hi @Michelle Nunes 

You need to use a Branch to create Sub-tasks, and link them back to the Story created earlier in the rule.

For example...

  • Trigger: Scheduled
  • Action: Create issue
    • Project = DBA Task Tracking
    • Issue type = Story
  • Branch: Related issues
    • Type = Most recently created issue
      • Branch-Action: Create issue
        • Project = DBA Task Tracking
        • Issue type = Sub-task
        • Parent issue = Current issue
      • Branch-Action: Create issue
        • Project = DBA Task Tracking
        • Issue type = Sub-task
        • Parent issue = Current issue
      • ...etc

---

Let us know how it goes :)

Ste

Michelle Nunes April 7, 2024

Thanks Stephen, this worked!

 

Like • Ste Wright likes this
0 votes
Answer accepted
Asha Goyal
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 2, 2024 edited

Hello @Michelle Nunes 

Welcome to the Atlasssian Community !

For creating a subtask under  a task you need to make a use of condition and branch in the automtion. See the usage of conditional branching and then create subtask under it. Here is the screen shot attached for your further reference.

 

image.png

KIndly Accept and Vote if it helps.

Thanks

 

Michelle Nunes April 7, 2024

Thanks AG, this is similar to the first reply and it worked!

Like • Asha Goyal likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events