Rally Software

 View Only
Expand all | Collapse all

Webook not firing when project and not null conditions are added to Expression

  • 1.  Webook not firing when project and not null conditions are added to Expression

    Posted Sep 04, 2018 04:57 AM

    Hi Rally Team,
    I am trying to create webhooks in rally that fit a specific criteria.
    Eg: for a specific workspace, specific project, object type = Defect, status changed-toClosed, Resolution= Code Change and FixedInBuild not null a notification should be sent to a specific API.
    However, every time I try to add the condition for project and/or FixedInBuild not null the webhook stops working/ sending notifications.
    I receive no error during webhook creation/update and if those 2 conditions are removed it starts sending notifications when the rest of the criteria are met.
    There is nothing in the API/webhook docuemntation to explain this issue:
    https://rally1.rallydev.com/apps/pigeon/docs/webhooks
    Please let me know how to fix this as it is hindering our project progress.
    I have attached the webhook expressions I want to create below.
    {
    "AppName": "my-rally-integration",
    "AppUrl": "https://my-rally-integration-humble-kangaroo.run.aws-usw02-pr.ice.predix.io",
    "Name": "Defect Schedule Status Change to Complete",
    "TargetUrl": "https://my-rally-integration-humble-kangaroo.run.aws-usw02-pr.ice.predix.io/defect_schedule_status_complete",
    "ObjectTypes": ["Defect"],
    "Expressions": [
    {
    "AttributeName": "Workspace",
    "Operator": "=",
    "Value": "Workspace_UUID"
    },
    {
    "AttributeID": "e0caf6dd-304b-447e-9d61-09ac9c96e85a",
    "Operator": "changed-to",
    "Value": "Closed"
    },
    {
    "AttributeID": "301c3b83-a1f8-408c-883a-634d51493e60",
    "Operator": "=",
    "Value": "Code Change"
    },
    {
    "Operator": "project",
    "Value": "project_UUID"
    },
    {
    "AttributeID": "17dfce97-f137-4892-93a7-b33b181b0690",
    "Operator": "has"
    }
    ],
    "CreatedBy": "Some Developer",
    "Disabled": false
    }


    If I remove the condition for project and the not null
    {
    "Operator": "project",
    "Value": "project_UUID"
    },
    {
    "AttributeID": "17dfce97-f137-4892-93a7-b33b181b0690",
    "Operator": "has"
    }
    The notification is received as expected but on adding one or both of these conditions we recieve no notification even though the webhook itself is created/updated successfully.

    Any suggestions/help on what is going wrong would be much appreciated. 

     

    Thanks and Regards,
    Khushnuma Daruwala



  • 2.  Re: Webook not firing when project and not null conditions are added to Expression
    Best Answer

    Posted Sep 04, 2018 06:45 AM

    Khushnuma,

     

    We have the case you created about this and will work with you via that case.  Testing this currently to see what the issue may be.

     

    Michael