{ "id": "115036", "key": "ALOY-674", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-01-17T17:57:26.000+0000", "created": "2013-05-28T16:44:54.000+0000", "priority": null, "labels": [ "Alloy" ], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-28T23:57:13.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": "Hi,\r\nas I know, I can't use multiple columns for an idAttribute\r\nthis is useful for middel table on ManyToMany tables like below:\r\n\r\nUser Table:\r\n - id ( Integer )\r\n - username ( Text )\r\n\r\nGroup Table:\r\n - id ( Integer )\r\n - name ( Text )\r\n\r\nMiddle Table:\r\n user_id ( Integer ) \r\n group_id ( Integer )\r\n\r\nI want to use middle table for fetching user 1\r\nI use idAttribute: \"user_id, group_id\" but it's not working", "attachment": [], "flagged": false, "summary": "multiple columns for an idAttribute", "creator": { "name": "navid_gh", "key": "navid_gh", "displayName": "Navid Ghahramani", "active": true, "timeZone": "Asia/Tehran" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "288629", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As most of the back-end storage methods don't support multiple primary keys, it doesn't make sense to implement in the core of Alloy. If a particular sync adapter implementation wants to, they can, but not in the core of alloy's code.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-17T17:57:26.000+0000", "updated": "2014-01-17T17:57:26.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }