-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
- Loading branch information
1 parent
7428578
commit 5c503ac
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
# ghh - GitHub Helper tool | ||
|
||
## `create-project-issue` | ||
|
||
Create project issue creates a new draft issue in a GitHub | ||
project board. Metadata can be added in the form of fields and | ||
users can be assigned. | ||
|
||
The command takes two inputs: a path to an issue body (markdown or plain text) | ||
and a path to a JSON document of metadata. The metadata file looks like this: | ||
|
||
```json | ||
{ | ||
"organization": "<your org>", | ||
"projectNumber": 42, | ||
"issueTitle": "<your issue title>", | ||
"assignees": [ | ||
"<login>" | ||
], | ||
"fields": { | ||
"Status": "<board column>", | ||
"field1": "value1", | ||
"field2": "value2" | ||
} | ||
} | ||
``` | ||
|
||
The project number is part of the URL of your target project board. | ||
|
||
![GitHub project board URL](assets/project-url.png) | ||
|
||
For boards with columns, the column is also a field. You can find the | ||
field name and the possible values in your project settings. | ||
|
||
![GitHub project settings](assets/project-settings.png) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.