{ "id": "98295", "key": "ALOY-143", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-08-18T20:44:18.000+0000", "created": "2012-07-30T09:03:06.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:23:09.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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "Right now only the Widget and View elements can have a \"require\" attribute. It would be nice if all elements could have this attribute. That way we can make use of the element name to do additional code validation at compile time. For example:\r\n\r\n{code:xml}\r\n\r\n \r\n\r\n{code}\r\n\r\nRight now we don't have a good way to verify that that element is in fact a Tab. We could inspect the view ahead of time, but that seems cumbersome and not readily apparent to the developer. If we instead allowed the element name to reflect the contained root element, it would be easy for developers to see what they are requiring, and we could make checks at compile time to confirm that it is valid:\r\n\r\n{code:xml}\r\n\r\n \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Allow all elements to have \"require\" attribute", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "215088", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{{require}} attribute no longer exists", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-18T20:44:18.000+0000", "updated": "2012-08-18T20:44:18.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }