Hi Sean,
Thanks for replying. Tried referencing the query to the State object, but the webhook doesn't seem to fire an HTTP post when the feature's state is "Done" (state/56754208490)
Please see the below snippet
$webhook = array(
'AppName' => "Test",
'AppUrl' => "https://www.test.com",
'Name' => "Feature Webhook",
'TargetUrl' => "https://www.sampleserver.com/v_0_0/php/example.php",
'ObjectTypes' => array("PortfolioItem/Feature"),
'Expressions' => array(
array(
'AttributeName' => "State",
'Operator' => "=",
'Value' => "state/56754208490"
),
array(
'AttributeName' => "Workspace",
'Operator' => "=",
'Value' => "00******-xxxx-xxxx-xxxx-xxxxxxxxxxx"
)
));
Also, tried removing the State filter from the expressions. Even then, HTTP post is not happening for the object PortfolioItem/Feature. Below is the snippet used without State filter -
$webhook = array(
'AppName' => "Test",
'AppUrl' => "https://www.test.com",
'Name' => "Feature Webhook",
'TargetUrl' => "https://www.sampleserver.com/v_0_0/php/example.php",
'ObjectTypes' => array("PortfolioItem/Feature"),
'Expressions' => array(
array(
'AttributeName' => "Workspace",
'Operator' => "=",
'Value' => "00******-xxxx-xxxx-xxxx-xxxxxxxxxxx"
)
));
Does Rally support webhooks for object type "PortfolioItem/Feature"? If yes, do we have any documentation about the list of objects supported by Rally for webhooks? An example request would be very helpful. Thanks in advance.