Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

How to make "Time spent" field required when changing issue status to Resolved?

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.

2 answers

1 vote

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.

What if I don't see the field configuration for my Time Spent field on my task card?

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.

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,

Thank you for the reply, but I already did what I needed following Gabriel Senna's instruction.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

121 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you