Hi,
In my Issuetype = Epic, the Issue name and Summary is synced. But I want to be updated the field "Epic Name" in the Tasks, Story, and Subtask when these are linked with the Epic link.
Can we create some kind of rule that checks if a story/task/ is linked with an epic then the EPic name should be automatically updated with the Epic Summary or Epic name based on the epic link?
I have created the below rule but it only posts the comment with null, it should check the epic link and get the value of summary and epic name and post it and place it in the epic name filed. What I am missing here?
Thanks in advance
The Epic name field is only valid on Epics, you'll have to copy the value into a text custom field if you want it to appear on other issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Beyond the scope of your question about cascading the epic information (which Nic has answered), I note a few things in your automation rule to consider:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your detailed reply. let me try and get back to you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy I have tried all your mentioned things but the issue is, that varEpicName or varEpicSummary is not saving the actual name it just showing my initial value which is null.
Now just want the the epic name from the story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That error in the audit log shows that the branch's JQL is not getting a key value, which can occur if the source issue was a Story or Task: checking one of those for {{issue.parent.Epic Link}} has no meaning as Epics do not have Epic Links.
Please check again if your if/else logic is correctly handling the cases. You may need multiple rules to do this, as I suggested earlier.
Case 1: for an Epic, the Epic Name or Summary change
Case 2: for a Story or Task which are assigned to/removed from a parent Epic. There are actually two sub-cases: create and update.
Case 3: for a Subtask which is a child of a Story or Task...(please see Case 2 above).
This complexity is one reason not to implement rules like this, as they are duplicating the data stored in other issues, normally provided via the issue hierarchy. Another approach may be to investigate reporting or JQL addons which allow you to see what you want with out creating such rules and duplicating the data.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.