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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 7 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

32 views 0 3
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