Create a sprint with tasks, subtasks and issue links automated

Kai Bernard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2019

Hello!

After a long time googling and reading the documentation of some Jira plugins, I'm not able to figure this one out...

I'm running a Jira-Server instance and currently using "Quick Subtasks for JIRA" to create some simple task and subtask templates.

However, the automation demand to one of my projects have grown a bit:

I need to create two sprints containing tasks and substasks and link some of them on the fly. Is there some kind of plugin which allows me to reference to tasks and subtasks whilst they are created?

If that was confusing, a quick example:

  • -> Create sprint
  • --> Create task 1
  • ---> Create subtask 1
  • ---> Create subtask 2 
  • ---> Create subtask 3 & blocks task 2
  • --> Create task 2 & blocks subtask 1
  • ---> Create subtask 4 
  • ---> Create subtask 5 & links to task 1
  • ---> Create subtask 6 & blocks substask 2

 

Thank you for your help in advance!

Kai

 

2 answers

1 accepted

1 vote
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 10, 2019

Hello Kai,

Usually, JIRA Automation apps are used to automate action related to Issues, which must have a trigger action to fire the automation.

That being said, I believe there are no apps you could use to create a Sprint automatically, however, Automation for JIRA can be used to perform all the issue creation and linking you are planning to do. Allow me to elaborate it with the specific steps:

1 - Using the creation of the Sprint as a trigger, you can configure an automation rule to properly create the parent issue with the label "Main_issue":

Screen Shot 2019-07-10 at 17.28.09.png

2 - Configure another automation rule using the creation of the "Main Issue" as the trigger to create its sub-tasks and links:

Screen Shot 2019-07-10 at 17.29.38.png

3 - For links between the sub-tasks created, use the label field and create a new automation rule to be triggered once the sub-tasks are created, Just like performed for the "main issue".

5 - Manually create a new Sprint in your board to trigger all the Automation rules above

Let me know if this information helps.

0 votes
Kai Bernard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 11, 2019

Hi Petterson,

thanks for your help!

Your approach looks very promising and I think I can solve it like this. I already installed the plugin and I'm setting up the automation.

I'm trying to trigger the automation if the sprint name contains a specific regex value (so that not every created sprint will be populated with the automated issues). But somehow Jira counteracts this trigger by auto-naming the sprints based on the most recent sprint and I have no chance to add my trigger-word (https://confluence.atlassian.com/jirakb/how-jira-suggests-sprint-names-957140727.html).

I know that you are not the creator of the Automation plugin, but maybe you have an idea.

Thank you again for your help, much appreciated!

Kai

Suggest an answer

Log in or Sign up to answer