I'd like to create a story automatically when an epic is created with a link back to this epic using Automation for JIRA.
So for now you still need to use the 'Advanced block' in create issue to achieve this. Here's an example rule:
Project automation - Code Barrel JIRA 2017-03-21 09-57-01.png
So:
This is what you need in 'Advanced':
{ "fields": { "Epic Link": "{{issue.key}}" } }
Thank you so much, your answer helped me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I'm currently evaluating this addon and am unable to set the epic link using this suggestion. I get the following error:
Unknown fields set during create. Fields ignored -
Epic Link (customfield_10009)
Error creating issue
Operation value must be a number (customfield_12600)
Can you help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So I removed the offending error that caused the automation to not create an issue, but I'm still getting an issue with epic link:
CREATE ISSUE
Unknown fields set during create. Fields ignored -
Epic Link (customfield_10009)
Issues created successfully
CP-52
I guess it might be helpful to note this is what my advanced block looks like:
{ "fields": { "Epic Link": "{{issue.key}}", "timetracking": { "originalEstimate": "{{issue.fields.customfield_12600}}", "remainingEstimate": "{{issue.fields.customfield_12600}}" } } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nevermind solved it. Epic Link field needs to be on the create screen for this to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Works - Thank you !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if a triggering issue is creating an Epic and a Story? How do we get the Epic link correct on the Story? Else the trigger simply creates both unlinked.
I'd like to use if assignee in (group a, b c)
then
Create Epic in assignee's project
Create Story in assignee's project
But in creating the Story I need to know how to link to the Epic just created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank You! This was very helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.