{"action":"created","comment":{"url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/comments/228997639","pull_request_review_id":169391901,"id":228997639,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODk5NzYzOQ==","diff_hunk":"@@ -0,0 +1,57 @@\n+﻿function Set-TdChange {\n+    <#\n+.SYNOPSIS\n+    Sort of sets a change, this is poorly supported by TOPdesk :/\n+.DESCRIPTION\n+    does most of the change setting, poorly supported by TOPdesk, read the .NOTES\n+.PARAMETER ChangeId\n+    Id of the Change Request to be altered\n+.PARAMETER BodyInput\n+    formatted input to match the example value linked to in the .NOTES\n+.PARAMETER Confirm\n+    If this switch is enabled, you will be prompted for confirmation before executing any operations that change state.\n+.PARAMETER WhatIf\n+    If this switch is enabled, no actions are performed but informational messages will be displayed that explain what would happen if the command were to run.\n+.EXAMPLE\n+    PS C:\\> Set-TdChange -ChangeId 'C1807-627' -BodyInput 'body text'\n+    sets the body of specified change. this api is poorly supported by TOPdesk\n+\n+.NOTES\n+    https://developers.topdesk.com/explorer/?page=change#/Working%20as%20an%20operator/patch_operatorChanges__identifier_","path":"TOPdeskPS/functions/Change Management/Set-TdChange.ps1","position":20,"original_position":20,"commit_id":"572965cda9f9e09f2e7be5636ccb94fd865a1f2a","original_commit_id":"572965cda9f9e09f2e7be5636ccb94fd865a1f2a","user":{"login":"mxiia","id":5335202,"node_id":"MDQ6VXNlcjUzMzUyMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/5335202?v=4","gravatar_id":"","url":"https://api.github.com/users/mxiia","html_url":"https://github.com/mxiia","followers_url":"https://api.github.com/users/mxiia/followers","following_url":"https://api.github.com/users/mxiia/following{/other_user}","gists_url":"https://api.github.com/users/mxiia/gists{/gist_id}","starred_url":"https://api.github.com/users/mxiia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxiia/subscriptions","organizations_url":"https://api.github.com/users/mxiia/orgs","repos_url":"https://api.github.com/users/mxiia/repos","events_url":"https://api.github.com/users/mxiia/events{/privacy}","received_events_url":"https://api.github.com/users/mxiia/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-10-29T16:19:35Z","updated_at":"2018-10-29T16:19:35Z","html_url":"https://github.com/AndrewPla/TOPdeskPS/pull/43#discussion_r228997639","pull_request_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/comments/228997639"},"html":{"href":"https://github.com/AndrewPla/TOPdeskPS/pull/43#discussion_r228997639"},"pull_request":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43"}},"in_reply_to_id":228980360},"pull_request":{"url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43","id":226588015,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NTg4MDE1","html_url":"https://github.com/AndrewPla/TOPdeskPS/pull/43","diff_url":"https://github.com/AndrewPla/TOPdeskPS/pull/43.diff","patch_url":"https://github.com/AndrewPla/TOPdeskPS/pull/43.patch","issue_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/43","number":43,"state":"open","locked":false,"title":"More commands","user":{"login":"mxiia","id":5335202,"node_id":"MDQ6VXNlcjUzMzUyMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/5335202?v=4","gravatar_id":"","url":"https://api.github.com/users/mxiia","html_url":"https://github.com/mxiia","followers_url":"https://api.github.com/users/mxiia/followers","following_url":"https://api.github.com/users/mxiia/following{/other_user}","gists_url":"https://api.github.com/users/mxiia/gists{/gist_id}","starred_url":"https://api.github.com/users/mxiia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxiia/subscriptions","organizations_url":"https://api.github.com/users/mxiia/orgs","repos_url":"https://api.github.com/users/mxiia/repos","events_url":"https://api.github.com/users/mxiia/events{/privacy}","received_events_url":"https://api.github.com/users/mxiia/received_events","type":"User","site_admin":false},"body":"### Requirements\r\n\r\n* This template is required. Any request that does not include enough information may be closed at the maintainers' discretion.\r\n* Have you (put an X between the brackets on each line to confirm):\r\n    * [ ] Written new test cases to ensure no regression bugs occur?\r\n    * [x] Ensured all test cases are now passing?\r\n    * [x] Ensured that PowerShell Script Analyser issues and warnings are completely resolved?\r\n    * [x] Updated any help or documentation that may be impacted by your changes?\r\n\r\n### Description of the Change\r\n\r\n[ Additional commands including most of Change Management  ]\r\n\r\n### Testing\r\n\r\n[ all Pester tests pass ]\r\n\r\n### Associated/Resolved Issues\r\n\r\n[ Enter any applicable issues here ]\r\n\r\n> Note: By creating a pull request, you are expected to comply with this project's Code of Conduct.\r\n\r\n<!--\r\n\r\n    This template is based upon the work by the Atom project, https://github.com/atom/atom/\r\n\r\n-->\r\n","created_at":"2018-10-29T14:46:07Z","updated_at":"2018-10-29T16:19:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ddc1c50f49fdccebd3c264d1cfa8f75854eb84a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43/commits","review_comments_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43/comments","review_comment_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/43/comments","statuses_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/statuses/572965cda9f9e09f2e7be5636ccb94fd865a1f2a","head":{"label":"AndrewPla:More-Commands","ref":"More-Commands","sha":"572965cda9f9e09f2e7be5636ccb94fd865a1f2a","user":{"login":"AndrewPla","id":32366464,"node_id":"MDQ6VXNlcjMyMzY2NDY0","avatar_url":"https://avatars1.githubusercontent.com/u/32366464?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewPla","html_url":"https://github.com/AndrewPla","followers_url":"https://api.github.com/users/AndrewPla/followers","following_url":"https://api.github.com/users/AndrewPla/following{/other_user}","gists_url":"https://api.github.com/users/AndrewPla/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewPla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewPla/subscriptions","organizations_url":"https://api.github.com/users/AndrewPla/orgs","repos_url":"https://api.github.com/users/AndrewPla/repos","events_url":"https://api.github.com/users/AndrewPla/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewPla/received_events","type":"User","site_admin":false},"repo":{"id":140300763,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMDA3NjM=","name":"TOPdeskPS","full_name":"AndrewPla/TOPdeskPS","private":false,"owner":{"login":"AndrewPla","id":32366464,"node_id":"MDQ6VXNlcjMyMzY2NDY0","avatar_url":"https://avatars1.githubusercontent.com/u/32366464?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewPla","html_url":"https://github.com/AndrewPla","followers_url":"https://api.github.com/users/AndrewPla/followers","following_url":"https://api.github.com/users/AndrewPla/following{/other_user}","gists_url":"https://api.github.com/users/AndrewPla/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewPla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewPla/subscriptions","organizations_url":"https://api.github.com/users/AndrewPla/orgs","repos_url":"https://api.github.com/users/AndrewPla/repos","events_url":"https://api.github.com/users/AndrewPla/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewPla/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AndrewPla/TOPdeskPS","description":"PowerShell module to interact with the TOPdesk API","fork":false,"url":"https://api.github.com/repos/AndrewPla/TOPdeskPS","forks_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/forks","keys_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/teams","hooks_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/hooks","issue_events_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/events","assignees_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/tags","blobs_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/languages","stargazers_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/stargazers","contributors_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/contributors","subscribers_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/subscribers","subscription_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/subscription","commits_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/merges","archive_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/downloads","issues_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/labels{/name}","releases_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/deployments","created_at":"2018-07-09T14:53:16Z","updated_at":"2018-10-18T15:45:32Z","pushed_at":"2018-10-29T14:46:07Z","git_url":"git://github.com/AndrewPla/TOPdeskPS.git","ssh_url":"git@github.com:AndrewPla/TOPdeskPS.git","clone_url":"https://github.com/AndrewPla/TOPdeskPS.git","svn_url":"https://github.com/AndrewPla/TOPdeskPS","homepage":null,"size":440,"stargazers_count":5,"watchers_count":5,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":7,"watchers":5,"default_branch":"Development"}},"base":{"label":"AndrewPla:Development","ref":"Development","sha":"a60f1810b61b66d60f4fdd356fefdbee8b4abef4","user":{"login":"AndrewPla","id":32366464,"node_id":"MDQ6VXNlcjMyMzY2NDY0","avatar_url":"https://avatars1.githubusercontent.com/u/32366464?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewPla","html_url":"https://github.com/AndrewPla","followers_url":"https://api.github.com/users/AndrewPla/followers","following_url":"https://api.github.com/users/AndrewPla/following{/other_user}","gists_url":"https://api.github.com/users/AndrewPla/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewPla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewPla/subscriptions","organizations_url":"https://api.github.com/users/AndrewPla/orgs","repos_url":"https://api.github.com/users/AndrewPla/repos","events_url":"https://api.github.com/users/AndrewPla/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewPla/received_events","type":"User","site_admin":false},"repo":{"id":140300763,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMDA3NjM=","name":"TOPdeskPS","full_name":"AndrewPla/TOPdeskPS","private":false,"owner":{"login":"AndrewPla","id":32366464,"node_id":"MDQ6VXNlcjMyMzY2NDY0","avatar_url":"https://avatars1.githubusercontent.com/u/32366464?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewPla","html_url":"https://github.com/AndrewPla","followers_url":"https://api.github.com/users/AndrewPla/followers","following_url":"https://api.github.com/users/AndrewPla/following{/other_user}","gists_url":"https://api.github.com/users/AndrewPla/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewPla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewPla/subscriptions","organizations_url":"https://api.github.com/users/AndrewPla/orgs","repos_url":"https://api.github.com/users/AndrewPla/repos","events_url":"https://api.github.com/users/AndrewPla/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewPla/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AndrewPla/TOPdeskPS","description":"PowerShell module to interact with the TOPdesk API","fork":false,"url":"https://api.github.com/repos/AndrewPla/TOPdeskPS","forks_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/forks","keys_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/teams","hooks_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/hooks","issue_events_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/events","assignees_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/tags","blobs_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/languages","stargazers_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/stargazers","contributors_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/contributors","subscribers_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/subscribers","subscription_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/subscription","commits_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/merges","archive_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/downloads","issues_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/labels{/name}","releases_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewPla/TOPdeskPS/deployments","created_at":"2018-07-09T14:53:16Z","updated_at":"2018-10-18T15:45:32Z","pushed_at":"2018-10-29T14:46:07Z","git_url":"git://github.com/AndrewPla/TOPdeskPS.git","ssh_url":"git@github.com:AndrewPla/TOPdeskPS.git","clone_url":"https://github.com/AndrewPla/TOPdeskPS.git","svn_url":"https://github.com/AndrewPla/TOPdeskPS","homepage":null,"size":440,"stargazers_count":5,"watchers_count":5,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":7,"watchers":5,"default_branch":"Development"}},"_links":{"self":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43"},"html":{"href":"https://github.com/AndrewPla/TOPdeskPS/pull/43"},"issue":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/43"},"comments":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/AndrewPla/TOPdeskPS/statuses/572965cda9f9e09f2e7be5636ccb94fd865a1f2a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mxiia"}}