Making 'Work Log' mandatory

Hi All

I need to make 'Time Spent' mandatory in all steps of a workflow.

The issue I face here is, when I DO NOT enter the value in to 'Time Spent' from the first trasition my validator works fine. But If I entered Time Spent in first Step, the validator fails in the all other steps. The reason is, Field already has a value from the First Transition.

FYI : I use JIRA 4.4.1

Any work around to over come this ?

Thanks, Vishnu

1 answer

1 accepted

2 votes
Accepted answer

Have you tried making Log Work field required (via Field Configuration (Scheme))? Then logging work should be mandatory on every screen, including (I am afraid) issue creation screen.

Alternatively one can devise a small plugin which would inject into a page small javascript file which will make sure that whenever Log Work field is displayed it's non-empty on form submit.

Cool... Thanks a lot. It works. But we have to add 'Log Work' to screens and make it required in Field Configurations.

Issue creation happens as usual.

We have Log Work field required, but there is always someone who skips it by putting a single character in the description, such as - _ or a simple space.
It is possible to set a minimum of characters, to prevent anyone from putting a description of 1 single character?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

105 views 0 0
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