Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
6.4.10
-
6.04
-
1
-
Severity 3 - Minor
-
-
Description
The case:
In our apps, where we include collector, we want to set default values for name and email fields, so user does not have to type it by hand. It can be easily done because we have user context within application.
The problem:
When user is logged in to Jira those default values overrides real user's identity, so issue's reporter would be set based on name/email fields, not on user's Jira session.
In our organization each user has many email aliases, so it is possible that email from app context will be different to Jira's account email. So finally, if we set default email when configuring collector and user is logged in, but has different email on Jira, we can lose some reliable data because reporter in this issue could be default assignee (default email not matched) instead of real Jira user.
Possible workaround:
It could be possible to bypass this problem if determining user on the JS level (when configuring collector) would be possible. Real data isn't even required, only boolean flag if user has session. I have tried many ways, but most of them are blocked by same origin policy. I also wanted to get user from X-AUSERNAME header (additional request to collector's configuration), but without success.
Real solution:
Use Jira's session instead of name/email values passed from collector, especially since clicking "not you" does not allow to provide name and email (JRA-32342 / JRA-38869).
Attachments
Issue Links
- is related to
-
JRACLOUD-66658 Cannot change automatically detected user by JIRA Issue Collector form
- Closed