Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Post Function to transition Issue linked using "Parent Link" based on the Transition of an issue typ

Hi, I have the following hierarchy defined,

Initiative -> Feature -> Epic -> All other Standard Issue Types -> All Sub-Task issue types

I am implementing post function to get higher hierarchy to transition based on the Lower hierarchy issues transition.

I managed to get it going smooth till Epic Level where the default linking is applied.

From Epic to Initiative we use "Parent Link" field from Portfolio Plugin to get the linking done.

Now, I need your help to get the Transition of Initiative based on the Transition of Feature and Transition of Feature based on the Transition of Epic.

Please provide help based on the available default option or based on the JSU, If possible help with Script runner script to implement this.

I know i am expecting too much from you guys but i am helpless without you people.

1 answer

0 votes

Hello @Devi karthikeyan ,

Natively there is not a way to do this, however there is an option using Automation for Jira , with a note for anyone on the Jira cloud platform that finds this thread this will currently only work on the Server platform as the needed JQL functions are not avaliable in Jira Cloud at this time, please vote for the following Request if you are on the Jira Cloud platform and you would like to be able to implement this process with Automation rules:

To set this up there are a few layers in the JQL filter, please refer to the following documentation as a referance point for the following filter:

In my Example I am using the following configuration, this my be different for you, noting i Set up  a dedicated project for the initiatives as covered in "Configuring initiatives and other hierarchy levels" for a multi project configuration:

  • Two Projects configured
    • One for Epic and standard issue types, Issue Key ASDF
    • One for dedicated initiative issue types, Issue Key INIT
  • Global Automation Rule
    • Set to the two affected projects
    • Will automatically Transition the initiative from To Do to Inprogress if a child Epic is set to in progress
    • The Branch Rule uses a Smart Value to look up the current issue and identify the Parent Initiative 

The filter can be set up to isolate the rule to Only issues in a single Plan OR to any issue in the project using one of the following Filters

Plan 1 Only:

"Parent Link" in issuesInPlan(1) AND issuetype = Epic

Any Plan affecting the issues incase the issues are split across multiple plans:

issuetype = Epic

Create a Global Automation Rule with:

  • Trigger
    • When: Issue Transitioned
      • From ToDo
      • To In Progress
  • Condition:
    • If: Issue Matches JQL
      • Either JQL noted Above 
  • Branch Rule
    • For JQL:
      • issue in
      • parentissuesof("{{issue.key}}")
    • THEN: Transition Issue To
      • Copy From Trigger Issue

Screen Shot 2020-08-28 at 2.42.15 PM.png

Using this automation, any time an Epic In project ASDF is transitioned to In Progress it will trigger the parent initiative to also be transitioned to the in Progress status.

Hope this helps.

Regards,
Earl

Is there a way to accomplish this without Script Runner? 

I am using Advanced Roadmaps (formerly Portfolio) and have set up an Initiative issue type with this structure Initiative -> Epic -> All other Standard Issue Types -> All Sub-Task issue types. Epics will be set with a 'Parent Link' to the initiative. I have been unable to figure out how to update the Inititiative using Jira Automation.

I just realized this is for server and not cloud. I got this working on cloud without an add-on. If you're interested in my solution, check out this post.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Marketplace Apps & Integrations

☕️ Monday coffee with Jexo: Weekly Atlassian news roundup | 21st June 2021

Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...

65 views 0 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you