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

Labels aren't applied successfully on created issues #54

Open
jesseadams opened this issue Sep 7, 2023 · 1 comment
Open

Labels aren't applied successfully on created issues #54

jesseadams opened this issue Sep 7, 2023 · 1 comment

Comments

@jesseadams
Copy link

In this example:

      - name: Create JIRA Issue
        id: create
        uses: atlassian/gajira-create@v3
        with:
          project: IL23
          issuetype: Task
          summary: CI Failure for ${{ github.repository }}
          description: Please see full details at https://github.com/${{ github.repository}}/actions/runs/${{ github.run_id }}
          fields: '{"labels": ["ExampleLabel"]}'

It creates the Task in JIRA for the correct project, but the label doesn't exist.

@joshkay10
Copy link
Contributor

Hi Jesse,
My team recently took over some of these actions, I went through the process from scratch and I am getting labels appear using the same syntax as you...

Would you be able to retry?

Unlikely, but can you double check that the actions were successful in your GitHub actions tab, just incase it returned an error.

    - name: Create
      id: create
      uses: atlassian/gajira-create@v3
      with:
        project: E2E
        issuetype: Task
        summary: Test task from GH
        description: details of things
        fields: '{"labels": ["ExampleLabel"]}'
        
        # Show me the new issue
    - name: Log created issue
      run: echo "Issue ${{ steps.create.outputs.issue }} was created"
        
Screenshot 2023-09-19 at 2 25 21 PM Screenshot 2023-09-19 at 2 25 10 PM

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

2 participants