{"action":"created","issue":{"url":"https://api.github.com/repos/cloudspokes/GLIB-ChromeExt/issues/24","repository_url":"https://api.github.com/repos/cloudspokes/GLIB-ChromeExt","labels_url":"https://api.github.com/repos/cloudspokes/GLIB-ChromeExt/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cloudspokes/GLIB-ChromeExt/issues/24/comments","events_url":"https://api.github.com/repos/cloudspokes/GLIB-ChromeExt/issues/24/events","html_url":"https://github.com/cloudspokes/GLIB-ChromeExt/issues/24","id":142024772,"number":24,"title":"[$600,$300] GLIB Chrome Extension-Jira integration","user":{"login":"cwdcwd","id":1504607,"avatar_url":"https://avatars.githubusercontent.com/u/1504607?v=3","gravatar_id":"","url":"https://api.github.com/users/cwdcwd","html_url":"https://github.com/cwdcwd","followers_url":"https://api.github.com/users/cwdcwd/followers","following_url":"https://api.github.com/users/cwdcwd/following{/other_user}","gists_url":"https://api.github.com/users/cwdcwd/gists{/gist_id}","starred_url":"https://api.github.com/users/cwdcwd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwdcwd/subscriptions","organizations_url":"https://api.github.com/users/cwdcwd/orgs","repos_url":"https://api.github.com/users/cwdcwd/repos","events_url":"https://api.github.com/users/cwdcwd/events{/privacy}","received_events_url":"https://api.github.com/users/cwdcwd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-19T04:06:31Z","updated_at":"2016-05-25T03:10:40Z","closed_at":null,"body":"### Description:\r\nThe GLIB-Chrome-Ext challenges are a set of challenges where we will be building out a chrome extension that inserts a button onto various vendor (Github, Gitlab, Jira, etc) sites in order to launch a new Topcoder challenge(s).  The extension has been built for Github issues, and for this challenge we will be expanding the functionality to include Jira.\r\n\r\n### Requirements:\r\n- Create a vendor/Jira.js script that implements the required vendor functionality for a Jira Issue.  See the vendor/Github.js file for example functionality. Only implement the single issue functionality for this challenge.\r\n- Insert the topcoder button before the Export button on the Jira Issue view.\r\n- Jira oAuth application client key & secret are allowed to be embedded in the configuration for this challenge. They will be refactored out later to a more secure design.\r\n- Use the [User Authentication](https://developer.chrome.com/apps/app_identity) chrome extension function to retrieve a jira access token for accessing and posting Jira data.\r\n- Use the [TC Challenge Mock endpoint](https://glib-mock.herokuapp.com/) for testing the button after it has been injected.\r\n  + Be sure to utilize \"development mode\" in the extensions settings\r\n  + Authorize on to the mock endpoint with user \"mess\" and password \"appirio123\"\r\n- Update the chrome extension manifest.json file and content_script.js to support your changes.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1504607/14217476/3991640c-f81c-11e5-9a02-f11a0f2e2b51.png)\r\n\r\n\r\n### Setup & Reference:\r\n- See the Github.js script in the vendor directory for an example vendor implementation.  Note it is using a different OAuth service to retrieve an access token.\r\n- Request access to the jira instance on the forums or email [gbockus](mailto: gordonbockus@gmail.com).\r\n- For dev mode you are able to enter any value for the project id when prompted.\r\n- Fork this [repo](https://github.com/cloudspokes/GLIB-ChromeExt) and work off this [branch](https://github.com/cloudspokes/GLIB-ChromeExt/tree/jira).\r\n\r\n### Submissions:\r\n\r\n- Ensure good test coverage on all modules\r\n- Upload documentation for how to run your submission\r\n- A video of your working solution is required\r\n- Upload all your source code as a zip for review\r\n- Winner will be required to submit a pull request with their winning code."},"comment":{"url":"https://api.github.com/repos/cloudspokes/GLIB-ChromeExt/issues/comments/221462257","html_url":"https://github.com/cloudspokes/GLIB-ChromeExt/issues/24#issuecomment-221462257","issue_url":"https://api.github.com/repos/cloudspokes/GLIB-ChromeExt/issues/24","id":221462257,"user":{"login":"cwdcwd","id":1504607,"avatar_url":"https://avatars.githubusercontent.com/u/1504607?v=3","gravatar_id":"","url":"https://api.github.com/users/cwdcwd","html_url":"https://github.com/cwdcwd","followers_url":"https://api.github.com/users/cwdcwd/followers","following_url":"https://api.github.com/users/cwdcwd/following{/other_user}","gists_url":"https://api.github.com/users/cwdcwd/gists{/gist_id}","starred_url":"https://api.github.com/users/cwdcwd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwdcwd/subscriptions","organizations_url":"https://api.github.com/users/cwdcwd/orgs","repos_url":"https://api.github.com/users/cwdcwd/repos","events_url":"https://api.github.com/users/cwdcwd/events{/privacy}","received_events_url":"https://api.github.com/users/cwdcwd/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T03:10:40Z","updated_at":"2016-05-25T03:10:40Z","body":"Failed to create challenge\nResponse body:\n```\n{\n    \"message\": \"'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6W10sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLmNvbSIsImhhbmRsZSI6ImxhenliYWVyIiwiZXhwIjoxNDY0MTQ2NDM5LCJ1c2VySWQiOiIyMzIyNTU0NCIsImlhdCI6MTQ2NDE0NTgzOSwiZW1haWwiOiJjd2RAdG9wY29kZXIuY29tIiwianRpIjoiYTVlMDQzODgtZjU5Yy00M2I0LWIxNDAtMDRiYzljMmMzZWU4In0.LmJUUt_IRbLb5bey91zIMm9WXMYmkrnbcHO-3R_inIo' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6W10sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLmNvbSIsImhhbmRsZSI6ImxhenliYWVyIiwiZXhwIjoxNDY0MTQ2NDM5LCJ1c2VySWQiOiIyMzIyNTU0NCIsImlhdCI6MTQ2NDE0NTgzOSwiZW1haWwiOiJjd2RAdG9wY29kZXIuY29tIiwianRpIjoiYTVlMDQzODgtZjU5Yy00M2I0LWIxNDAtMDRiYzljMmMzZWU4In0.LmJUUt_IRbLb5bey91zIMm9WXMYmkrnbcHO-3R_inIo'.\",\n    \"challengeURL\": \"https://www.topcoder.com/challenge-details/undefined/?type=develop&noncache=true\"\n}\n```"}}
{"actor":{"display_login":"cwdcwd"}}