Can I hide a custom field in a View screen if it's empty?
The new layout is using both screens and a layout, and if you go to Project settings > Request type and select request type you want to hide the field on. Then select the issue layout tab and from here you can hide fields with no values.
Thank you but when its done this way. The fields do not retain their position in the layout when they re populated. Instead they just go into the bottom of the context section. JSM is what Im working in. It uses Forms and seems that the edit screen has no impact on what does and does not appear on the view issue screen. Consequently the back end is a mess of fields that dont pertain to the section that is filled out in the form. I have 3 different subsystems in one form. The user only fills out the ones in context to the request. Yet they all show in the issue view. :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Robert Kneip You have to separate Forms from Request forms. Form fields are only linked to Jira fields if you have made that connection. So if you have a Form attached to a request type that is not linked to any Jira issues it would look something like this:
If for example the field Describe in more detail would have been linked to Description, the text entered in the Form field would be copied to the Description field.
Based on your description it sounds like your Form fields are not linked to any Jira fields, and in that case you could remove the fields that you do not want to see by going to the request type and remove them from the issue view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thank you for the reply. All of the fields in my form are linked to the jira fields in the issue view. I thought that might be the problem. Even though they are not on the Issue Edit screen they still appear on the view screen when they are empty.
Is it possibe the Form is causing this?
So again the simple use case is when a customer does not fill out a field in the form I dont want to see that field on the back end. Thats not happening even if I remove the field from the edit screen. All form fields are linked to Jira fields.
Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, not unless you add those fields to Hide when empty section in the issue layout.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok so looks like it is working now?? I remved the fields from the edit screen and they are not appearing on the view screen if they are empty. I can still refer to the form to see what infor was missed or make the fields I need manadtory. I think it may be solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Robert Kneip I was wondering how you achieved this?
I'm having the same issue I believe. I have a big form with 6 different paragraph boxes to fill out based on the path the customer goes down. On the back end the issue view looks ugly because 99.9% of the time only one of these boxes needs to be populated (option exists to fill more than one).
Currently our project has the view/edit screens as identical, BTW. If you don't mind, is this what you're talking about, and if so, can you describe how to get these boxes to not appear on the view screen when left empty by the customer? I'm surprised you managed to achieve this, since there's a request that's a few years old to have these hidden when empty like with detail fields.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.