GitHub Action
Jira Issue Transition
v3
Latest version
Transition Jira issue
Note: this action requires Jira Login Action
Example transition action:
- name: Transition issue
id: transition
uses: atlassian/gajira-transition@v3
with:
issue: GA-181
transition: "In progress"
}
The issue
parameter can be an issue id created or retrieved by an upstream action – for example, Create
or Find Issue Key
. Here is full example workflow:
on:
push
name: Test Transition Issue
jobs:
test-transition-issue:
name: Transition Issue
runs-on: ubuntu-latest
steps:
- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Create new issue
id: create
uses: atlassian/gajira-create@v3
- name: Transition issue
uses: atlassian/gajira-transition@v3
with:
issue: ${{ steps.create.outputs.issue }}
transition: "In progress"
- None
issue
(required) - issue key to perform a transition ontransition
- Case insensetive name of transition to apply. Example:Cancel
orAccept
transitionId
- transition id to apply to an issue
- None
issue
transitionId
- None