You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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.
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.
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,