Validation to check if estimated time is equal to logged time

Issue #972 resolved
Bharath Kumar Kappala created an issue

We want to have a validation in the final transition of the workflow before the DONE status to check if the Estimated Time matches with the Logged Time

I tried doing %{00024} != 0

also this {Total time spent (minutes)} != {Original estimate (minutes)}

on the transition screen I added the Log Work and Time Tracking fields

but nothing seem to work.

We just want to make sure that all the work is logged before the ticket is closed.

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi @bhharath1230,

    First of all, I inform you that we have a new support site. I recommend you to begin using the new site, since current one is going to stop admitting new issues in not too long.

    In order to ensure that logged work matches original estimate you should use "Boolean validator with math, date-time or text-string terms" with the following boolean expression:

    {00141} = {00025}
    

    where {00141} is field code for "Work logged in transition (minutes)", and {00025} for Total time spent (minutes).

    It seems that you are using the just oposite validation, since you are using != operator.

  2. Bharath Kumar Kappala reporter

    awesome so I was using the wrong field, any ways thanks for the help as always @fcarmario

  3. Log in to comment