Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,759
Community Members
 
Community Events
165
Community Groups

Disable "Log work" on EPIC

Hello,

I use EPICs for grouping tasks/stories (like a generic integration to a specific customer of mine) and I don't want used them otherwise (for log work). The works are logged on tasks or on stories.

 

Can I disable "log work" just for EPICs?

 

Thanks.

2 answers

5 votes

Hi Eitan,

You may prevent users from logging time in Epics by following these steps:

  1. Set Epics to use a different workflow in your project(s). You may need to create a new workflow. A workflow with just To Do, In Progress and Done statuses would be more than enough for Epics.
  2. Edit the workflow, click on the status To Do, and then on the Properties link displayed on the right.

    properties.jpg
    Add the property jira.permission.work.denied with no value.

    add-property.jpg

    Repeat step 2 for each of the remaining statuses in the workflow (in the above example, In Progress and Done).
  3. Publish your workflow changes.

After applying this property, users will see an error on trying to log work on an Epic, preventing them from recording worklogs in Epics.

Hope it helps.

Like Ignacio Pulgar likes this

Thank you Ignacio! This is a real help. Do you know where can I learn more about available properties like this one ?

Like # people like this
Ignacio Pulgar Community Leader Aug 02, 2019

Sure! There's a good article about workflow properties here:

https://www.j-tricks.com/tutorials/permissions-based-on-workflow-status

Like Přemysl Václavík likes this

Nice one!

 

One small addition, according to Atlassian, property value should be "denied" . But I noticed that it also works with an empty value.

More information can be found here: https://confluence.atlassian.com/jirakb/how-to-restrict-log-work-on-a-specific-status-834225982.html  

should this control be applied to every project manually or you have any global settings? 

Eitan,

I think that this cannot be done out of the box.

You can try with an listener, capturing the work logged on issue events and delete them, but this is counterintuitive for the end user and one thing more to maintain and check.

Maybe the best solution is user education and to exclude the epics from the queries / reports you use for time tracking.

I have heard that workflow may solve that, but I don't know how.

Seen on: https://community.atlassian.com/t5/JIRA-questions/Prevent-users-from-logging-time-under-Epic/qaq-p/181423?posted=612486#U612486

As the link - I didn't understand how to link a workflow to an epic (It just create a new workflow).

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you