{"action":"created","issue":{"url":"https://api.github.com/repos/lesstif/gitlab-jira-integration/issues/6","labels_url":"https://api.github.com/repos/lesstif/gitlab-jira-integration/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/lesstif/gitlab-jira-integration/issues/6/comments","events_url":"https://api.github.com/repos/lesstif/gitlab-jira-integration/issues/6/events","html_url":"https://github.com/lesstif/gitlab-jira-integration/issues/6","id":96982794,"number":6,"title":"'transition'-ID has to be an integer","user":{"login":"ZyanKLee","id":1178490,"avatar_url":"https://avatars.githubusercontent.com/u/1178490?v=3","gravatar_id":"","url":"https://api.github.com/users/ZyanKLee","html_url":"https://github.com/ZyanKLee","followers_url":"https://api.github.com/users/ZyanKLee/followers","following_url":"https://api.github.com/users/ZyanKLee/following{/other_user}","gists_url":"https://api.github.com/users/ZyanKLee/gists{/gist_id}","starred_url":"https://api.github.com/users/ZyanKLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZyanKLee/subscriptions","organizations_url":"https://api.github.com/users/ZyanKLee/orgs","repos_url":"https://api.github.com/users/ZyanKLee/repos","events_url":"https://api.github.com/users/ZyanKLee/events{/privacy}","received_events_url":"https://api.github.com/users/ZyanKLee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T07:05:26Z","updated_at":"2015-07-27T01:17:42Z","closed_at":null,"body":"I get this error when trying to resolve an issue: 'transition'-ID has to be an integer\r\n(It's roughly translated from german. The original error message was \"'transition'-ID muss eine Ganzzahl sein\", just in case this is relevant.)\r\n\r\n```php\r\n[2015-07-24 06:32:29] lumen.DEBUG: hook received from   \r\n[2015-07-24 06:32:29] lumen.INFO: eventType : Push Hook  \r\n[2015-07-24 06:32:29] lumen.DEBUG: Commit : {\r\n    \"id\": \"3febf420655f69069b37c0683ecc62c6a800def5\",\r\n    \"message\": \"fixes PRJ-235\\n\",\r\n    \"timestamp\": \"2015-07-24T08:32:24+02:00\",\r\n    \"url\": \"https:\\/\\/gitlab.our.domain/group\\/reponame\\/commit\\/3febf420655f69069b37c0683ecc62c6a800def5\",\r\n    \"author\": {\r\n        \"name\": \"My Name\",\r\n        \"email\": \"my.email@our.domain\"\r\n    }\r\n}  \r\n[2015-07-24 06:32:29] lumen.ERROR: exception 'JiraRestApi\\JIRAException' with message 'CURL HTTP Request Failed: Status Code : 400, URL:https://jira.our.domain/rest/api/2/issue/PRJ-235/transitions\r\nError Message : {\"errorMessages\":[\"'transition'-ID has to be an integer\"],\"errors\":{}}' in /home/gji/gitlab-jira-integration/vendor/lesstif/php-jira-rest-client/src/JiraClient.php:176\r\nStack trace:\r\n#0 /home/gji/gitlab-jira-integration/vendor/lesstif/php-jira-rest-client/src/Issue/IssueService.php(197): JiraRestApi\\JiraClient->exec('/issue/PRJ-235/...', '{\"transition\":{...', 'POST')\r\n#1 /home/gji/gitlab-jira-integration/app/Http/Controllers/GitlabController.php(93): JiraRestApi\\Issue\\IssueService->transition('PRJ-235', Object(JiraRestApi\\Issue\\Transition))\r\n#2 /home/gji/gitlab-jira-integration/app/Http/Controllers/GitlabController.php(38): App\\Http\\Controllers\\GitlabController->pushHook(Object(Illuminate\\Http\\Request))\r\n#3 [internal function]: App\\Http\\Controllers\\GitlabController->hookHandler(Object(Illuminate\\Http\\Request))\r\n#4 /home/gji/gitlab-jira-integration/vendor/illuminate/container/Container.php(502): call_user_func_array(Array, Array)\r\n#5 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1348): Illuminate\\Container\\Container->call(Array, Array)\r\n#6 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1313): Laravel\\Lumen\\Application->callControllerCallable(Array, Array)\r\n#7 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1284): Laravel\\Lumen\\Application->callLumenController(Object(App\\Http\\Controllers\\GitlabController), 'hookHandler', Array)\r\n#8 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1252): Laravel\\Lumen\\Application->callControllerAction(Array)\r\n#9 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1237): Laravel\\Lumen\\Application->callActionOnArrayBasedRoute(Array)\r\n#10 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1158): Laravel\\Lumen\\Application->handleFoundRoute(Array)\r\n#11 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1390): Laravel\\Lumen\\Application->Laravel\\Lumen\\{closure}()\r\n#12 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1164): Laravel\\Lumen\\Application->sendThroughPipeline(Array, Object(Closure))\r\n#13 /home/gji/gitlab-jira-integration/vendor/laravel/lumen-framework/src/Application.php(1104): Laravel\\Lumen\\Application->dispatch(NULL)\r\n#14 /home/gji/gitlab-jira-integration/public/index.php(28): Laravel\\Lumen\\Application->run()\r\n#15 /home/gji/gitlab-jira-integration/server.php(12): require_once('/home/gji/gitlab-ji...')\r\n#16 {main}  \r\n```\r\n\r\nin case it helps, there is the `storage/app/Push-Hook.json` at http://paste.ubuntu.com/11928864/\r\n\r\nI tried both v0.6.2 and master@HEAD, but the error stays the same. Jira is at v6.3.15 and Gitlab at  v7.8.1. PHP 5.5.9-1ubuntu4.11 and composer 1.0-dev ran through your composer.json without errors."},"comment":{"url":"https://api.github.com/repos/lesstif/gitlab-jira-integration/issues/comments/125056031","html_url":"https://github.com/lesstif/gitlab-jira-integration/issues/6#issuecomment-125056031","issue_url":"https://api.github.com/repos/lesstif/gitlab-jira-integration/issues/6","id":125056031,"user":{"login":"lesstif","id":404534,"avatar_url":"https://avatars.githubusercontent.com/u/404534?v=3","gravatar_id":"","url":"https://api.github.com/users/lesstif","html_url":"https://github.com/lesstif","followers_url":"https://api.github.com/users/lesstif/followers","following_url":"https://api.github.com/users/lesstif/following{/other_user}","gists_url":"https://api.github.com/users/lesstif/gists{/gist_id}","starred_url":"https://api.github.com/users/lesstif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesstif/subscriptions","organizations_url":"https://api.github.com/users/lesstif/orgs","repos_url":"https://api.github.com/users/lesstif/repos","events_url":"https://api.github.com/users/lesstif/events{/privacy}","received_events_url":"https://api.github.com/users/lesstif/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T01:17:42Z","updated_at":"2015-07-27T01:17:42Z","body":"The \"'transition'-ID has to be an integer\" and HTTP 400 error  seems to be when you try to transition on already fixed or closed issue.\r\n\r\ncheck PRJ-235 isssue's current status.\r\n\r\nAnd open \"http:///jira.our.domain/rest/api/2/issue/PRJ-235/transitions?expand=transitions.fields\" in your browser for your jira website and issue number to find the available transition ID and name.\r\n\r\nthanks.\r\n\r\n"}}