-
Bug
-
Resolution: Won't Fix
-
High
-
20
-
Severity 3 - Minor
-
3
-
Issue summary
When using Jira integration with Bitbucket Cloud or GitHub, if the workflow is configured to automatically trigger a transition and change the status (e.g., from "To Do" to "In Progress") when a branch is created, Jira will display the last user who committed on the source branch as the author of the status change in the issue history.
This occurs even if that user's account is suspended and they lack the permissions in Jira to make such a status change. Consequently, it is highly likely that the work item history within Jira will be inaccurate, as it may incorrectly attribute the status update to someone unrelated to the specific issue.
This is reproducible on Data Center: no
Steps to Reproduce
- Integrate Jira Cloud with Bitbucket Cloud or GitHub
- Configure a project and edit the workflow to trigger a transition when a Branch is created.
- Add a post-function to assign the issue to the current user.
- Open a Jira issue and select Create branch and create it.
Expected Results
Optimal results would be The issue is transitioned and assigned to the user who created the branch.
But this is a known issue and as detailed in the following Documentation this should trigger as an "anonymous" user per Atlassian Documentation on the feature:
The correct user is only shown on the 'History' and 'Activity' tabs for work items in Jira, and in notification emails. In other notifications (e.g. 'Transitions' tab for work items) an anonymous user is shown.
Do nothing.
This is a known issue that will be fixed in a future release.
The Bitbucket email address and username of the user who actioned the pull request. Note, the Bitbucket user needs to have made at least one commit (with that email address configured for their profile), otherwise the pull request cannot be mapped to a Jira user. This means that the work item will be transitioned as an anonymous user. |
Actual Results
The issue is transitioned and assigned to the last user who made the last commit on that branch
NOTING: This does also include users that do not have access to Jira and are flagged as inactive triggering investigations into suspected security breaches due to access bypass concerns. Issue history show a user action that could not have occurred
Suggested Fix
It would be advantageous if the integration between Bitbucket Cloud or GitHub and Jira reported the branch creator or the authenticated user at the time of the change, rather than attributing the status update to the author of the last commit on the source branch.
See Related Feature Request:
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.
- is cloned from
-
BCLOUD-22482 Show who created the branch when a jira card is updated via a branch creation trigger
-
- Closed
-
- is duplicated by
-
JRACLOUD-94658 Show who created the branch when a jira card is updated via a branch creation trigger
- Gathering Interest
- is related to
-
JSWCLOUD-21114 The option "User who triggered the event" does not work for Branch created trigger in Jira automation
-
- Closed
-
-
JRACLOUD-86070 Option to set the Jira Issue History Actor when using GitHub For Jira App integration
- Gathering Interest
-
JRACLOUD-94660 Jira should use the branch creator or the authenticated user during branch create
- Gathering Interest
- is action for
-
HOT-117519 Loading...