Hi there - Seeking suggestions for creating a series of Epics and Stories after an Initiative is created manually.
When an Initiative is created, the following to be created via jira automation
As a starting point, have setup an automation to create an Epic and Story. There were errors and didn't manage to go further from here.
Below are my observations
1. Epic and Story were created
2. Parent of Story was not linked.
3. Based on the audit log it appears conditions were not met.
Rules to create Epic and Story
@GeeLong -
In your env, Initiative is a parent of Epic right? What is your issue hierarchy configuration?
Typically, your rule should set story's epic link to the Epic issue key. For your Epic issue, your rule should set Parent Link using the advanced section with codes similar below
{
"fields": {
"Parent link": "ISSUE_KEY_HERE"
}
}
Hope this helps and please advise us your response on my questions above.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
Hi @Joseph Chung Yin
Thanks for sharing.
Yes. You are spot on the hierarchy I am using. (Initiative - Epic - Story)
Have attempted to use "Parent link" however, an error has appeared.
However, when using this field in the automation, it worked
Based on your suggestion, how can I apply to a Story?
Even when I replicate the smart value suggested, the Story created in the automation was not linked to the Epic.
Any possible workarounds?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@GeeLong -
In your automation rule, after the EPIC is created, can you provide the action configuration on how you create the Story?
BTW you cannot use "Parent Link" to establish Story to Epic roll-up. You can try "Epic Link" in the code.
Lastly, you may need to add the action of "Refresh issue data" either after the Epic is created and before your creation of Story action. Or try to add the same action for the Story and then update the Story issue to roll up to the Epic.
Please advise.
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Joseph Chung Yin - on Jira it is indicated Epic Link will be deprecated and replaced by Parent based on the cloud version I am using. So using it might not work in the long run.
As suggested I have added "Re-fetch Issue data" and "Epic Link" in the advanced section, of which came up with an error.
Rule used for Story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @GeeLong Can you check this out
Trigger:
Conditions:
Actions:
Create issue: Epic 1
Create issue: Story 1 (under Epic 1)
Repeat the above steps for creating the remaining Epics and Stories.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks for responding @Megha Rajanna .
With "Store the Epic key in a variable: epic1Key" I do not have that field in Jira, is that a custom one to be created?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨
Join the EAP →Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.