Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How can I automatically create a story on epic transition?

andreas Community Leader Sep 08, 2016

So here is what we're trying to do: when an Epic issue type is transitioned to a certain status, we need it to create a Story issue type, and here's the kicker: we need it to have the same assignee as the one from the Epic issue that triggered this issue creation

1 answer

1 accepted

1 vote
Answer accepted
andreas Community Leader Sep 08, 2016

You can do this with Automation for JIRA.  It requires a bit of advanced config in the "create issue" action but it's pretty straightforward.

Here's an example rule configuration:

epic-story-creation.png

It's made up out of 4 components:

  • The issue transitioned trigger so we start rule execution when an epic is transitioned
  • One condition to check the issue is in fact an "Epic"
  • Another condition to check which status we were transitioned to - "In Progress" in this case
  • Finally we create a story with some advanced config.

 

The advanced config is:

{
    "fields": {
        "assignee": {
             "name": "{{issue.fields.assignee.key}}"
        },
        "Epic Link":"{{issue.key}}"
    }
}

 

This does 2 things:

  • It sets the assignee of the newly created issue to the same assignee of the epic that was transitioned ({{issue.fields.assignee.key}} will be the epic's assignee
  • It sets the epic custom field to the {{issue.key}} of the epic.  This means the new story will be linked to the Epic already once it's been created.  You may not need this.

@andreas  Hi-

How to do this in Jira cloud?

This add-on is not supported for Jira Cloud, so which one can support for this task?

Thanks.

Chandra

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

220 views 3 20
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