Make a transition available only when there are more than zero descendants

Follow

Comments

10 comments

  • Avatar
    Suzie Prince

    Hi Ariel


    You did not do anything wrong. Mingle currently does not support aggregate properties in the transition prerequisites (has section). Similarly it does not currently allow you to create a transition that is applicable once the value of a property is not (not set) or where the card's value is greater than some value. I think you would require these features before you could create the transition you describe.


    We have these stories in our backlog and are currently planning to make some improvements to workflow in our upcoming releases. If any aspects of your request are prioritised we will update this community.


    Thanks


    - Suzie

  • Avatar
    Ariel

    Hi Suzie,


    That makes sense. What about other ways to do the same? We were thinking to use MQL for creating a Card Property (Formula) that calculates the story´s number of children. If that is posible I think that property could be selected within the transition.


    Thoughts?


    Thanks again,


    Ariel

  • Avatar
    Suzie Prince

    Hi Ariel


    I am afraid the same applies to the formula properties - you can not use them in transitions. In addition you can not use MQL in formula properties yet either.


    I am afraid I can not think of a good way to restrict stories from being started unless tasks have been created.


    As I said before we do plan on making some enhancements to workflow functionlaity and we have been using scenarios like yours to help us write and plan our stories.


    Thanks


    - Suzie

  • Avatar
    susanscott

    I want this feature also.  Similar type of use case.  I want to require that a particular field has A VALUE (literally, any value that is not null) before a particular transition is applicable.

  • Avatar
    Suzie Prince

    Susan


    As I mentioned to Ariel we do have some workflow enhancements planned but in order to see if these will meet your requirements or to understand what we would need to do to support your requirements I have a couple questions for you.



    • Is the value you want to be set on the card that the transition will apply? Or a related card?

    • What type of property do you want to be set? A formula like Ariel or another property?


    Thanks


    - Suzie

  • Avatar
    susanscott

    Hi Suzie,


    Unfortunately I didn't write down the specifics when I noted what I wanted.  I was trying to create a transition for a specific card type, and the field I wanted to test was on that card.  I wanted to restrict the availability of that transition to cards where the field had already been set.  It was either a numeric property (like, you can't add this task to the current sprint until it has an estimate) or a tree property (like, you can't add this task to the current sprint until you've added it into the feature tree).


    Hope this helps.  In the future I'll take better notes when I have a new use case. :)


    susan

  • Avatar
    Suzie Prince

    Hey Susan


    Thanks so much for that. This information certainly helps understand what you want and it seems that we have functionality currently planned for our next release that would mean you could implement the workflow you want.


    Thanks again for the feedback.


    - Suzie

  • Avatar
    Ariel

    Hi suzie,


    my Use Case is pretty similar.


    What I would like to do is the following: Supose that stories contain an aggregate property to count how many tasks they have. What we need is to display the transition "Development in progress" for the stories only when the aggregate is greather than 0 (We want to ensure that at least one task is created for the story).


    Thanks,


    Ariel

  • Avatar
    Suzie Prince

    Thanks Ariel.

  • Avatar
    Suzie Prince

    This feature is now available in Mingle 3.0. To read more about Mingle 3.0 please see here.

Please sign in to leave a comment.