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

Hide Jira defult fields from issue page

Alex Krasnov Apr 27, 2013

I have custom issue type and create screen scehe with two screens:

  • screen for create issue;
  • screen for edit and view issue.

But all default Jira params are still diplayed on issue page... such as: Priority, Resolution, Affects Version/s and etc.

They are absent on my issue view screen, but it doesn't influence them in my case. How can I hide them?

Thanks for help!

7 answers

3 votes
Chaithra N Apr 27, 2013

hi,

In the Field Config Scheme hide the required fields.

Refer - https://confluence.atlassian.com/display/JIRA/Specifying+Field+Behaviour for more details.

2 votes
Alex Perez Apr 29, 2013

Hi krasalexander,

Fields are shown in this screen if they are included in the "view screen"or are defined visible.

The Field Configuration Scheme used in your project defines which fields are shown or hidden, and which ones are optional or required.

Clone the Field configuration Scheme used in your project in order to not affect other projects, and edit it to hide all the fields you don't want to see in the view screen nor issue browser.

HTH

2 votes

Be warned that hiding Priority can break the default queries for each project. And hiding Fix Versions will break the roadmap/release notes functionality

Veronika Pándi Jul 12, 2017

What I'm trying to remove is the "Affects version/s" field, which shouldn't break anything. I actually want to keep it in bugs, but nowhere else.

I only have one Field configuration, and in that the field is listed only for "bug" screens. The other issue types do hav other screen configurations. And the field still shows up everywhere.

Nic Brough [Adaptavist] Community Leader Jul 12, 2017

You need two field configurations - the one you currently have, which shows it, and a second one that hides affects version/s

Then you need one field configuration scheme which tells the project to use the one with the "show" for bugs, and the "hide" scheme for all the other issue types.

Veronika Pándi Jul 12, 2017

Wow, that did it! Thanks a lot.

1 vote
zulki yusoff Oct 20, 2013

I tried this, and it works;

<script language="JavaScript">

function hideUnwantedField()

{

var isIssuePage = AJS.$('#issue-content');

if (isIssuePage.length != 0)

{

AJS.$(".name:contains('Labels:')").parent().hide();

AJS.$(".name:contains('Resolution:')").parent().hide();

AJS.$(".name:contains('Priority:')").parent().hide();

AJS.$(".name:contains('Type:')").parent().hide();

}

}

Nic Brough [Adaptavist] Community Leader Oct 20, 2013

As a general rule, you should avoid using javascript, and try to do it in Jira config. This question can certainly be done in the config.

Javascript has to be retested on every single upgrade and often rewritten, and if you use it a lot, you quickly find it starts to fail as one use starts to interfere with others.

sharvan singh Dec 02, 2014

where to write java script code in jira? can you explain it?

zulki yusoff Dec 02, 2014

Sharvan singh - you can copy paste above script into the banner section. However just like Nic said it is not advisable to use alot of custom scripting as the upgrade may cause problem in compatibility.

The above java script is not working for JIRA 7.2.1. After setting the above script in banner, JIRA goes blank.

Can any one advise or share, How to hide the system fields ( for example : Resolved ) using JIRA configuration or customization. or provide the compatible script if any available to set via banner.

Thanks !

Nic Brough [Adaptavist] Community Leader Mar 06, 2017

As suggested before - javascript is the worst possible way to do this, and you've walked straight into one of the reasons why.

You should hide the fields with field configurations if you're not using them.  Resolution is a field that you always use though.  Always.  Whether you want to or not.

 

Thanks NIc for quick response. I agree that javascript may not be the right approach.

Can you let me know, How this can be achieved using JIRA configuration ? Hiding the custom field is pretty straight forward.

I am interested in hiding the system fields using JIRA configuration. Thanks

Nic Brough [Adaptavist] Community Leader Mar 06, 2017

Please re-read the second paragraph of my previous comment.

John O'Brien Mar 15, 2017

Gentlemen please,

Why does noboday just say it out straight: it is NOT POSSIBLE to hide certain fields such as "status" and "resolution" using the standard configuration methods of JIRA i.e. Field Configuration Schemes or Screens. The displaying of these fields cannot be influenced by the project or JIRA administrator.

Nic Brough [Adaptavist] Community Leader Mar 15, 2017

The original answer, in 2013, did.  It seems to have gone.

0 votes

Hi,

This link can help you to know more for Configuring Fields and Screens

https://confluence.atlassian.com/display/JIRA043/Configuring+Fields+and+Screens

0 votes
RS Apr 27, 2013

To add or remove fields from your custom screens go to:

From the Administration screen, click on "Issues" > "Screens"

Locate your custom screen and click "Configure"

From there you can add, remove, and redorder the fields for that screen.

-rick

Alex Krasnov Apr 27, 2013

I have tried it, - these fields (priority, affected and etc.) are absent on the screen, which is cofnigured for issue view.

John O'Brien Mar 15, 2017

KrasAlaexander,

nobody seems to be reading your question properly.

I wanted to do this also when I started using JIRA. Like me, you have not included these fields on any of your screens, yet they are showing up when viewing an issue. That is because these fields are displayed separately by JIRA or independently of how you configure your project. You can define screens, screen schemes and field configuraitons etc. all you like. Unfortunately these have no influence on certain standard fields such as Resoluiton and Status. Sorry, but you cannot hide these fields using the normal methods.

Veronika Pándi Jul 12, 2017

John, thanks a lot, your answer is the one I was looking for (even though I'm not sure if krasalexander is still looking for it).

0 votes
Carmen Bullock Nov 05, 2018

Thank you John. I was looking for the same answer. I can't find a way to remove the priority field off of the parent screen or case.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,419 views 3 14
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