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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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