{ "id": "155066", "key": "TIMOB-20442", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-21T02:18:01.000+0000", "created": "2016-02-23T07:51:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" }, { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-05-12T17:14:10.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": [ { "id": "10207", "name": "Tooling" } ], "description": "The releases on GitHub are marked as pre-release since 5.0.2.GA, which makes 5.0.1.GA still marked as latest release:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/releases", "attachment": [], "flagged": false, "summary": "GitHub: Release tags marked as pre-release since 5.0.2.GA", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "closedSprints": [ { "id": 598, "state": "closed", "name": "2016 Sprint 06 Tooling", "startDate": "2016-03-12T01:30:46.475Z", "endDate": "2016-03-26T00:30:00.000Z", "completeDate": "2016-03-28T03:31:22.652Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "378427", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This just requires a fix in Jenkins to identify if it's a pre-release or release, and release accordingly.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-02T04:47:44.000+0000", "updated": "2016-03-02T04:47:44.000+0000" }, { "id": "379502", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Added a if else statement in shell script in jenkins:\r\n{code}\r\nif [ $TAG = \"GA\" ]\r\nthen\r\n RELEASEFLAG=\"release\"\r\nelse\r\n RELEASEFLAG=\"prerelease\"\r\nfi\r\n\r\ncurl -u $APIKEY --header \"Accept: application/vnd.github.manifold-preview\" --data \"{\\\"tag_name\\\":\\\"$TAGNAME\\\",\\\"target_commitish\\\":\\\"$GITHASH\\\",\\\"$RELEASEFLAG\\\": true}\" \"https://api.github.com/repos/appcelerator/titanium_mobile/releases\"\r\n{code}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-11T04:37:48.000+0000", "updated": "2016-03-11T04:37:48.000+0000" }, { "id": "385550", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as implemented.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-12T17:13:59.000+0000", "updated": "2016-05-12T17:13:59.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }