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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,861 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot