How do I display custom fields in the detailed issue view

This question has bee asked many times but I can't find any satisfying answer.

I (and other askers) am not referring to the screen that pops up when an issue is created or edited (these can be configured using the Screen Scheme) but the detailed browse view as pictured in https://answers.atlassian.com/questions/75660/how-can-i-change-the-main-view-of-an-issue.

Can this be done in AOD ?

4 answers

1 accepted

This widget could not be displayed.

In addition to the answers above mine, or below, or both, depending on which one will receive most votes ;)
A custom fields requires to have a value in order to show up. You can accomplish this by giving it a default value, or make the field required in any of the transitions. Additionally, you will find some helpful details on configuring fields and screen starting here.

Thanks Mik this was the point !

In my case the field is a Tempo _account_ field, that shows up as a a dropdown list. Despite the field was effectively empty, the list displays the name of an account if there is only one possible choice (call it a feature or bug ;), instead of displaying "please select". This deceived me beacause I saw the field with a value when pressing edit, but not in the "issue view".

By the way, is it possible to assign a default value for a Tempo _account_ field ?

This widget could not be displayed.

That is the "View" issue screen. You can add fields to that screen under Screen schemes and can hide/show fields using field config schemes but the fields will appear only under "Details" after the standard fields. User and Date fields will appear on the right side under people/Dates.

The standard fields and sections cannot be moved and the custom fields cannot be added under any other sections. Does that answer your question?

I had the same issue and it answers my query. Thanks,

How do I edit the "View" issue screen?  I have gone to Admin->Screens and I don't have a "View" screen there?

I have a "default" screen, but when I take fields off that, they still appear on the "main" view of the issue (which doesn't seem to have a good name).   I mean the view that the OP linked to.

On that view, there is an Admin menu that can "add fields", but how to take them off?

 

The screens listed in Admin -> Screens could be used for anything (view, create, edit or transitions).  You need to work out which one is in use for "view" by reading through the "screen scheme" configuration of the project, as Jobin said.

Thanks for your fast response.  I am stuck at trying to work out which "screen" in the "View Screens" administration section is being used to display issues in the "main" view.      I know how to find what screens are used on transitions, but not for "standard operations" - especially "the main view".

 

Go to the project you want to investigate, and look for the admin settings.

In there, look for the "issue type screen scheme" - this says "issue type X uses scheme Y".

Now you have scheme Y, look at that in the Admin -> screen schemes page.  You'll find the scheme maps the Create, Edit and View actions to individual screens.  That's where you need tothink about edinting!

 

So - I finally had another try at this and was not successful.

I followed the steps you described, which seemed promising.   I arrived at the screen scheme page for the project and it says "these issues use this screen for "View"

But - that screen has all the fields I'm interested in.  In fact, it has _lots_.   Only a small subset of these show up in the "detail view" presented next to scrum boards.

I am having the same issue. Did you have any luck getting this working?

Nope.

Recommend forget about it.

This seems to be a common theme with JIRA. I wish there were half decent alternatives out there.

I am more than half tempted to start a crowdfunding ...

I've found it, completely by accident.

  • Go to your board
  • Hit the 'Board' button on the top right
  • Hit 'configure'
  • On the left hand side, under 'configuration' press 'Issue Detail View'
  • Under 'General Fields' choose your custom field, and hit Add.

 

Turns out its pretty simple, but it doesn't sit with all the other 'screen' things listed elsewhere here. The interface for this kind of thing is utterly infuriating. I'm dreading upgrading to 7 and potentially having similar frustrations.

Whoa - thank you so much!   

Who would have thought: this view is board-specific!

And who would have thought that the previous answers posted here would be so wrong.

This is just great :)

This widget could not be displayed.

That's the "issue view" screen. You add the custom fields to the "view" screen in the "screen scheme", and they will appear on the issue details. There's a link to the documentation in the question you've linked to.

(I really do think I'm completely missing the point of the question here though)

@Nic, I think that's the point, but the problem is how to do it maybe?

Yup, that's why I'm asking - as the answer is there in the link in the question, I'm really not sure why he's asking the question! And, on the back of that, I often misunderstand questions, so wanted to check. (Also, that's why I'm waving at the documentation - if I've understood the initial question correctly, then the follow-up is "where are you struggling with the docs?")

I've been trying to add a custom "acceptance tests" field beneath the "description" field on the main "view issue" screen unsuccessfully for ages - I now realise it isn't possioble (only on the create pop-up). Thanks.

It's perfectly possible, it turns out the problem here was simply that the poster didn't quite grasp that they needed to change the VIEW screen at first, and then, that fields will only appear when they have data.

But when I go to "Screens" I don't see a "View" screen, my complete list of screens is:

  • Default screen
  • Resolve issue screen
  • Workflow screen

I've updated the "Default screen" to show "Acceptance Tests" after "Description" in the create/edit issue pop up, but the main view/edit screen always shows "Acceptance tests" in the top section.

Any help gratefully appreciated. I've spent far too long on this already!

thanks,
Mark.

Two parts here:

Sorry, you've misunderstood.

The create, edit and view screens are determined by the screen-scheme and issue-type-screen-scheme. They're pointers to the screens to be used. This is so you can do "for issue type A in project B, use screen C to view and edit, and screen D to create it". You've got the three default screens on your list of screens, and it's quite likely that your screen scheme says "use the screen called 'default screen' for create, edit and view"

So, the second part

You've probably done the right thing in editing the "default screen" in order to get this "acceptance tests" into the issue view, but you're saying it's appearing in the top panel. That makes me think it's not a standard custom field, as those all appear below description (unless they are dates or people fields). What *type* of field is it?

Thanks very much or the clarification and your help Nic.

I only have a "default issue type screen scheme" and "default screen scheme" which uses the "default" screen so this should be as straightforward as is gets for now, but I may want to make things more complicated later.

It's not a "standard" custom field from an add-on, it's one we've created ourselves as a free text text field (unlimited text) using the wiki renderer. Does this mean it will always appear at the top?

thanks again.

Mark.

Just added a standard custom field

Does that mean you've written a plugin, or just added a standard custom field?

I am having exactly the same issue. I have added a Text Field (multi-line) to an issue type. I can move the field around in relation to the other field on the view screen by dragging it to a new location on the Issues > Configure Screen. However I am unable to make any of the fields go below the description field.

Is there a limitation that the Description field will always be displayed below all the other fields?

Hi,

I am facing the same issue, added a new text field called (Acceptance Conditions) that should be displayed after the Description field. Unfortunately, it's displayed in the Details section which is above the Description field. Is there any way I can move it under?

The answer here is "code". The view screen pulls certain fields out of your list into panels to group them logically- fields with users, fields with dates and all the built-in system fields. The rest are place in the custom field area.

To move other fields out of the custom field area into arbitrary places, you need to modify the code behind the view screen.

Or you could try javascript, but, seriously, don't. It's a pain to get it right in every place, it's hard to maintain, almost guaranteed to break on every upgrade, and robustly despised by every sane Jira admin you'll meet.

So is there only one way to get my custom free form field above the Description field?

Yes. Code. Hack the core of jira or do something vile with javascript.

Hi,

I am facing the same issue, i make one custom field hide when condition is false but when condition is true that time custom field visible in issue view screen but this custom field not visible on workflow screen, 

Any help gratefully appreciated. I've spent 2 day on this already!

Same answer really.

Completely wrong.

See the correct answer from Matthew Fanning, above.

This widget could not be displayed.

Hi Patrick, this documentation it's good for AOD too:

https://confluence.atlassian.com/display/JIRA/Defining+a+Screen

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

76 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you