Hi everyone!
I'm looking to sum the number values from an Epic Field held in each linked Epic (Story Point Estimate) into my Idea's Custom Field (inventively called Linked Epic Story Point Total).
Does anyone know how to build an Automation Rule to achieve this?
I already have Automation Rules built into regular JIRA Cloud that achieve this e.g.
For Stories I join the Fields of Subtasks and the parent Story to sum the Story points:
{
"fields": {
"Story point estimate": {{#=}}{{subtasks.Story point estimate.join(" + ")}}{{/}}}
}
For Epics I use a different method i.e. first I lookup Issues e.g.
Lookup Issues: parent = "{{triggerIssue.parent.key}}"
Then for Parent I sum the total:
{
"fields": {
"Story point estimate": {{lookupIssues.Story point estimate.sum}}
}
}
But despite tinkering with similar methods to link an 'Ideas' to its linked Epic, I can't make it 'read into these linked Epics' and then sum the "Story Point Estimate" values into that Idea's "Linked Epic Story Point Total" Field.
Has anyone else tried and succeeded with similar?
The approach to sum a field from Epics linked to an Idea is similar to your one to sum the values from the children of Epics to their parent. The differences include:
Kind regards,
Bill
I agree with @Bill Sheboy and can add that the linking between an Idea in JPD and an issue in Jira software is the ïmplements' link type.
there are a number of them added/in use for JPD functionality, all easy to recognise (in the back-end/admin section) due to them all beginning with Polaris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Bill Sheboy ,
Sadly there is no admin / JIRA expert here - mainly me kicking the tires!
Currently the Automation Rule can look across both projects (i.e. the JPD project and JIRA project) and as per above I have solved rollup for subtasks rolling up to Issues and Issues rolling up to Epics within JIRA.
Do we know (seeing @Curt Holley s comments below) if I need to have some polaris link type expression to roll up between JPD Idea and linked Epics?
Doesn't seem to use Epic Link between an Issue and a Idea.
Is this kind of rolling up of integer automation between JPD Ideas and JIRA Epics something you have been successful with?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Incidentally @Bill Sheboy there appears to be a distinct link between JPD ideas and 'Delivery progress' links (implements / implemented by as per @Curt Holley ) vs. 'linked issues' (typical link types e.g. relates to).
It's the Delivery progress links I'm trying to join / roll up to which makes me believe that a regular parent/child relationship or 'linked issue' relationship doesn't exist between a RDP Idea and a JIRA issue.
Currently pretty clueless how to get eyes on what the correct advanced field expression should be!
Thank you again for your consideration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Curt showed, please try the "implements" link type. For example, the JQL could be this, substituting in your project:
project = yourNonJPDProject AND issueType = Epic AND issueLinkType = "implements"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Bill Sheboy from that I can lookup Issues but the challenge now appears to be shifted to the Custom Field not being recognised / discarded.
Not certain will ever solve this. Thank you again for your guidance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With correct lookup
Fieldtype is integer and it's rolling up from Story Points Estimate Field (also an integer)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you trying to update a custom field named "Story Point Estimate RMP" or the built-in field for team-managed projects, "Story point estimate"?
Please post an image of your current, complete rule for context to go along with that audit log image? Also please include an image of the Edit Issue action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moving post, as I added it in the wrong thread :^)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
:)
Thank you again Bill
I am adding the 'Story Point Estimate RMP' field to the 'Idea' in Jira Discovery (RGMP) and am trying to roll-up scores from linked Issues and/or Epics that are linked via 'Is implemented by' from a Team-Managed Project (RG).
Generally I would prefer to link Epics to an idea.
The goal is to estimate the Epic in the RG Team-Managed Project by populating the standard 'Story point estimate' Field and have these estimates for all Epics roll up to the Idea ('implements').
Please forgive any light obfuscation!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's an example of an Automation that already works within the RG Project (only) that rolls up 'Story point estimate' values from the Issues, Bugs and Tasks to Parent Epics.
Have tried similar with RGMP Ideas but the parent child relationship doesn't seem to fit the Ideas <> linked Epics relationship
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information, Shaun!
Your rule needs a few adjustments; the tricky parts of a rule like this are it is multiple-project and the links are directional. Here is an outline I believe will work:
If you compare this to your rule, the missing parts were to first find the Idea and then later to branch to it for updates. Please give a try and let me know what you find.
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.