Rules

Trigger a rule

Trigger a rule which uses an "incoming web request" trigger.

post/rule_triggers/{rule_trigger_gid}/run

Request

  • Base URL: https://app.asana.com/api/1.0
  • URL: https://app.asana.com/api/1.0/rule_triggers/{rule_trigger_gid}/run
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token)

Request body

Example request

{
  "data": {
    "resource": "12345",
    "action_data": {
      "jira_ticket_name": "Test",
      "jira_ticket_id": "123"
    }
  }
}

Response

Successfully triggered a rule.

Example response

{
  "data": {
    "message": "Successfully saved the payload and ran the rule"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.