gajira icon indicating copy to clipboard operation
gajira copied to clipboard

Login action does not log in the go-jira CLI

Open chrisinajar opened this issue 3 years ago • 0 comments

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

chrisinajar avatar May 24 '21 23:05 chrisinajar