Rally Software

  • 1.  Multi-Project Webhook Expressions

    Posted Oct 15, 2018 03:38 PM

    Hello,

     

    I'm trying to create a webhook that will fire on certain changes within any of several projects. It seems the "equals one of" operator doesn't work with the project attribute, and the project operator doesn't allow an array for its value. Is there an expression that will match changes to a set of objects?

     

     

    Thanks for the help.



  • 2.  Re: Multi-Project Webhook Expressions
    Best Answer

    Broadcom Employee
    Posted Oct 15, 2018 08:58 PM

    Hi. 

    Unfortunately not. You will need to split it to multiple Webhooks.

     

    "Project" is a special operator. You can't use it as an Attribute but only as an operator. This is why the '~' (equals one of) isn't working cause that operator requires a construct of Attribute ID/Name. "Project" is an operator as you said which takes a value only (UUID of the project).

     

     

    On top of that the set of expressions requires all expressions to match (so using 'and' between the expressions and not 'or'), so you can't combine a few 'Project' based expressions. From the documentation, see:

     

     

    So, there isn't a way to combine it all in a single Webhook. You will need to create a Webhook definition for each individual project.

     

    I hope this helps. Let me know if any questions.

     

    Thanks,

    Sagi



  • 3.  Re: Multi-Project Webhook Expressions

    Posted Oct 16, 2018 12:35 PM

    Got it. Thank you!