Comments (7)
That's because issues and pull requests are tied to a user or organisation. Until now there is no way to easily cross reference issues/projects.
from project-beta-automations.
@boojamya thank you for reporting this problem. Can you please try to add the following right to your "GH App Auth": Repo: Contents: RW
. I've read a few similar posts, and it may be that this solves the problem.
from project-beta-automations.
Permission added.
Unfortunately getting the same output.
from project-beta-automations.
I have checked my installations and they work as expected.
The following images show my configured permissions:
from project-beta-automations.
Verifying those permissions fixed it! Appreciate it.
This may have been user error the whole time. Thanks for the quick responses.
Feel free to close, but I have one more question.
Say the Project Board was created under "Organization A" and you want to add issues created by a repo under "Organization B"
Have you had any luck/attempted adding issues from another organization/user you have access to?
On B, I set up all the secrets to point to the App created on Org A, created the workflow.yaml file. I'm getting this log:
++ gh api graphql --header 'GraphQL-Features: projects_next_graphql' -f 'query=
mutation($project:ID!, $resource_id:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $resource_id}) {
projectNextItem {
id
}
}
}' -f project=xxxxxxxxxxx -f resource_id=xxxxxxxxx --jq .data.addProjectNextItem.projectNextItem.id
**gh: Could not resolve to a node with the global id of 'xxxxxxxxx'.**
I realize this could be out of scope, just seeing if you have insight here.
from project-beta-automations.
It is possible to add the issue to a card, but the output does not reflect the status. E.g. Issue --> Projects --> "None yet".
You can refer to other issues by adding an "item" to a card and enter the full path to the issue.
Example: <organization/user>/<repository>#<issue-id>
from project-beta-automations.
Ahh yes. I know you can reference other issues by simply pasting the URL of the issue in the "+" section as well.
Just couldn't get it to work with this workflow file.
from project-beta-automations.
Related Issues (20)
- [BUG] status_value is required HOT 2
- [BUG]: No Cards landing on my project board even though the action completes successfully HOT 2
- [Feature Request]: Provide ability to relabel issues based on the project_card moved event or examples if already supported HOT 3
- Automations start failing HOT 8
- [Feature Request] Support for self-hosted runners, where `gh` client might not be present HOT 1
- [BUG] Cross-organization: 'This project item doesn't belong to correct owner' HOT 2
- [Feature Request] Add custom label while adding issue to a board HOT 5
- [BUG] "https://api.github.com/graphql": net/http: invalid header field value "token ***\n" for key Authorization HOT 5
- [Feature Request] Update to issue form HOT 1
- [feature request] move linked issues together with the pull request HOT 16
- [ BUG ]: Action fails (due to token permissions), but shows as successful HOT 2
- [ BUG ]: The single select option Id does not belong to the field HOT 5
- [ FEATURE REQUEST ]: Ability to configure what needs to be attached to a project/moved and what is not HOT 4
- [ FEATURE REQUEST ]: Ability to clear custom fields HOT 3
- [ BUG ]: Incomplete Architecture Support HOT 2
- [ FEATURE REQUEST ]: Support for Enterprise Customers HOT 1
- [ FEATURE REQUEST ]: Ability to ignore the automation when issues are created via "Add Item +" button in the board
- [ FEATURE REQUEST ]: Auto assign milestones
- [ BUG ]: Unable set custom Date field HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project-beta-automations.