Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we restrict Log work for certain issue types Jira?

Ranganathan February 8, 2018

Hi

 

Can we restrict work logging for certain issue types on jira either using certain settings or using Behaviour script?

If it can be done using behaviour, a reference links would be of great help!!

2 answers

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 8, 2018

You could use Web Fragments in ScriptRunner and create the Hide system or plugin UI element. If would look like this:

hideui.pngOr you could use wokflow properties. You can find more info here:

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

Ranganathan February 8, 2018

is the first option hides the "Log Work" in the issue view page?

I tried doing this, though not working.

 

In the Workflow properties, i can assign it for users, group and roles and not Issue types.

any other options?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 8, 2018

1. Log work button.

Maybe it is not a core Jira log work button, but a Tempo work log button?

2. Workflow properties.

You should make different workflows for issue types

Lacey Also October 7, 2020

If you want to completely disable it, you need to edit the statement to be "truthy" against Task. Meaning, if the issue type is NOT Task, then show the button.

 

!= "Task" rather than == "Task"

0 votes
creasyimm
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 19, 2023

This work for me:

  1. Create a workflow for the issue type you want, like Epic;
  2. Add a property "jira.permission.work.denied = true" to to all the steps; (https://confluence.atlassian.com/adminjiraserver0904/workflow-properties-1188768420.html)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events