Disable Log Work Based On User Defined Criteria

Sneha Raisinghani
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!
February 25, 2025

Hi, 

 

I would like to disable the Log Work option based on criteria I set. My use-case is that I want JIRA to look at a particular field & if the value in that field does not match a set of values that I have defined, the user cannot log work. Is that possible in JIRA? 

 

 

Screenshot 2025-02-25 102051.png

2 answers

0 votes
Maciej Dudziak _Forgappify_
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 26, 2025

Hi @Sneha Raisinghani

That may not be ideal, but you could potentially create a workflow validator that allows a transition only when the work log is empty.

This would force the user to delete any logged work before moving to the next status.

Would that be a sufficient workaround?

Cheers

0 votes
Marc - Devoteam
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 25, 2025

Hi @Sneha Raisinghani 

Welcome to the community.

No this is not an option as Log Work option on an issue is related to the permission "Work On Issues" 

Permissions are can only be related to:

  • Project Role
  • Application access
  • Group
  • Public
  • Any logged in user
  • Single user
  • Current assignee
  • Project lead
  • Service Project Customer - Portal Access
  • Group custom field value
  • User custom field value
  • Reporter

Custom field values user and groups only work with custom field of the type user or group picker.

This is the only custom field options there are.

Sneha Raisinghani
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!
February 25, 2025

Thanks! Wanted to quickly brainstorm one thing:

I understand that 'Work On Issues' is a permission & that permissions can only be related to that list you posted above. 

Our use-case is to limit 'Log Work' for a particular field & that field is a user custom field. So with that in mind, could it work?

I will try with an example:

* I have a user custom field called "Color" in JIRA.

* Is it possible to set a logic that if Color = Green, disable "Log Work"?

Marc - Devoteam
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 26, 2025

The Log work option is related to the the Permission "Work on Issues".

If you would remove the permission to everyone, the "Log Work" option is gone.

It is not a custom field that can be used for a condition in a workflow.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events