Hello
I would like to trigger a JIRA issue transition using the jira-transition:0.2.2
script:
- pipe: atlassian/jira-transition:0.2.2
variables:
JIRA_BASE_URL: $JIRA_BASE_URL
JIRA_USER_EMAIL: $JIRA_USER_EMAIL
JIRA_API_TOKEN: $JIRA_API_TOKEN
ISSUE: $BITBUCKET_BRANCH
TRANSITION: "Done"the problem lies with the parameter ISSUE. In the documentation it is stated that on can specify either: ISSUE: 'ABC-123' or use the variable $BITBUCKET_BRANCH
not sure what the $BITBUCKET_BRANCH variable does?, but it is empty when I run it.
What I would like to achieve is: ISSUE: 'ABC-123, ABC-345, ABC-567, etc'.
So that the transition is done one multiple issues based on the commit.
The API is setup and the connection with JIRA is done. So the only thing left ist to get the transition on multiple issues working.
Is there a way to get all the Issue keys of the current git hash / pipeline build that is currently running?
Kind Regards
Chris