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

0 votes
Accepted answer
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
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,701 views 3 11
Read article

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