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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why am I unable to execute a rule that creates tasks and subtasks when a new Sprint starts?

Hi Everyone,

I'm working on a Scrum Board with 2-week Sprints. Since in Scrum a Sprint Planning Meeting is necessary every Sprint, I thought it would be a good idea to automate the creation of a Sprint Planning session, described as a task in JIRA, when a new Sprint starts.

I created the following automation rule: http://puu.sh/GSk0Y/c13032bec9.png. 

Here's what I did for the Trigger: http://puu.sh/GSkfz/ec80a24503.png

Here's what I did for the first action: http://puu.sh/GSkdu/d78484e095.png

And here's what I did for the 3 subtasks actions: http://puu.sh/GSke9/0a9661f39b.png

When I clicked create Sprint, the tasks nor subtasks appear. When I checked the audit log I saw the following error messages: http://puu.sh/GSk38/b4f365b690.png.

I'm not entirely sure what I did wrong. I set the "Project"  to the "same project as trigger" and the "issue type" to  "task" and made sure the "parent issue" was the "trigger issue". I tried setting the "parent issue" to "current issue" but that didn't work either. 

My guess, though really I have no clue, is that I need to use a component to put the subtasks in a separate branch. After watching Attassian's YouTube tutorial, it's seemed fairly straightforward. Clearly, I'm missing a step or a piece of logic. If anyone could provide some insight into what went wrong, I would greatly appreciate it. I'd love to automate all the Scrum Events so that I wouldn't have to input that information every single time over the course of a project's life with multiple Sprints. Thank you in advance. 

1 answer

1 accepted

0 votes
Answer accepted

Hi @Michael Priest II,

That is an interesting case you have here. As I was triggered (pun intended) by it, I tried to set up something similar in a test instance, to find out afterwards that I was in a Next-gen project - but that shouldn't matter for the rule.

I came up with this, which led to a working result:

Screenshot 2020-11-29 at 10.13.56.png 

A couple of differences with your setup:

  • I explicitly set the project where I want to create the issues. My guess is that may be your problem, as the trigger that a sprint was created is not associated with a project, but a board. And although it may not effectively be the case in your setup, a board can be associated with multiple projects. So if you know where your issues should go, just make the project explicit.
  • I did indeed add a brach after the creation of the issue to make sure the subtask creation gets linked to the just created issue.
  • That you see 2 different ways to create subtasks is just because I decided to add more fields to the first one; it has a summary and a description

Hi @Walter Buggenhout _ACA IT_ ,

 

Thanks so much for taking a look at this issue. That's true, I wasn't thinking about the difference between the board and the projects within the board.  You're right. It's just as easy to specify where I want things to go if I have those things already created.

I'm just getting started with JIRA automation (literally I started earlier this week), so that thought process will be super helpful moving forward. Initially, I found the Branch Rules and Conditions a little intimidating, but I'll play around with some test cases to get familiar with them.  Thanks again!

Glad that I could help! If it worked, would you mind accepting the answer here as well ;-)? That makes it easier to find for other users with similar challenges.

All the best in making your tools work in the best possible way for your team!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
Read article

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