❓PLEASE HELP - API is not working to link PR with issue through PR description OR PR comment #53314
Replies: 2 comments 1 reply
-
|
@queenofcorgis any solution? please help |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
By adding a new own github token with required permission we have achieved this. Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Body
Hi Devs
We want to automate one workflow through issue comments,
which should create a new branch and PR & After creating a new PR we need to link it with the same issue from which we triggered this automation (from issue comments).
But as per github docs we can link a pull request to an issue using a keyword only.
So we are adding keywords like "Fixes #<Issue_Number>" in PR description and comment by github action but it's not linking PR with issues.
But after running above automation as written below
The PR number is being mentioned in issue history as shown in the below image.

But newly created PR is not being linked with issue.
And after, when we edit & save PR description or comment without even adding any text there from github UI then github understands it and links the PR with the mentioned issue number.
Please help to solve this.
Thanks
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions