It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

1,073 views 1 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