{"action":"created","issue":{"url":"https://api.github.com/repos/baohaojun/org-jira/issues/18","labels_url":"https://api.github.com/repos/baohaojun/org-jira/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/baohaojun/org-jira/issues/18/comments","events_url":"https://api.github.com/repos/baohaojun/org-jira/issues/18/events","html_url":"https://github.com/baohaojun/org-jira/issues/18","id":33611794,"number":18,"title":"Support Sprint Field for Issues","user":{"login":"base698","id":207514,"avatar_url":"https://avatars.githubusercontent.com/u/207514?v=3","gravatar_id":"","url":"https://api.github.com/users/base698","html_url":"https://github.com/base698","followers_url":"https://api.github.com/users/base698/followers","following_url":"https://api.github.com/users/base698/following{/other_user}","gists_url":"https://api.github.com/users/base698/gists{/gist_id}","starred_url":"https://api.github.com/users/base698/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/base698/subscriptions","organizations_url":"https://api.github.com/users/base698/orgs","repos_url":"https://api.github.com/users/base698/repos","events_url":"https://api.github.com/users/base698/events{/privacy}","received_events_url":"https://api.github.com/users/base698/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-15T18:28:04Z","updated_at":"2016-01-14T20:20:48Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/baohaojun/org-jira/issues/comments/171768590","html_url":"https://github.com/baohaojun/org-jira/issues/18#issuecomment-171768590","issue_url":"https://api.github.com/repos/baohaojun/org-jira/issues/18","id":171768590,"user":{"login":"tomjack","id":13118,"avatar_url":"https://avatars.githubusercontent.com/u/13118?v=3","gravatar_id":"","url":"https://api.github.com/users/tomjack","html_url":"https://github.com/tomjack","followers_url":"https://api.github.com/users/tomjack/followers","following_url":"https://api.github.com/users/tomjack/following{/other_user}","gists_url":"https://api.github.com/users/tomjack/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjack/subscriptions","organizations_url":"https://api.github.com/users/tomjack/orgs","repos_url":"https://api.github.com/users/tomjack/repos","events_url":"https://api.github.com/users/tomjack/events{/privacy}","received_events_url":"https://api.github.com/users/tomjack/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T20:20:48Z","updated_at":"2016-01-14T20:20:48Z","body":"I sort of solved this for myself, using the following function:\r\n\r\n```\r\n(defun add-to-sprint ()\r\n  (interactive)\r\n  (jiralib-update-issue\r\n   (org-jira-get-from-org 'issue 'key)\r\n   '((\"customfield_10281\" . \"2689\"))))\r\n```\r\n\r\n`(org-jira-get-from-org 'issue 'key)` here just gets the key for the issue at point.\r\n\r\nYou will certainly need to change 2689 to your sprint id, and I guess you probably need to change the 10281 as well.\r\n\r\nI found the numbers this way:\r\n\r\n- Find the link like `/issues/?jql=sprint = 2689` on the backlog, near the sprint name. This gives us the 2689.\r\n- Look at M-: (jiralib-get-issue \"BLAH-0\") for an issue BLAH-0 already in the sprint. In the custom field values, one should have a string with the sprint id, which is the one we need."}}