How can you hide empty custom fields from Edit screen in JSD?

Dimitar Dimitrov April 24, 2018

Hey gurus, 

Can someone tell me how to hide empty variables (custom fields) from an Edit screen in Jira Service Desk. In the example, it's an issue of request type = incident.

I don't wan't to see these fields in the Edit screen if they are empty, just like I don't see then in the View body of the incident (if they are empty).


Screen Shot 2018-04-24 at 5.51.51 PM.png

Below is the View section of the form, which acts like I want it to - does not show the empty ones.

Screen Shot 2018-04-24 at 5.54.13 PM.png

1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2018

Hi Dimitar,

In order to hide custom fields from the Edit Screen, you will need to make sure that the screen associated does not include those fields. You can check this by going to Administration > Issues > Screen Schemes and looking for screens being used by the project INTSD. 

Additionally, you may want to configure a Screen specifically for when Editing an issue as mentioned here: Associating a screen with an issue operation

It's possible that your Create/Edit screen are tied so it would be a good idea to have a screen for Creating an issue/Editing an issue/Viewing an issue. 


Javier A. 

Dimitar Dimitrov April 30, 2018

Ok, but still - here is the following scenario: I have a number of variable questions which I ask customers in my service portal in different request types based on service. Say for ServiceA, I want to ask questions 1,2 and 3. Then for ServiceB, I want to ask questions 1, 2,3,4,5. In my workflow I have a transition, let's say Resolve. I want that transition to be common for both Services, and I can associate that transition with only one screen. So within that screen I have to include all of the fields (meaning: 1,2,3,4,5) Still if my issue is concerning ServiceA, I will still see the 4 &5 fields, despite the fact they are irrelevant to my service.

How do I work around that?


Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2018

Did you already resolve this @Dimitar Dimitrov? If you did, can you please share it to me? I am also searching for the answer on this kind of problem. Thanks

Dimitar Dimitrov September 11, 2018

Nope, still open question, problem continues. I am looking for a native solution, from the platform. Otherwise, I believe you could achieve this with ScriptRunner.

Robert Kneip March 7, 2024

It appears JSM does not follow the same logic as Jira Software. Remving the field from the issue edit screen does not prevent them from showing n the view screen if the are empty. This should be a very simple thing. No need to have to spend time on this. How do you hide fields in the issue view on the back end of JSM when they are empty?


Moving them to the hide when empty section in the layout is useless because when they are popultaed they appear at the bottom of the context column. Not in the logical position you place them in the description section. It just kills all your layout work. 

Answer Im afreaid is you cant. Nice platform.

I have not tried creating tabs in the view sceen to see if at least I can partition the different data sets but that is not a solution either because there is no indication to look there hmmmmm. I lve Jira but hate how these simple things are impossible and overlooked

Suggest an answer

Log in or Sign up to answer