User email visibility is inconsistent with Webhooks

XMLWordPrintable

    • 7.13
    • 1
    • Severity 3 - Minor

      NOTE: This suggestion is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding suggestion.

      Issue Summary

      Currently the "User email visibility" setting affects webhooks by determining whether or not user emails are sent with the message body. However, the behaviour is inconsistent as certain webhook actions will include email address, while others do not.

      In this case, setting "Show to logged in users only" will result in:

      • "webhookEvent": "jira:issue_updated". - "issue_event_type_name": "issue_commented"
        • Email Displayed - YES
      • "webhookEvent": "comment_created".
        • Email Displayed - NO

      Steps to Reproduce

      1. Navigate to Jira Admin > System > General Settings
      2. Set the "User email visibility" to be "Show to logged in users only"
      3. Configure webhooks to trigger on "Comment created" and "Issue updated"
      4. Trigger both these event types:
        • Add a comment into an issue
        • Edit the issue and change a field value
      5. Examine the results

      Expected Results

      That both webhooks will show the same user data. Either have email address or not.

      Actual Results

      "Comment created" will not show the user email, but "Issue updated" will.

      vs

      Notes

      Have not tested all potential webhook events for this behaviour.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. comment-created.png
          comment-created.png
          42 kB
        2. issue-updated.png
          issue-updated.png
          40 kB

            Assignee:
            Unassigned
            Reporter:
            David Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: