create-app-attachment-github-action icon indicating copy to clipboard operation
create-app-attachment-github-action copied to clipboard

Asana project links cause failures

Open xiongchiamiov opened this issue 3 years ago • 1 comments

We had a PR that had a link to a task, but also included a link to a project as part of the description context:

  • https://app.asana.com/0/1201827650263800/1201827650263800 (project)
  • https://app.asana.com/0/1201602067282161/1201832272908793/f (task)

When the task ran, it attempted to update both of these as tasks. The task one succeeded, but the project failed, leading to a failed status on the check:

[
  {
    task: '1201827650263800',
    result: 'GitHub Action failed because of: [task: Not a recognized ID: 1201827650263800]'
  },
  { task: '1201832272908793', result: 'added a widget' }
]
Error: Request failed with status code 400

There are a couple different things that could happen here, but I think what I would expect is for project links to be ignored - either silently, or logged in the output as being skipped.

xiongchiamiov avatar Mar 29 '22 18:03 xiongchiamiov

Also experiencing this issue + would really appreciate a fix!

katelillemoen avatar Jun 02 '22 15:06 katelillemoen