Forums

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

Require Log Work before changing status

Cloud9_GE February 16, 2019

Hello,

Implementing Jira Core in my organization, before jira we did not use anything (we tried many different but non of them was good for us)

After month+ using jira I want to force my team to log work spent on tasks for better time management. But they forget to do it most of the time.

Is there to configure Jira not to allow status change if there was no logged work on current state?

And if possible is there possibility to configure it per status (still to allow some statuses not to require it)

 

2 answers

2 votes
Thorsten Letschert _Decadis AG_
Atlassian Partner
February 18, 2019

Hi @Cloud9_GE ,

Since this functionality isn't available in Jira Server out-of-the box, you'll need a 3rd party app, e.g.

Maybe one in this list is already present on your instance. A complete list of workflow related apps can be found here: https://marketplace.atlassian.com/search?category=Workflow

Jira Workflow Toolbox, for example, provides a couple of validators that might fit in here, e.g. add the A field is/isn't initialized or has/hasn't been modified validator (https://apps.decadis.net/pages/viewpage.action?pageId=1803726) and set Work logged in transition as Field to be checked.

If you have any further questions, please let us know.

Cheers
Thorsten

0 votes
Josh Carolan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2019

UPDATE: 

@Thorsten Letschert _Decadis AG_ is correct here. 


Unfortunately, I have just discovered in server you need to install a 3rd party plugin to add the validators on the transition you need to do this.

In cloud, the validator you need comes built in to ensure the field is not empty when transitioning in your workflow.

 

 

Cloud9_GE February 17, 2019

Hello @Josh Carolan 

Thank you very much.

I tried to do second solution as you adviced (I think it's "more correct" way to implement it) but when adding validator I got only 2 options, to add permission validators only. 

Do I need to enable/reconfigure something to get field validation available?

 

Screen Shot 2019-02-17 at 10.33.50 PM.png

Josh Carolan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 17, 2019

Hi @Cloud9_GE

Sorry I didn't see the Jira Server tag when I answered this, there are a few different validators in cloud that might've done done this, these validators are available as plugins in server

Cloud9_GE February 18, 2019

@Josh Carolan 

Thank you for reply :)

I tried to implement it and here is what I got.

1. I created custom screen "Force LogWork" and added Log Work field to it. 

2. I attached the screen to transition on ToDo -> Done transition.

Now when I press Done button on issue I get screen where I can log work, but if I leave screen empty (does not put any time) it allows to perform transition and issue toes to done state.

Can I force not only interface for logging work but to force some value to be logged, so that if nothing logged user can't transition it to done state.

Screen Shot 2019-02-18 at 1.31.01 PM.png

Like Josh Carolan likes this
Josh Carolan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 18, 2019

Hi Kotso,

Sorry for leading you on a wild goose chase here, it seems you can't do this out of the box with server and you will need to install a plugin such as Jira workflow toolbox to add the workflow transition validator you need. I have learned this today as well! 

 

Check out @Thorsten Letschert _Decadis AG_'s answer above for some plugin options. I have also edited my answers in case anyone else comes to this question looking for the same answer.

Suggest an answer

Log in or Sign up to answer