Subtask Validator

Issue #43 resolved
Matthew Rotenbury created an issue

Hi Fidel -

I'm trying to set up a validator using this plugin to not allow a ticket to transition if certain subtask types are open while allowing other subtask types to remain open.

Example:

If I have a testing subtask and a validation subtask, when my ticket transitions from state 1 to state 2, I want to ensure that all testing subtasks have been closed. The validation subtask can remain open.

Is this a viable configuration utilizing the plugin that I can't quite figure out, or is it just not possible at this time?

Thanks, -Matt

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi Matt,

    Yes it is possible to implement it. You have to use validator "Validation on subtasks" with the configuration shown in the following screenshots:

    Captura de pantalla 2014-05-07 a la(s) 22.57.57.png

    Captura de pantalla 2014-05-07 a la(s) 22.58.08.png

    Captura de pantalla 2014-05-07 a la(s) 22.58.21.png

    Captura de pantalla 2014-05-07 a la(s) 22.58.32.png

    Once configure, transition will look like this:

    Captura de pantalla 2014-05-07 a la(s) 22.59.00.png

    Please, close this issue if this solution is valid for you.

    Regards,

    Fidel

  2. Matthew Rotenbury reporter

    Beautiful, that did it perfectly. I was missing the checkboxes at the bottom.

    Using the description of "Allowed Subtask Types"/statuses/resolutions was throwing me off since I wanted them all to be allowed.

  3. Log in to comment