Find issue keys from commit messages and transition them to status which you want
- name: Jira find and transition issues
uses: chontawee/gj-find-transition-issues@1.0.4
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
with:
issuetypes: Story,Bug
transitions: In Progress,In Progress
Environment Variables
- JIRA_BASE_URL - URL of Jira instance. Example: https://.atlassian.net
- JIRA_API_TOKEN - Access Token for Authorization. Example: HXe8DGg1iJd2AopzyxkFB7F2
- JIRA_USER_EMAIL - email of the user for which Access Token was created for. Example: human@example.com Arguments
- issuetypes - Type of issues on your workflow. They will map with
transitions
arguments. Example: Story,Bug - transitions - Transitions status which you want to move. They will depends on
issuetypes
argument. Example: In Progress,To Do Note: Relationship betweenissuetypes
andtransitions
argument be shown below Exampleissuetypes
isStory,Bug
andtranstions
isIn Progress, To Do
Issue Types | Transitions To |
---|---|
Story | In Progress |
Bug | To Do |