Updating Child issues with Automation (Portfolio in use)

I am using Jira Server with both Automation and Portfolio installed.

Portfolio allows creation of a Parent type.  This creates a "Parent Link" that is settable in Epics.  The Epics show up as Child links in the Parent Issue Type.

I want to push values from the Parent Issue Type to Child Epic(s) and Storie(s) linked to the Epic(s).  I have tried using the "Branch Rule / Related Issues" action but this doesn't trigger on the Child Epics of the Parent.

What I have is:

Capability->Epic->Story

I want to push the labels from the Capability to the Epic(s) and Storie(s)

I also want to push Fix Version(s) down as well.

Any help appreciated,

Mike

1 answer

1 accepted

Accepted Answer
0 votes
Andreas Knecht Community Champion Jun 21, 2017

Hi Michael,

Sorry for the slow response. I think this is the same question you asked via https://codebarrel.io/support

I'll post the same answer here so that other users can find this too:

We are planning on adding first class support for portfolio. For now what might help in this case is to use the 'Branch / Related issues' action to get to the related issues in the Portfolio hierarchy. The related issues action can use JQL to search for related issues including smart fields  - so if there's a way to construct a JQL query that finds related portfolio hierarchy issues of another issue then this should let you action them with any of the actions available in Automation for JIRA.
The rule would look like this:

  • Trigger: issue transitioned
  • Related action with JQL: some query with to look for issues where the hierarchy field is equal to {{issue.key}}
  • Action: Edit Issue

Hope this helps!

Cheers,
 Andreas

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,817 views 5 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you