I don't want a bug reporter, or story requester, to see the fields relevant to time estimates. I'd like to only use them for technical sub-tasks.
For custom fields, this is easy. When I add a new custom field, it asks me which screens I'd like it to apply to, and which issue types.
But for existing fields, like the time estimate field, I don't see anywhere where I can select which issue types it should be relevant to.
You will need to create different screen schemes. One for the technical sub-task, which has a screen or screens with work logging in it/them, and then either one screen scheme for all other issue types (or one for each, if they each have different field needs) where you do not have work logging in the create screen but do for the edit and/or view screen(s).
Time tracking fields (orginal estimate, remaining estimate) are shown based on whether you add/remove the field by the 'Time Tracking' in the screen.
For work logging, AFAIK, you cannot remove it directly per issue type. But you can achieve that part with with a javascript workaround. Add this to the announcement banner (change the issue type name as needed)
<script type='text/javascript'> AJS.$(document).ready(function() { var type = AJS.$("#type-val").find('img').eq(0).attr("alt"); if(type != 0 && type != "Bug") { AJS.$("#timetrackingmodule").hide(); AJS.$("#log-work").hide(); } }); </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Renjith,
I don't specifically want to remove the work logging. I don't mind if people log work on any kind of issue.
I just want to remove the fields that ask for time estimates when creating a new issue, unless it's a technical sub-task. Is that possible?
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.