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

Show Parent Field only in Cascading List on 2 Dimensional Widget on Dashboard

Hello,

We are using a cascading list with multiple children and want to display all the issues tagged only in the parent value on a 2 Dimensional Widget on a Dashboard.

 

I have scoured for several days the forums to see if this has been answered, but it seems this has not been clearly responded to.

The cascading list would be as follows:

  • Parent Field:
    • Candy
  • Child Field: 
    • Gum
    • Sweet
    • Sour
    • Hard
    • Soft
    • Spicy
    • etc

 

On the 2 dimensional widget we currently see:

Candy, None1
Candy, Sweet3
Candy, Sour5
Candy, Hard1
Total10

 

What we would want to see would be:

Candy10

 

As there are multiple Parent values in our cascading list it is becoming extremely difficult to report the status of the Parent value accurately in emails (with a link to Jira that shows all parent and children in cascade).

I read that there might be a groovy script that can achieve this, but not sure if it exists for 2 Dimensional widgets on a Dashboard and for reporting.

 

If this has already been answered else where if someone can provide a clear link and how to do it, would be immensely appreciated.

1 answer

1 accepted

0 votes
Answer accepted

Ended up finding a solution by creating a hidden Custom Field that was being called in Dashboards and folding all issues into the field with a groovy script on create a new bug/task:

New custom field = "Reporting Parent"

(issue.getRawValue("Parent Field") == null) ? null : issue.getRawValue("Parent Field").get(null)

 

In the "Reporting Parent" field i manually copied all of the "Parent Fields" to mimic verbatim what is shown. So would look like this:

  • Parent Field:
    • Candy
  • Reporting Parent
    • Candy

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

955 views 8 25
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