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

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>

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

149 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