Greetings,
How to make the Time Spent field required when changing issue status to Resolved?, currently it's not mandatory, and yet when changing issue status to other states like "Waiting for customer", "Closed" etc, I'd like to make the Time Spent field not required in these cases, but I can't find where is setting to do it.
Hi Enkhtaivan,
You can make the field required in the field configuration.
If you access the JIRA Settings > Issues > Field configuration, you can choose the field configuration of the project you want to configure it. There, you can make the field required to the screens where he is added.
This way, all screens that the field is, it will be mandatory for the user to filled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if I don't see the field configuration for my Time Spent field on my task card?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The field "Time Spent" is not available in the "View Field Configuration" menu for "Default Field Configuration". The closest match is "Time Tracking." However, this makes "Remaining Estimate" and "Original Estimate" required fields. Like the questioner originally asked, I want to make "Time Spent" required.
Honestly I don't care about estimates at the point when the issue is resolved. I just want to know how much time I need to bill for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Debora Silva Nope. After I wasted a day trying to figure this out, I gave up. I'm back to square 1, which is exporting issues to Excel, and comparing time values to incoming invoices.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Debora Silva @Stephan Weynicz Figured out the way to get the Time Spent displayed on the transition screen is actually selecting the "Log Work" field on the screen, not "Time tracking." Not sure why it's set up like that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Enkhtaivan,
Using Add-on JIRA Suite Utilities (JSU),
On the "Resolved" transition that move the issue to your "Resolved" status, add a validator "Fields Required (JSU)" with the field "Time spent".
-> this way, the "Resolved" transition will fail with a message "Time spent field is required" (or something like that...)
Alternatively, on the same "Resolved" transition to status "Resolved" , add a condition "Value field (JSU)" : ("Time spent" != "").
-> this way, the "Resolved" transition won't display until a "Time spent" value is set for the issue
Both solutions require the JSU add-on from Atlassian Marketplace, and your prefered solution may depend upon your needs and your workflow scheme.
Hope this helps,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the reply, but I already did what I needed following Gabriel Senna's instruction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, is there any clear instruction on how to accomplish requiring the "time spent" to be a required field before closing the ticket? Thanks. R.J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.