-
Type:
Bug
-
Resolution: Not a bug
-
Priority:
Low
-
Component/s: Action - Issue Actions
-
None
-
Minor
-
Jira Software
Issue Summary
You can use an email address when editing a reporter field with the Edit issue action. For example, this email may be coming from a smart value as described in this KB article. However, providing an email address in the reporter field does not work on all sites, as some of them require providing the accountId instead to make it work.
Steps to Reproduce
Follow the steps described in this KB article to see if you can edit the reporter field by providing an email address. It works inconsistently as some sites require the accountId to make it work.
Expected Results
The Edit issue action should be able to populate correctly all user-picker fields with the email address on all sites.
Actual Results
The underlying API request supplies incorrect parameters to the request:
/rest/api/2/user?accountId=example.email%40site.com
It supplies the email address instead of the accountId that should be fetched as a previous step.
Workaround
The workaround is to use the Send web request action to query REST API in order to get the accountId. It's explained in this KB article.