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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
regards, Thanos.
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.