Can I disable time tracking on tasks but enable it on sub-tasks?

We want to track the time on the sub-tasks of tasks and not track time on the task itself. People continuously accidentally track time on the task. When they track it on the main task, we cant' track how long each of the sub-tasks takes and we need those numbers. Can I disable time tracking on tasks so they won't keep making this mistake? 

3 answers

1 accepted

0 vote
Steven Behnke Community Champion Oct 20, 2015

So, the real issue with your request is that Permissions are set Per Project but you're desiring to set it per issue type. This is NOT possible!

But, we can have an alternative path. We know we have Workflow Properties, which let you modify permissions-per-state. You should be able to use Workflow Properties in JIRA Cloud. A property exists that lets you enable or disable Log Work permissions, so feasibly you can use a different workflow on the SubTask issue type, which allows Time Logging. And a different workflow on the Task issue type, which doesn't allow Time Logging on any status ever.

https://confluence.atlassian.com/jira/workflow-properties-189949.html

Steven, to my great delight, this worked! No more accidental hours on the wrong tasks! Can't thank you enough. Val

Steven Behnke Community Champion Oct 24, 2015

I am _so_ very glad to hear that! I encourage you to heavily test this from different Roles within your project because for one to misconfigure it plus it is buried deep within the workflow. However, these properties were introduced to fill the gap you've found, more granular permissions. Good luck! :) Steve

0 vote
Joe Pitt Community Champion Oct 20, 2015

No, it is on or off for everything. And I don't believe the cloud allows scripting to intercept attempts to track time.

I actually have the same question. But I was wondering whether another approach is possible:

I also want my team to use time tracking on the sub tasks only. So I decided to hide time tracking from the parent task. However I then had the problem, that I could not see the time tracking details in the parent task detail view (the 3 coloured time bars).

Is there a way to hide time tracking from the parent issue but still see the progress somewhere  as an aggregate of all sub tasks together?

Or is settng properties the only viable option?

Do not "hide" the field. 

Remove the timetracking field from create and edit screens, but leave it on view.  Then use Stephen's answer for workflow properties to block the users from logging work

thx.

the the only way to do this is by taking away the permission from a specific user group to edit log work

Hi

I would like to re-open question from this discussion.

How can I setup project to allow only time tracking in sub-tasks? Is it easy way for it?

Thanks in advance for all info.

/P

Same as above, it's not changed.

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 Apr 17, 2018 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...

764 views 2 19
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