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

[BUG]: No Cards landing on my project board even though the action completes successfully #30

Closed
ahuffman opened this issue Jan 26, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ahuffman
Copy link

Describe the bug
Setup actions for new issue and closed issue to move to a "Backlog" and "Done" status column respectively.
Action completes successfully, but no card appears on my board.

I am seeing this in the output of the action logs:

Run leonsteinhaeuser/project-beta-automations@v1.1.0
  with:
    gh_token: ***
    organization: MYORG
    project_id: 11
    resource_node_id: I_kwDOGtYcnM5Cfj4V
    status_value: Backlog
    operation_mode: status
  env:
    gh_project_id: 11
    gh_organization: MYORG
    proj_column_backlog: Backlog
    proj_column_done: Done
Run echo "***" | gh auth login --with-token
  echo "***" | gh auth login --with-token
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    gh_project_id: 11
    gh_organization: MYORG
    proj_column_backlog: Backlog
    proj_column_done: Done
Run /home/runner/work/_actions/leonsteinhaeuser/project-beta-automations/v1.1.0/entrypoint.sh "organization" "status" "MYORG" "11" "I_kwDOGtYcnM5Cfj4V" "Backlog"
  /home/runner/work/_actions/leonsteinhaeuser/project-beta-automations/v1.1.0/entrypoint.sh "organization" "status" "MYORG" "11" "I_kwDOGtYcnM5Cfj4V" "Backlog"
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    gh_project_id: 11
    gh_organization: MYORG
    proj_column_backlog: Backlog
    proj_column_done: Done
    GITHUB_TOKEN: ***
gh: Resource not accessible by integration
gh: Could not resolve to a node with the global id of 'null'
jq: error (at /tmp/api_response.json:0): Cannot iterate over null (null)
jq: error (at /tmp/api_response.json:0): Cannot iterate over null (null)
gh: Could not resolve to a node with the global id of 'null'

To Reproduce
Steps to reproduce the behavior:

  1. Using an organization name
  2. Using a project board ID. Can you add some detail into the docs on how to obtain the board ID properly? I'm assuming I'm using the correct integer, but that could be what's going wrong here.
  3. Using a ${{ secrets.GITHUB_TOKEN }}

Expected behavior
Issue cards appear on the project board in the proper status columns. I do not get any cards added anywhere to the project.

@ahuffman ahuffman added the bug Something isn't working label Jan 26, 2022
@leonsteinhaeuser
Copy link
Owner

leonsteinhaeuser commented Jan 26, 2022

Did you follow the steps to create the personal access token (PAT) with org:write permission?

If you did that and it still doesn't work, it would be great if you could provide the call to action you specified.

If you need the feature now, you could also downgrade the workflow version to v1.0.3 (custom fields are not supported).

@ahuffman
Copy link
Author

Thank you @leonsteinhaeuser, I clearly missed that step in the beginning of the documentation. Appreciate you taking the time to point me in the right direction. All is working now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants