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

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

Unable to use Parent in Two Dimensional Gadget (new Gen JIRA project)

Unable to select Parent in X / Y axis in New Gen JIRA Projects in Cloud version in Two Dimensional Gadget, something similar to EPIC Link in Classic Projects used in Two Dimensional Gadget data

4 answers

1 accepted

0 votes
Answer accepted

Hi @Sapna Mogili 

Best option I've found it to use a workaround - in this case, a custom field and an automation rule

----------------------

What I did was:

  • Add a custom label field to the Epic - "Epic Reference"
  • Populate the "Epic Reference" for each Epic with a short name (manually)
  • Add the same field to each child issue type
  • Populate "Epic Reference" on child issues using an automation rule

The custom label field can be used on the dashboard gadget. You could also use a drop-down field if you prefer not to have underscores or hyphens in the names, although an Admin would need to add options each time a new Epic is added.

----------------------

The automation rule is a little more complex than usual. I'd usually use "Issue Updated" as the trigger, but a parent change in Next-Gen isn't classed as an update. Neither can you check for a modification to the parent itself.

These are the two options I found.

----------------------

Option 1 - Second Field:

  1. Go to Project Settings > Issue Types
  2. Create a custom field on a child issue - I used a checkbox. Give it a name/option related to automation, such as Automation (name) Activate (option).
  3. Place the custom field on all child issue types
  4. Next, go to Project Settings > Apps > Project Automation
  5. Press the "Create Rule" button in the top-right
  6. For the Trigger, use Issue Updated
  7. Add an Action, use Edit Issue - choose to set "Epic Reference" - and for the value, select "Copy from Epic"
  8. Add a second Action, use Edit Issue - choose to set "Automation" (custom field from Step 2) - and for the value, leave it blank to clear it

^ The way this rule would work is:

  • Change the parent for an issue
  • When doing so, also "check" the custom field from Step 2
  • The rule activates and copies the "Epic Reference" from the Epic to the child
  • The second action removes the value from the custom field from Step 2 so it's blank again

I used a custom field rather than the trigger "Manual Trigger" as I could place the custom field at the top of the context section - whilst automation is a fixed section part-way down the page.

----------------------

Option 2 - Schedule:

  1. Go to Project Settings > Apps > Project Automation
  2. Press the "Create Rule" button in the top-right
  3. For the Trigger, use Scheduled - schedule the rule within a timeframe (eg. every 1 days) - and check the "Run a JQL search..." box. Use the JQL: issuetype != Epic
  4. Add an Action, use Edit Issue - choose to set "Epic Reference" - and for the value, select "Copy from Epic"

^ The way this rule would work is:

  • Each time the rule is scheduled to run, it would locate all issues which are not Epics
  • It would then copy the "Epic Reference" from the parent Epic to all children
  • This rule will run a little slower as it'll be checking / actioning against a lot more issues. There might also be a delay between a parent change and "Epic Reference" update, depending on when you schedule the rule to run
  • But, it is more automated than Option 1 - and it can be run manually from the automation settings screen if needed

----------------------

This isn't an ideal option - it relies on you creating a custom field, which you set manually at Epic-level and then uses one of two automation rule options, neither of which utilise direct triggers.

But it does allow you to use Next-Gen and receive the result in the Two Dimensional Filter Gadget you're looking for :)

Ste

That's wonderful @Stephen Wright _Elabor8_ .. I would definitely try it.. Second option looks just enough for me. Good workaround to leverage Next Gen features along with the erst while reporting..  Thanks a ton! 

Hi @Sapna Mogili 

Awesome - give it a go and let us know if it works!

Ste

Thats did work @Stephen Wright _Elabor8_ . Option 2 has come really handy.. Cool! 

Like # people like this
0 votes
John Funk Community Leader Aug 14, 2020

Hi Sapna - Next-gen uses a different function for Parent (Epic) Links than Classic does. There are some issues around using that in Automation For Jira and I suspect you will not be able to use it for gadgets either right now. 

Thanks John for the prompt response. Given the scenario, what is the best way as of now to report the progress of stories across EPICs on a dashboard .. eg (10 stories under an EPIC is "Done" , 5 stories in "To Do" , 2 in "In Progress" ) such data across 12 EPICS we have in the new Gen project, 

John Funk Community Leader Aug 14, 2020

Move to Classic Projects???  Not sure with Next-gen

Hi @Sapna Mogili 

How about this approach:

  • Make a filter for the epic (s) you care about and save it
  • Add the pie chart gadget to a dashboard, selecting the filter and use the Statistic Type of Status.
  • You could create a separate pie chart for each epic, as needed

That should work for just one Next-Gen board. If you need to include multiple boards it will not work due to the change to make the status values different for different boards in Next-Gen (...I believe).

 

Best regards,

Bill

Thanks Bill!!!

Yeah.. That's the option doable with one or two epics.. We are looking at 12 to 20 epics to be working on in one next-gen project /board.. and we need a single dashboard (at the moment) giving the status / progress across 20 epics. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

592 views 2 18
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