Subtask Automation

Julien Vasnier February 26, 2024

I am currently trying to automate the creation of certain subtasks in a task-creation rule based on Sprint Creation.

The rule is as follows :

  1. When a Sprint is Created
  2. Create a Story Ticket (create in next sprint/associate with Epic X)
  3. Create Subtask (Current Ticket, same project as the Story)

 

Yet when I create my new sprint, only the Story ticket is created, and the subtask is created unbound from everything else, not housed within any ticket.

 

How do I correct this so that I automate the creation of sub-tasks so that they automatically fit within their parent ticket with each new sprint created ?

 

2 answers

1 accepted

1 vote
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.
February 26, 2024

Hi @Julien Vasnier -- Welcome to the Atlassian Community!

Based on what you described, your rule is missing a branch. 

The Create Sub-tasks action needs an issue to act upon, and so try making this adjustment:

  • trigger: sprint created
  • action: create issue for the story
  • branch: to most recently created issue
    • action: create sub-tasks

Kind regards,
Bill

Julien Vasnier February 27, 2024

This worked perfectly, thanks Bill ! Not the first time I see you lending assistance to strangers in need on here !

Like Bill Sheboy likes this
0 votes
Marco Brundel
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.
February 26, 2024

Hi @Julien Vasnier ,

Which action in the automation rule do you use to create the subtask?
Do you use "Create sub-tasks"?

Because you indicate 'the subtask is created unbound from everything else', but in Jira a subtask can only be created under another issue?

And do you have some screenshots of the rule and the created subtask to clarify your question?

greetings, Marco

Screenshot 2024-02-26 at 16.31.04.png

Julien Vasnier February 27, 2024

Hello Marco,

Thank you for your response, here is a copy of my rule, in French (the language my organisation uses)


Capture d’écran 2024-02-27 à 09.08.37.png

Several other stories and their sub-tasks are also meant to be created by the rule, but only the stories end up in my Sprint backlog, and I cannot find the sub-tasks anywhere

Suggest an answer

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

Atlassian Community Events