Find issue keys from commit messages and transition them to status which you want
- name: Jira find and transition issues
uses: saurabh-prakash/gj-find-transition-issues@main
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
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 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 |