Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

View: New views
7 Messages — Rating Filter:   Alert me  

Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All,

I have turned on Time Tracking in our JIRA and don't want users to be a able to Resolve an issue without entering a value (0 or more) for Time Spent.

1. I cannot use GreaseMonkey JIRA Utilities script as I have users on different browsers
2. I have tried capturing the Time SPent in a Custom Field to validate it on the Resolve screen, but you can't assign values to Custom feilds
3. I have looked at Kaamelot but this seems overkill for what I need, plus we are using JIRA 3.9.3, so would need a really old version of Kaamelot.

There MUST be an easy way to make Time Spent MANDATORY - can someone help please... This is driving me NUTS!!!

Thanks in advance!!

Rehan

ps: Nic Brough are you out there? Paul Dessoy recommended you as a possible hero!
--
Post by lamboman - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=27440
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I guess no-one needs Time Tracking to be mandatory...!?

I've had a look at Worklog.jsp and a couple of the VM files - does anyone know if I can pull any of this code into a custom Resolution screen to do some validation against Time Spent, and then tell the user to click "Log Work Done" before allowing them to Resolve the card?

Thanks.
--
Post by lamboman - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=27440
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Another idea would be to create a custome Plugin that would update the Time Spent field to the value ofa Mandatory Custom filed (on the Resolve screen) after the card has been Resolved (in a Post Function perhaps)....?
--
Post by lamboman - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=27440
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK OK OK OK...

I've found a workaround for the meantime - I can Add a "Condition" to the Workflow to hide the Resolve option (in the left menu) unless Time Spent is filled out. This is how to do it:

1. Click on Workflows under Global Settings (in Admin)
2. Click on the steps of the Workflow
3. Click on the Resolve transition
4. Click Add to add a Condition with the following criteria:
        - Add Condition To Transition: Select "Value field"
        - Add Parameters To Condition: Field = Time Spent, Condition= "!=", Value = "" (empty), Comparison Type=String
        - Then click Add
5. Once you've added a condition it should be listed under Conditions as "The field Time Spent will have to be not equal to value NULL. Compared like String ."
6. See documentation for more info on Conditions: http://www.atlassian.com/software/jira/docs/latest/workflow.html#conditions


...SO, only once the user has entered the Time Spent will she be able to Resolve the card.

That's it, job done - NO complex solution required!

THANKS for all your help... :-)
--
Post by lamboman - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=27440
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I solved it myself.
--
Post by lamboman - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=27440
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Re: Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

by martin sweitzer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jul 31, 2008 at 3:28 AM,  <forums@...> wrote:

> OK OK OK OK...
>
> I've found a workaround for the meantime - I can Add a "Condition" to the Workflow to hide the Resolve option (in the left menu) unless Time Spent is filled out. This is how to do it:
>
> 1. Click on Workflows under Global Settings (in Admin)
> 2. Click on the steps of the Workflow
> 3. Click on the Resolve transition
> 4. Click Add to add a Condition with the following criteria:
>        - Add Condition To Transition: Select "Value field"
>        - Add Parameters To Condition: Field = Time Spent, Condition= "!=", Value = "" (empty), Comparison Type=String
>        - Then click Add
> 5. Once you've added a condition it should be listed under Conditions as "The field Time Spent will have to be not equal to value NULL. Compared like String ."
> 6. See documentation for more info on Conditions: http://www.atlassian.com/software/jira/docs/latest/workflow.html#conditions
>
>
> ...SO, only once the user has entered the Time Spent will she be able to Resolve the card.
>
> That's it, job done - NO complex solution required!
>
> THANKS for all your help... :-)


So this works great except the poor user has no idea why the "Resolve
Issue" link is no longer there.  :-(
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Re: Making "Time Spent" Mandatory on Resolve screen - Arghh HELP PLEASE!!!

by martin sweitzer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Mar 4, 2009 at 4:30 AM, martin sweitzer <msewlists@...> wrote:

> On Thu, Jul 31, 2008 at 3:28 AM,  <forums@...> wrote:
>> OK OK OK OK...
>>
>> I've found a workaround for the meantime - I can Add a "Condition" to the Workflow to hide the Resolve option (in the left menu) unless Time Spent is filled out. This is how to do it:
>>
>> 1. Click on Workflows under Global Settings (in Admin)
>> 2. Click on the steps of the Workflow
>> 3. Click on the Resolve transition
>> 4. Click Add to add a Condition with the following criteria:
>>        - Add Condition To Transition: Select "Value field"
>>        - Add Parameters To Condition: Field = Time Spent, Condition= "!=", Value = "" (empty), Comparison Type=String
>>        - Then click Add
>> 5. Once you've added a condition it should be listed under Conditions as "The field Time Spent will have to be not equal to value NULL. Compared like String ."
>> 6. See documentation for more info on Conditions: http://www.atlassian.com/software/jira/docs/latest/workflow.html#conditions
>>
>>
>> ...SO, only once the user has entered the Time Spent will she be able to Resolve the card.
>>
>> That's it, job done - NO complex solution required!
>>
>> THANKS for all your help... :-)
>
>
> So this works great except the poor user has no idea why the "Resolve
> Issue" link is no longer there.  :-(
>

http://jira.atlassian.com/browse/JRA-16580   :-)
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user