Prevent users from logging time under Epic?

Currently a user can log work under an Epic, Issue and Sub-Task. Is there any way to prevent (disable) them from logging work under the Epic while allowing them to log work under the Issue and Sub-Task?

Thanks!

Tudor

3 answers

Tudor - This is very easily solved. Assuming you have an existing Workflow for just the Epic issue type, simply add this Property Key to each of the transitions in that Workflow. Leave the Property Value empty. be sure to publish the workflow after creating the draft.

jira.permission.work.denied

Thank you!  This worked for me

How can I define a workflow just for an epic (JIRA software on clound)?

Can you give me an example, please.

 

Thanks.

I just did this today, thank you. But a point of clarification: it only works if the property is added to the STATUSES, not the TRANSITIONS. Otherwise, it works great.

2 votes

There is a slightly difficult workaround possible. You can have a different workflow for Epics and remove the "Log Work" permission by restricting it on the different statuses in the workflow.

See http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html

Thank you! That worked for me.

What you can do is define a issue type screen scheme, and for the issue type Epic you remove the field - time tracking from its corresponding screens, so users will not find the field - Original estimate or Time spent field in the first place when they view the Epic.

However you include them for the other issue types.

Here's the link on how it is to be done

https://confluence.atlassian.com/display/AOD/Associating+Screen+and+Issue+Operation+Mappings+with+an+Issue+Type

Hope this helps.

Rahul

Thanks Rahul, I have already done that so the Time Tracking fields do not appear on Epics. However, if a user navigates to the Epic in JIRA, they can use the 'More Actions' field and Log Work that way....is there any way to disable this option?

I guess the same question was asked here (https://answers.atlassian.com/questions/78960/time-tracking-disabling-ability-to-log-work-for-custom-issue-types) and the answer is no, has there been any change to this?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,084 views 4 9
Read article

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