IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Opsgenie'
  1. Opsgenie
  2. OPSGENIE-2132

Unable to update some configuration for slack integration via API

      Issue Summary

      When trying to update existing Slack integration via an API request. The following fields (retrieved via GET request) are not updated.

      1. sendAlertActions
      2. sendDescription
      3. sendRoutedTeams

      Steps to Reproduce

      1. Create a Slack integration
      2. Use the Get integration API to fetch the Slack integration details
      3. Copy the response and update the values for the above field to either true or false
      4. Use the update integration API and then paste the updated response into the body and complete the request
      5. Use the Get Integration API again to see if the values have been updated
      6. The values are not updated

      Expected Results

      The documentation states that you should copy the response from the Get Integration API call and then pass the values you want to be updated using the Update Integration API.

      Passing the fields retrieved from the GET request for the Slack integration via the Update integration API should update the passed fields.

      Actual Results

      The following fields are not updated:

      1. sendAlertActions
      2. sendDescription
      3. sendRoutedTeams

      Workaround

      The fields can be updated via UI by going into the integration.

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Opsgenie'
            1. Opsgenie
            2. OPSGENIE-2132

            Unable to update some configuration for slack integration via API

                Issue Summary

                When trying to update existing Slack integration via an API request. The following fields (retrieved via GET request) are not updated.

                1. sendAlertActions
                2. sendDescription
                3. sendRoutedTeams

                Steps to Reproduce

                1. Create a Slack integration
                2. Use the Get integration API to fetch the Slack integration details
                3. Copy the response and update the values for the above field to either true or false
                4. Use the update integration API and then paste the updated response into the body and complete the request
                5. Use the Get Integration API again to see if the values have been updated
                6. The values are not updated

                Expected Results

                The documentation states that you should copy the response from the Get Integration API call and then pass the values you want to be updated using the Update Integration API.

                Passing the fields retrieved from the GET request for the Slack integration via the Update integration API should update the passed fields.

                Actual Results

                The following fields are not updated:

                1. sendAlertActions
                2. sendDescription
                3. sendRoutedTeams

                Workaround

                The fields can be updated via UI by going into the integration.

                        Unassigned Unassigned
                        ad7c4ffcfed3 Sean Suwal
                        Votes:
                        1 Vote for this issue
                        Watchers:
                        4 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            Unassigned Unassigned
                            ad7c4ffcfed3 Sean Suwal
                            Affected customers:
                            1 This affects my team
                            Watchers:
                            4 Start watching this issue

                              Created:
                              Updated:
                              Resolved: