How to add a custom fields to viewed issue details area, and remove system field from same area

Hi all,

Is it possible, without writting an add-on, to add a custom field to the viewed issue details area (the area with red square in my snapshot), and remove a system field (priority) from the same area?

For information, I am using JIRA server with Scriptrunner add-on.

Thank you!

ViewIssueDetails.png

1 answer

1 accepted

1 vote
Accepted answer

Hi Frederic, 

The priority field is required so you cannot leave it empty and therefore be dissapeared (because if a field has null / no value is not appeared) 

What you can do tho is to use some javascript and hide it or remove it. The element you want to hide / remove is 

$("#priority-val").parent().hide()

Now how are you gonna inject the javascript in the issue view screen? Have a look at Fields Allowing Custom HTML or JavaScript

Of course keep in mind that it will be easy enough for an experienced user to open browser's developer tools and make the priority field visible again. 

Hope that helps. 

kind regards, Thanos

Hi Thanos,

Thanks a lot for you reply.

But how to add a custom field of mine in the details area? Is that possible?

Thanks again,

Best regards,

Fred

Hi Frederic, 

If the custom field is not of type date or group or use picker then it will appear in the issue view details section.

Adding a custom field

regards, Thanos.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,790 views 18 22
Read article

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