Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-5132

JSD Internal comment webhooks don't have comment visibility set - results in unexpected leaking of internal comments

    XMLWordPrintable

Details

    Description

      Webhook payloads for comments made through the "JSD Respond To Customer/Internal" comment UI doesn't seem to apply standard JIRA comment visibility levels (which do populate correctly in webhooks). As a result the comment received can only be evaluated as exactly that, resulting in follow on processing that the user did not expect.

      Example JSD internal notification webhook payload:

        "body": "Hey, does andy get this (test) -- entered via service desk internal comment mode....",
                  "updateAuthor": {
                    "self": "https://thepluginpeople.atlassian.net/rest/api/2/user?username=abrook",
                    "name": "abrook",
                    "key": "abrook",
                    "emailAddress": "javahollic at gmail dot com",
                    "avatarUrls": {
                      "48x48": "https://thepluginpeople.atlassian.net/secure/useravatar?ownerId=abrook&avatarId=11460",
                      "24x24": "https://thepluginpeople.atlassian.net/secure/useravatar?size=small&ownerId=abrook&avatarId=11460",
                      "16x16": "https://thepluginpeople.atlassian.net/secure/useravatar?size=xsmall&ownerId=abrook&avatarId=11460",
                      "32x32": "https://thepluginpeople.atlassian.net/secure/useravatar?size=medium&ownerId=abrook&avatarId=11460"
                    },
                    "displayName": "Andy Brook",
                    "active": true,
                    "timeZone": "Europe/Dublin"
                  },
                  "created": "2015-02-09T16:17:18.086+0000",
                  "updated": "2015-02-09T16:17:18.086+0000"
      

      I don't know how JSD implements Private/Public commenting, but its odd that comment visibility isn't used /set ?

      I'd appreciate any pointers on how I can detect whether a comment is 'internal' or not?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cd3cc7134331 Andy Brook
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: