Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Hide "Child Issues" section in the issue view

Hello!

 

Since a week, I have noticed a section "Child Issues" in the issue view of my instance. I do not remember configuring this, and would like to blend this out. 

I suspect this has to do with "Jira Advanced Roadmaps", but can not find any related setting. 

 

Screenshot 2022-03-21 161334.png

 

Thank you for your support and kind regards,

Simon

2 answers

I had the same requirement and solved it another way. (Note: we run a Data Center JIRA version, so I didn't test it on Cloud version.)
Behaviours only allow you to change how fields behave on issue Create or Update screens, as explained e.g. here https://library.adaptavist.com/entity/basics-behaviours-set-hidden 
In the issue main screen, the "Child Issues" is a separate panel, so we can show or hide it with Fragments.    

  • In your Admin > manage Apps > SCRIPTRUNNER > Fragments,  create a new fragment and select "Hide system or plugin UI element". 
  • Give it a name, e.g. Note: Hide child Issues Panel
  • Hide what: com.atlassian.jpo:jpo-child-issues-web-panel
  • You can add a condition, e.g. I was hiding this panel only for projects of a specific category using:

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.customfields.option.Option
import com.atlassian.jira.issue.Issue


if(jiraHelper.project?.projectCategory?.name == "Project Category X"){
return false // false: hide the panel
}

return true // else true. show the panel

14-31.jpgThis avoid us to modify any HTML code on the UI. 

Craig Flaherty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Aug 28, 2023

What would the syntax be to hide this panel for multiple projects based on Key?

0 votes
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 27, 2022

Hi @Simon Neuville 

From what I recall, it might be visible if this Issue Type is above Epic in the Advanced Roadmaps hierarchy.

I'd check if it is as a first step...

  1. Go to Plans > Settings
  2. Choose to view the hierarchy configuration from the left-hand menu

In terms of hiding it, I don't believe there's an option natively. What's the need to hide it, given it is required for Advanced Roadmaps?

Ste

Suggest an answer

Log in or Sign up to answer