Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login action does not log in the go-jira CLI #9

Open
chrisinajar opened this issue May 24, 2021 · 0 comments
Open

Login action does not log in the go-jira CLI #9

chrisinajar opened this issue May 24, 2021 · 0 comments

Comments

@chrisinajar
Copy link

The Login action should setup the go-jira cli to be authenticated using the same information it was passed so that you don't need to do it yourself.

basically, this should work:

      - 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: Setup CLI tool
        uses: atlassian/gajira-cli@master
        with:
          version: 1.0.27

      - name: Check ticket state
        run: |
          jira view ENG-1234

but instead it stalls out asking for a token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant