jira software not letting us close items that already have time logged on them. Edited

This could be poor workflow design on our part but here is what we are experienceing. 

We have made TIME SPENT required on the transition (validator) to CLOSED status. The problem is when user moves an item WHICH ALREADY HAS time spent to CLOSED status, we get an error saying TIME SPENT is required and are prevented from changing status to CLOSED unless we add more time on the Resolution screen. 

If anyone has suggestions on how to correct this, I would love to hear them.

Ultimiately we just want to make sure that by the time an issue in Closed status, there is some time on it. 

we are on jira v7.2.1 and have tempo timesheets

1 answer

1 accepted

0 votes
Accepted answer

You've used a validator which is checking current input on the transition, and not the value of the work logged.  I'd change it to say "validate that work logged is larger than zero OR time spent is updated"

@Nic Brough [Adaptavist].  I like that suggestion. part of the reason I got stuck was I did not see a way to do that with the out of the box Validator options. Do I need to use script runner or marketplace add-on to accomplish that?

Yes, I'm afraid you will need a bit of code to do that.  ScriptRunner is a natural choice for me, but that's because I can throw questions at Jamie's team when I get stuck.

Cool. Thanks @Nic Brough [Adaptavist] for pointing us in the right direction.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

2,064 views 14 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you