Forums

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

stop time logging on closed issue but allow on transition

michael jones May 15, 2020

Hi,
We are trying to stop people logging time on resolved issues, but want to allow them to log time on the final transition screen.

We are using the below on our resolved status:-
jira.permission.work.denied = denied

This works but any time entered on the screen on the final transition the "resolution screen" is not recorded & doesn't provide an error message.

The requirement is to stop time logging on the status but allow time to be recorded on the transition to that status.
Any help appreciated.

1 answer

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2020

Hello @michael jones

Thank you for reaching out.

Per your description, I understand you would like to prevent users to log work on issues when they achieve the final status, however, allow it in the transition that leads to that status. Is that correct?

Indeed, the properties of Jira workflows are also applied to its previous transition because of the order of the post functions, which will change the workflow status before other actions in the transition (Log work, comment, etc).

We have the following feature request to change this behavior, however, due to the low number of requests, our PMs decided to don't implement it for Jira Server:

Allow default Post Function to be re-ordered 

That being said, the workaround to prevent this problem would be to:

  • Create a pre-resolution step on your workflow that allows the worklog to be added
  • Then, configure only a single transition that leads to the Closed from the pre-resolution status, not allowing worklogs.

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer