How do I change it so the time estimate fields are only used for technical sub-tasks?

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.

2 answers

This widget could not be displayed.

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).

This widget could not be displayed.

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>

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?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

294 views 1 4
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