When OAuth 2.0 is used for ALM authentication and comments are submitted by users using the Web Runner, the "apikey" portion of the OAuth credentials is synced as the "comment author" in the target application instead of the actual commenter.
Steps to Reproduce
- Create an ALM connection that uses OAuth 2.0
- Set up an automation between Rally Defects and ALM Defects
- On the Entity Mapping screen, enable "Include Author Name in Comment"
- On the Field Mapping screen, map Rally Discussion to ALM Comments
- Save and enable the automation
- In ALM, create a second user and add them to the project. This user should be different than the ConnectALL sync user.
- Log in to the ALM Web Runner with the second user (NOT the desktop client)
- Create a Defect in ALM. Click "Add comment" to add a comment.
- Observed the Defect sync to Rally
- Observe the "apikey" portion of the OAuth credentials in the Rally Discussion
Expected Results:
Only ALM content should flow in Rally discussion field.
Actual Results:
"apikey" portion of the OAuth credentials along with ALM comments going in the Rally Discussion