-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat(github): add function to clear item values in GitHub project #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1155ba7
feat(github): add function to clear item values in GitHub project
rulasg 80e1dc8
test(project_items_staged): add GitHub_ClearProjectV2ItemFieldValue t…
rulasg 7525616
refactor(project_database_Async.ps1): remove duplicated Sync-Project …
rulasg c5c51a7
feat(project_database): add command alias for clearing GitHub project…
rulasg d1ebca9
feat(invokeCommand): add async mock call functions for JSON and stand…
rulasg 32da7eb
test(project_items_staged): add async test for clearing project item …
rulasg ccb08b5
fix: remove trailing whitespace (PSAvoidTrailingWhitespace)
rulasg ef3a4a4
fix: correct Write-Information parameter usage (PSUseCmdletCorrectly)
rulasg 11e3a9e
fix: correct null comparison order (PSPossibleIncorrectComparisonWith…
rulasg f74947f
fix(PSProvideCommentHelp): add comment help to exported functions
rulasg 3a82acf
fix(PSProvideCommentHelp): add comment help to more exported functions
rulasg c3f28a8
fix(powershell.yml): update upload-sarif action to version 3
rulasg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| { | ||
| "data": { | ||
| "updateProjectV2ItemFieldValue": { | ||
| "projectV2Item": { | ||
| "content": { | ||
| "__typename": "DraftIssue", | ||
| "id": "DI_lADOBCrGTM4ActQazgFYYPQ", | ||
| "body": "", | ||
| "title": "kk text" | ||
| }, | ||
| "id": "PVTI_lADOBCrGTM4ActQazgMuXXc", | ||
| "fieldValues": { | ||
| "nodes": [ | ||
| { | ||
| "__typename": "ProjectV2ItemFieldUserValue", | ||
| "users": { | ||
| "nodes": [ | ||
| { | ||
| "login": "rulasg" | ||
| } | ||
| ] | ||
| }, | ||
| "field": { | ||
| "__typename": "ProjectV2Field", | ||
| "id": "PVTF_lADOBCrGTM4ActQazgSkYnA", | ||
| "name": "Assignees", | ||
| "dataType": "ASSIGNEES" | ||
| } | ||
| }, | ||
| { | ||
| "__typename": "ProjectV2ItemFieldTextValue", | ||
| "text": "kk text", | ||
| "field": { | ||
| "__typename": "ProjectV2Field", | ||
| "id": "PVTF_lADOBCrGTM4ActQazgSkYm8", | ||
| "name": "Title", | ||
| "dataType": "TITLE" | ||
| } | ||
| }, | ||
| { | ||
| "__typename": "ProjectV2ItemFieldSingleSelectValue", | ||
| "name": "Todo", | ||
| "field": { | ||
| "__typename": "ProjectV2SingleSelectField", | ||
| "id": "PVTSSF_lADOBCrGTM4ActQazgSkYnE", | ||
| "name": "Status", | ||
| "dataType": "SINGLE_SELECT", | ||
| "options": [ | ||
| { | ||
| "id": "f75ad846", | ||
| "name": "Todo" | ||
| }, | ||
| { | ||
| "id": "47fc9ee4", | ||
| "name": "In Progress" | ||
| }, | ||
| { | ||
| "id": "98236657", | ||
| "name": "Done" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "__typename": "ProjectV2ItemFieldSingleSelectValue", | ||
| "name": "Nice⭐️", | ||
| "field": { | ||
| "__typename": "ProjectV2SingleSelectField", | ||
| "id": "PVTSSF_lADOBCrGTM4ActQazgSl5ME", | ||
| "name": "Severity", | ||
| "dataType": "SINGLE_SELECT", | ||
| "options": [ | ||
| { | ||
| "id": "2d190e20", | ||
| "name": "Critical⭐️⭐️⭐️⭐️" | ||
| }, | ||
| { | ||
| "id": "94d0bf94", | ||
| "name": "Important⭐️⭐️⭐️" | ||
| }, | ||
| { | ||
| "id": "ea848251", | ||
| "name": "Needed⭐️⭐️" | ||
| }, | ||
| { | ||
| "id": "c99f6d55", | ||
| "name": "Nice⭐️" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "__typename": "ProjectV2ItemFieldNumberValue", | ||
| "number": 8.0, | ||
| "field": { | ||
| "__typename": "ProjectV2Field", | ||
| "id": "PVTF_lADOBCrGTM4ActQazgSl5WM", | ||
| "name": "UserStories", | ||
| "dataType": "NUMBER" | ||
| } | ||
| }, | ||
| { | ||
| "__typename": "ProjectV2ItemFieldNumberValue", | ||
| "number": 666.0, | ||
| "field": { | ||
| "__typename": "ProjectV2Field", | ||
| "id": "PVTF_lADOBCrGTM4ActQazgSkglc", | ||
| "name": "TimeTracker", | ||
| "dataType": "NUMBER" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Check warning
Code scanning / PSScriptAnalyzer
The variable 'transcript' is assigned but never used. Warning