Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Create automatic follow up story

Hello community,

I wanted to know if it is possible when creating a story that automatically creates a follow-up story. 

Example: 

I have created a/b test in a story, I automatically want to add a follow-up to analyze the results (in the next sprint).

Hope some of you have more experience in this.

With kind regards,

Stefan 

2 answers

1 accepted

3 votes
Answer accepted

Hi @stefan bruijns , welcome to the Community! This is certainly possible.

You can create an automtion rule as follows:

Trigger: Issue Created

Condition: Issue fields condition, then select Issue Type and Story in the dropdowns.

I would also add another condition so that your follow-up task is only created when you are creating an A/B Test issue. This could be a component called A/B Test or some kind of unique identifier which you would set when creating the A/B Test issue, and you would set this when you are wanting to create a follow-up task for the Story. If you don't have this, then the automation rule will create a story, which will trigger the rule, which will create a story... etc etc.

Action: Create Issue - you can set the Summary of this follow-up story to always be the same, or you can use smart values to pull through values from the triggering Story (e.g. issue key, Summary of the A/B Test story, or any other field values attributed to the triggering story). You can add any other fields you want to copy across from the triggering story to the new story using the dropdown, then by clicking on the 3 dots next to the field you can pull through the values.

You might also want to link the newly created story to the triggering story, which you can do using a branch.

See the screenshots below as an example of how you could set this rule up.

Hope this helps!

rule.pngcreate issue.pnglink issue.png

Hi Callum,

Thanks for your explanation!

Is it also possible to add a checkbox or anything that automatically does this? So If I start with creating a story, I can mark/check the box, and it will automatically add a follow-up story with [{story_name} + analyze].

So that I don't have to make a lot of triggers based on when the text contains the A/B test in this case.

@stefan bruijns Yeah this would also work fine! You would still use the above automation rule, but change the trigger to Field value changed and select your field - for this field, I would recommend a Checkbox field with a single value (I have done this previously using the text symbol of as the single value, which works as a nice simple tickbox).

And for the creation of the follow-up story, you would want to use something similar to the following in the Summary of the newly created ticket:

{{issue.summary}}: Analyze

So if your triggering issue is called "This is the story", once you tick the tickbox on the issue, it would create another issue called "This is the story: Analyze"

Hi @stefan bruijns ,

Yes, you can do this through automation. While not exactly the same, this sample rule from the library should give you an idea of how this can be achieved.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,741 views 21 12
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