{ "id": "155103", "key": "AC-653", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-02-24T19:46:02.000+0000", "created": "2016-02-24T17:36:57.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-24T20:13:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\r\nSend below code in 'Steps To Reproduce:'\r\n\r\n{code:javascript}\r\nvar nativePath = 'file:///var/mobile/Containers/Data/Application/xxxx/Documents/exercise-vid-fhd-98.mp4';\r\n \r\nvar videoPlayer = Titanium.Media.createVideoPlayer({\r\n\turl: nativePath,\r\n autoplay : true,\r\n \trepeatMode: Ti.Media.VIDEO_REPEAT_MODE_ONE, \r\n mediaControlStyle: Titanium.Media.VIDEO_CONTROL_NONE ,\r\n scalingMode : Ti.Media.VIDEO_SCALING_ASPECT_FIT,\r\n backgroundColor: '#f0f2f2'\r\n});\r\n \r\nvar window = Ti.UI.createWindow();\r\n\r\nwindow.add(videoPlayer);\r\n\r\nwindow.open();\r\n\r\n\r\nTi.App.addEventListener('pause', function() { videoPlayer.pause()});\r\nTi.App.addEventListener('resume', function() { videoPlayer.play()});\r\n{code}\r\n\r\n\r\nh3. Actual Result\r\n1. Getting error as in attachment.\r\n2. Loosing all text provided.\r\n\r\nh3. Expected Result\r\n1. No error\r\nor\r\n2. more understandable information what cause the error (what should be escaped) and how to avoid it. Getting back to previous window to not to loose what has been already written.", "attachment": [ { "id": "58312", "filename": "Zrzut ekranu 2016-02-23 o 17.07.58.png", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-24T17:36:53.000+0000", "size": 25497, "mimeType": "image/png" } ], "flagged": false, "summary": "Getting error trying to create Jira ticket via Appcelerator", "creator": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "377803", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, The issue is not valid, JIRA ticket creation is working. Can you be more specific about what you are trying to do? And how you are proceeding? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-24T19:41:45.000+0000", "updated": "2016-02-24T19:41:45.000+0000" }, { "id": "377805", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If you try to add ticket FROM Appcelerator Studio with:\r\n{/code:javascript/}\r\n{/code/}\r\n(without slashes)\r\nYou will get an error like in *attachment* provided. Also all text will be lost because dialog will be closed. ", "updateAuthor": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-24T20:13:23.000+0000", "updated": "2016-02-24T20:13:23.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }