{ "id": "153268", "key": "ALOY-1334", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-11-23T17:11:11.000+0000", "created": "2015-11-18T09:54:34.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Community" ], "versions": [], "issuelinks": [ { "id": "49951", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "153337", "key": "ALOY-1332", "fields": { "summary": "Alloy.version does not match actual version", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-11-23T17:11:11.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": "Version should reflect the current version, so when on 1.7.26 it should indicate 1.7.26 and not 1.7.0. I guess it would be nice to have a solution which reads from the package.json", "attachment": [], "flagged": false, "summary": "Alloy version not correct when printing Alloy.version", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "Im providing a link to the github repository:\r\nFile: alloy/Alloy/lib/alloy.js\r\nline: 30 states `exports.version = '1.7.0';`\r\nhttps://github.com/appcelerator/alloy/blob/dd9a9544e83cfa1e7aff5a1bc1c41ff73c7bee78/Alloy/lib/alloy.js#L30", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }