-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
None
-
Affects Version/s: 7.13.0, 8.3.1
-
Component/s: System Administration - General Configuration, Webhooks
-
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
- Navigate to Jira Admin > System > General Settings
- Set the "User email visibility" to be "Show to logged in users only"
- Configure webhooks to trigger on "Comment created" and "Issue updated"
- This can be configured to a site like https://requestbin.com for testing
- Trigger both these event types:
- Add a comment into an issue
- Edit the issue and change a field value
- 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.
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