{"action":"created","comment":{"url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments/38274356","id":38274356,"diff_hunk":"@@ -0,0 +1,26 @@\n+name: create_issue\n+runner_type: run-python\n+description: Create an issue\n+enabled: true\n+entry_point: create_issue.py\n+parameters:\n+  repo:\n+    type: string\n+    description: Name of the repo\n+    required: true\n+  title:\n+    type: string\n+    description: Title of the issue to create\n+    required: true\n+  desc:\n+    type: string\n+    description: Description of the issue to create\n+    required: true\n+  status:\n+    type: string\n+    description: status of the issue, for example, bug, enahancement, proposal\n+    required: true\n+  kind:","path":"packs/bit-bucket/actions/create_issue.yaml","position":23,"original_position":23,"commit_id":"cca652d41bcf24753d170f49e7a645826e56d12d","original_commit_id":"cca652d41bcf24753d170f49e7a645826e56d12d","user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"body":"Looks like this could be an enum. See https://github.com/StackStorm/st2contrib/blob/master/packs/smartthings/actions/set_temperature.yaml#L8 for an example.","created_at":"2015-08-30T18:28:23Z","updated_at":"2015-08-30T18:28:23Z","html_url":"https://github.com/StackStorm/st2contrib/pull/233#discussion_r38274356","pull_request_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233","_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments/38274356"},"html":{"href":"https://github.com/StackStorm/st2contrib/pull/233#discussion_r38274356"},"pull_request":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233"}}},"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233","id":38727255,"html_url":"https://github.com/StackStorm/st2contrib/pull/233","diff_url":"https://github.com/StackStorm/st2contrib/pull/233.diff","patch_url":"https://github.com/StackStorm/st2contrib/pull/233.patch","issue_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/233","number":233,"state":"open","locked":false,"title":"bit bucket action","user":{"login":"Aamir-raza-1","id":8884774,"avatar_url":"https://avatars.githubusercontent.com/u/8884774?v=3","gravatar_id":"","url":"https://api.github.com/users/Aamir-raza-1","html_url":"https://github.com/Aamir-raza-1","followers_url":"https://api.github.com/users/Aamir-raza-1/followers","following_url":"https://api.github.com/users/Aamir-raza-1/following{/other_user}","gists_url":"https://api.github.com/users/Aamir-raza-1/gists{/gist_id}","starred_url":"https://api.github.com/users/Aamir-raza-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aamir-raza-1/subscriptions","organizations_url":"https://api.github.com/users/Aamir-raza-1/orgs","repos_url":"https://api.github.com/users/Aamir-raza-1/repos","events_url":"https://api.github.com/users/Aamir-raza-1/events{/privacy}","received_events_url":"https://api.github.com/users/Aamir-raza-1/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-28T15:37:45Z","updated_at":"2015-08-30T18:28:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e03ef36c21d7120251c3356fc8c1e5e47671919e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233/commits","review_comments_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233/comments","review_comment_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/233/comments","statuses_url":"https://api.github.com/repos/StackStorm/st2contrib/statuses/cca652d41bcf24753d170f49e7a645826e56d12d","head":{"label":"Aamir-raza-1:bitbucket","ref":"bitbucket","sha":"cca652d41bcf24753d170f49e7a645826e56d12d","user":{"login":"Aamir-raza-1","id":8884774,"avatar_url":"https://avatars.githubusercontent.com/u/8884774?v=3","gravatar_id":"","url":"https://api.github.com/users/Aamir-raza-1","html_url":"https://github.com/Aamir-raza-1","followers_url":"https://api.github.com/users/Aamir-raza-1/followers","following_url":"https://api.github.com/users/Aamir-raza-1/following{/other_user}","gists_url":"https://api.github.com/users/Aamir-raza-1/gists{/gist_id}","starred_url":"https://api.github.com/users/Aamir-raza-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aamir-raza-1/subscriptions","organizations_url":"https://api.github.com/users/Aamir-raza-1/orgs","repos_url":"https://api.github.com/users/Aamir-raza-1/repos","events_url":"https://api.github.com/users/Aamir-raza-1/events{/privacy}","received_events_url":"https://api.github.com/users/Aamir-raza-1/received_events","type":"User","site_admin":false},"repo":{"id":29542113,"name":"st2contrib","full_name":"Aamir-raza-1/st2contrib","owner":{"login":"Aamir-raza-1","id":8884774,"avatar_url":"https://avatars.githubusercontent.com/u/8884774?v=3","gravatar_id":"","url":"https://api.github.com/users/Aamir-raza-1","html_url":"https://github.com/Aamir-raza-1","followers_url":"https://api.github.com/users/Aamir-raza-1/followers","following_url":"https://api.github.com/users/Aamir-raza-1/following{/other_user}","gists_url":"https://api.github.com/users/Aamir-raza-1/gists{/gist_id}","starred_url":"https://api.github.com/users/Aamir-raza-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aamir-raza-1/subscriptions","organizations_url":"https://api.github.com/users/Aamir-raza-1/orgs","repos_url":"https://api.github.com/users/Aamir-raza-1/repos","events_url":"https://api.github.com/users/Aamir-raza-1/events{/privacy}","received_events_url":"https://api.github.com/users/Aamir-raza-1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Aamir-raza-1/st2contrib","description":"StackStorm integration packs for many common tools and also helpful tools to build integrations and automations with StackStorm.","fork":true,"url":"https://api.github.com/repos/Aamir-raza-1/st2contrib","forks_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/forks","keys_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/teams","hooks_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/hooks","issue_events_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/issues/events{/number}","events_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/events","assignees_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/assignees{/user}","branches_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/branches{/branch}","tags_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/tags","blobs_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/languages","stargazers_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/stargazers","contributors_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/contributors","subscribers_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/subscribers","subscription_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/subscription","commits_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/contents/{+path}","compare_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/merges","archive_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/downloads","issues_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/issues{/number}","pulls_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/labels{/name}","releases_url":"https://api.github.com/repos/Aamir-raza-1/st2contrib/releases{/id}","created_at":"2015-01-20T17:27:09Z","updated_at":"2015-01-20T17:27:09Z","pushed_at":"2015-08-30T12:02:30Z","git_url":"git://github.com/Aamir-raza-1/st2contrib.git","ssh_url":"git@github.com:Aamir-raza-1/st2contrib.git","clone_url":"https://github.com/Aamir-raza-1/st2contrib.git","svn_url":"https://github.com/Aamir-raza-1/st2contrib","homepage":"http://www.stackstorm.com/community","size":3551,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"StackStorm:master","ref":"master","sha":"33f2516f81cb0e3eb3309d59de2f549261ab923a","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":24968227,"name":"st2contrib","full_name":"StackStorm/st2contrib","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2contrib","description":"StackStorm integration packs for many common tools and also helpful tools to build integrations and automations with StackStorm.","fork":false,"url":"https://api.github.com/repos/StackStorm/st2contrib","forks_url":"https://api.github.com/repos/StackStorm/st2contrib/forks","keys_url":"https://api.github.com/repos/StackStorm/st2contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2contrib/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2contrib/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2contrib/events","assignees_url":"https://api.github.com/repos/StackStorm/st2contrib/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2contrib/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2contrib/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2contrib/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2contrib/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2contrib/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2contrib/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2contrib/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2contrib/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2contrib/merges","archive_url":"https://api.github.com/repos/StackStorm/st2contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2contrib/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2contrib/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2contrib/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2contrib/releases{/id}","created_at":"2014-10-09T01:19:56Z","updated_at":"2015-08-26T15:24:16Z","pushed_at":"2015-08-30T12:02:30Z","git_url":"git://github.com/StackStorm/st2contrib.git","ssh_url":"git@github.com:StackStorm/st2contrib.git","clone_url":"https://github.com/StackStorm/st2contrib.git","svn_url":"https://github.com/StackStorm/st2contrib","homepage":"http://www.stackstorm.com/community","size":6578,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":16,"forks":37,"open_issues":16,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233"},"html":{"href":"https://github.com/StackStorm/st2contrib/pull/233"},"issue":{"href":"https://api.github.com/repos/StackStorm/st2contrib/issues/233"},"comments":{"href":"https://api.github.com/repos/StackStorm/st2contrib/issues/233/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/233/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/st2contrib/statuses/cca652d41bcf24753d170f49e7a645826e56d12d"}}}}