Created
June 16, 2022 15:20
-
-
Save bbredewold/4ae3fe50e7b55bda68f5de307872200f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
transition-issue: | |
name: Transition to Review | |
runs-on: ubuntu-latest | |
if: ${{ !github.event.pull_request.draft }} | |
steps: | |
- name: Login | |
uses: atlassian/gajira-login@master | |
env: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
- name: Jira Find issue key | |
uses: atlassian/[email protected] | |
with: | |
string: ${{ github.event.ref }} | |
- name: Transition issue | |
uses: atlassian/gajira-transition@master | |
with: | |
issue: ${{ steps.create.outputs.issue }} | |
transition: "In progress" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment