-
Bug
-
Resolution: Fixed
-
High
-
None
-
25
-
Minor
-
1
-
Issue Summary
When using GitHub app or Bitbucket integration along with workflow triggers, the workflow transitions are shown as performed by Anonymous users
Steps to Reproduce
- Connect your project with the GitHub for Jira app.
- Configure your workflow triggers so that PullRequestCreated or PullRequestMerged transition your issue accordingly.
- Create or merge a pull request.
Expected Results
The user account who has performed the changes in GitHub is mapped correctly to a user on the issue history.
Actual Results
The issue history for the transition states that it was performed by an anonymous user.
This is despite confirming that with a smart commit using:
[Issue-Key]#comment TestComment
the comments are created with the correct user name, so it is able to identify the user from the commit operations but not for the workflow triggers.
Workaround
Currently there is no known workaround for this behavior.
- is related to
-
JRACLOUD-90067 Replace Anonymous user with a system user If there is no matching username
- Gathering Interest
The bug in Pullrequest transitions was fixed in February.
The behaviour for branch transitions is expected and documented in https://support.atlassian.com/jira-cloud-administration/docs/configure-workflow-triggers. The trigger will still be executed by anonymous users for Bitbucket and Github. Customers raising tickets because they don't want triggers to be executed with anonymous users would be a feature request, not a bug.
"How triggers relate to other workflow operations/constraints
When a transition is triggered automatically, it ignores any conditions, validators or permissions configured on the transition.
However, post functions are still executed. You need to be careful that if your post function requires a user, that your transition will not be executed by an anonymous user (see user mapping section above)."