How to remove the default 'Resolution' field from the View Issue page in Jira 4.4.5
We do not want to display the Resolution field in the View Issue page as it is confusing us with the Status field.
I have tried to make the 'Resoltuion' field as 'Hidden' from the Field Configuration page, the Resolution field is not shown on the View Issue page but then this impacts other places too especially the 'Assigned to Me' gadget does not display the Defects when the Resoltuion field is hidden.
We want the Resolution field functionality to work as it is. Only need is NOT to display it in the View Issue page.
Please suggest any work around for this.
Thanks,
Harish.
Community moderators have prevented the ability to post new answers.
Hi, you can use the JIRA Toolkit plugin. Add a message Custom Field (for view) and use some Javascript/jQuery to hide the resolution field from being viewed.
Hi Harry,
Thanks for the response.
I do not want to use the external plugins as reently we tried with plugins ( Free Plugin ) and where unable to achieve the required feature.
Can we achieve this by using any 'Field Level security ' option.
Or anyother way to edit the 'View Issue' page code , may be the .vm or .xml or .jsp files
If so, let me know the file realted to the 'View Issue' page.
Please let me knowif there are workarounds with in Jira.
Thanks,
Harish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Harish, can you elaborate a bit on this point "I do not want to use the external plugins as reently we tried with plugins ( Free Plugin ) and where unable to achieve the required feature."? As using the message custom field as told by Harry seems to be good solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Harry solutions does not work for me in v5.x . My code is
<script type="text/javascript">
(function($) {
AJS.toInit(function(){
AJS.$("#resolution").hide();
});
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
AJS.$("#resolution").hide();
});
})(AJS.$);
</script>
Any solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Jira 6.x the Java Script code must be changed a little bit. Instead of #resolution, the id should be changed to #resolution-val:
<script type="text/javascript">
(function($) {
AJS.toInit(function(){
AJS.$("#resolution-val").hide();
});
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
AJS.$("#resolution-val").hide();
});
})(AJS.$);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use two different screen schemas, the first for create a issue, this don't has 'Resolution' field, and the other, the 'edit screen' need have the field 'resolution' for you fix yours issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using JavaScript (either in the announcement banner or field description). Following are the hints for your JavaScript code.
For testing I removed it using Firebug and things looked clean. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.