[Issue #1944] Script to create issues from CLI #1952
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This script allows engineers to create tickets from the CLI and set the value of columns on a project
Fixes #1944
Time to review: 5 mins
Changes proposed
.github/linters/queries/get-single-select-field.graphql
to query IDs for project fields.github/linters/scripts/create-issue.sh
to create issue and update project fieldsContext for reviewers
Note: The values passed to the following flags are case sensitive and require exact matches to work. The script will fail if they don't match what's in GitHub. Making them case insensitive within the script is a non-trivial effort.
--labels
--deliverable
--track
--status
Additional information
Here's an example issue that was created using the following command executed from within the
.github/linters/
sub-directory