Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Display Full Parent Tree in Story Issue

Is there a way to display the entire parent tree in a Story Issue?  A customer would like to display the following in their stories:

Epic:

Capability:

Initiative:

I know that Epic Link contains the link to the Epic, but can I traverse the Link to the Epic and get the Capability parent link and then traverse that link and get the Initiative parent link and then display all of them in the Story?

1 answer

1 accepted

2 votes
Answer accepted

Hi @Robert W_ Olsen 

No without an app. You can try Structure app which has exactly this feature where you can display the position of the current issue in the entire hierarchy and of course much more.

Ravi

Thanks Ravi.  We have the Structure app and that will work for displaying these links within the structure, but the customer was looking for us to display them as Custom Fields on the Story/Bug issue screen.  So I was hoping to create something like:

Initiative Parent Link:

Capability Parent Link:

Epic Parent Link:

And these would display under the "Fix Version/s" field.

Is there any way to do this?  I know from each Issue Type, I can create a Custom Field and display the Parent Link there, but trying to figure out how to bring all of that info down and display all of the links on the associated Story/Bug screen.

Does that make sense?

You should be able to do that using ScriptRunner. You can create a web panel or a scripted field to display such information.

Like Robert W_ Olsen likes this

That's what I have been trying to do.  I am pretty new to ScriptRunner and learn by example.  Do you have an example of how I go about pulling down the Initiative link from the Capability with ScriptRunner?  I have searched on line but apparently I am not searching with the right question because my searches are turning up with nothing helpful.

You will find lot of examples here.

Like Robert W_ Olsen likes this

Ravi, again thanks for your help but my searches and test scripts have been fruitless.  I cannot figure out how to capture the links of both Capability and Initiative from a "Story" level.  I can capture the Epic Link with no problem, but unable to traverse up the chain to the Epic and get the parent Capability link and then from there traverse up the Capability link and get the Initiative parent link and then display all three links in the Story screen.

I am about to get with the customer and tell them that it cannot be done and just to use a Structure to display all of the link info.

Any last minute ideas or sample code to capture "parent of a parent" links?

Suggest an answer

Log in or Sign up to answer
TAGS

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