-
Type:
New Feature
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: bitbucket-branch-source-plugin, branch-api-plugin
-
Labels:None
-
Similar Issues:
I need to get JIRA issue key from the name of the branch, but from the PR build I cannot obtain in. Source branch name is not listed in the 'env' list. It would be useful if we could somehow obtain the source branch name from the PR build

I updated to the latest 2.0.11 but still I can't get the source branch name. It's always set to "PR-" but I think it should be set to `head.ref` from Github api?