Able to pass the "Affected Services" while creating Alert via API

XMLWordPrintable

    • 9
    • 13

      Problem

      The Create alert API is not giving the option to pass the Affected services information to the alert:
      https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-v1-alerts-post 

      Suggested Solution

      The Create API should include Affected Services.

      Workaround

      You can post to the web API endpoint and include a service.

       

      URL: https://api.atlassian.com/jsm/ops/web/{cloudId}/v1/alerts/
      body:
      {
        "message":"testing api",
        "services":[
          "{serviceId}"
        ]
      }

       

       

              Assignee:
              Unassigned
              Reporter:
              Harshitha Devarasetti
              Votes:
              14 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: