{"action":"created","issue":{"url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/issues/54","repository_url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog","labels_url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/issues/54/comments","events_url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/issues/54/events","html_url":"https://github.com/Praqma/Praqmatic-Automated-Changelog/issues/54","id":156512204,"number":54,"title":"Support multi-request data gathering","user":{"login":"JKrag","id":1712950,"avatar_url":"https://avatars.githubusercontent.com/u/1712950?v=3","gravatar_id":"","url":"https://api.github.com/users/JKrag","html_url":"https://github.com/JKrag","followers_url":"https://api.github.com/users/JKrag/followers","following_url":"https://api.github.com/users/JKrag/following{/other_user}","gists_url":"https://api.github.com/users/JKrag/gists{/gist_id}","starred_url":"https://api.github.com/users/JKrag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKrag/subscriptions","organizations_url":"https://api.github.com/users/JKrag/orgs","repos_url":"https://api.github.com/users/JKrag/repos","events_url":"https://api.github.com/users/JKrag/events{/privacy}","received_events_url":"https://api.github.com/users/JKrag/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/labels/Action%20-%20needs%20grooming","name":"Action - needs grooming","color":"009800"},{"url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/labels/Size%200%20-%20Briefing","name":"Size 0 - Briefing","color":"C7DEF8"}],"state":"open","locked":false,"assignee":{"login":"MadsNielsen","id":1484793,"avatar_url":"https://avatars.githubusercontent.com/u/1484793?v=3","gravatar_id":"","url":"https://api.github.com/users/MadsNielsen","html_url":"https://github.com/MadsNielsen","followers_url":"https://api.github.com/users/MadsNielsen/followers","following_url":"https://api.github.com/users/MadsNielsen/following{/other_user}","gists_url":"https://api.github.com/users/MadsNielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/MadsNielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadsNielsen/subscriptions","organizations_url":"https://api.github.com/users/MadsNielsen/orgs","repos_url":"https://api.github.com/users/MadsNielsen/repos","events_url":"https://api.github.com/users/MadsNielsen/events{/privacy}","received_events_url":"https://api.github.com/users/MadsNielsen/received_events","type":"User","site_admin":false},"assignees":[{"login":"MadsNielsen","id":1484793,"avatar_url":"https://avatars.githubusercontent.com/u/1484793?v=3","gravatar_id":"","url":"https://api.github.com/users/MadsNielsen","html_url":"https://github.com/MadsNielsen","followers_url":"https://api.github.com/users/MadsNielsen/followers","following_url":"https://api.github.com/users/MadsNielsen/following{/other_user}","gists_url":"https://api.github.com/users/MadsNielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/MadsNielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadsNielsen/subscriptions","organizations_url":"https://api.github.com/users/MadsNielsen/orgs","repos_url":"https://api.github.com/users/MadsNielsen/repos","events_url":"https://api.github.com/users/MadsNielsen/events{/privacy}","received_events_url":"https://api.github.com/users/MadsNielsen/received_events","type":"User","site_admin":false},{"login":"JKrag","id":1712950,"avatar_url":"https://avatars.githubusercontent.com/u/1712950?v=3","gravatar_id":"","url":"https://api.github.com/users/JKrag","html_url":"https://github.com/JKrag","followers_url":"https://api.github.com/users/JKrag/followers","following_url":"https://api.github.com/users/JKrag/following{/other_user}","gists_url":"https://api.github.com/users/JKrag/gists{/gist_id}","starred_url":"https://api.github.com/users/JKrag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKrag/subscriptions","organizations_url":"https://api.github.com/users/JKrag/orgs","repos_url":"https://api.github.com/users/JKrag/repos","events_url":"https://api.github.com/users/JKrag/events{/privacy}","received_events_url":"https://api.github.com/users/JKrag/received_events","type":"User","site_admin":false}],"milestone":null,"comments":24,"created_at":"2016-05-24T13:48:28Z","updated_at":"2016-10-14T20:21:03Z","closed_at":null,"body":"Short version:\n\nWhen getting data from JIRA, there are certain fields (like links to commits) that are only accessible via a second API call using the issueId returned from the first call.\n\nI don't know yet how this should be implemented, but it would be cool to support getting this data via a second request and adding result to the data hash map available for the templates.\n\nThe example I have come across, that we are trying to solve, is creating a release note that actually has links to bitbucket for the commits referenced. If a JIRA issue has links to commits (as shown in the JIRA issue UI), then it is possible to get information about these, including the actual URL to bitbucket, by requesting from a developer api endpoint:\n\n```http://<JIRA SERVER>:8080/rest/dev-status/latest/issue/detail?issueId=10915&applicationType=stash&dataType=repository```\n\nWhere the issue ID was taken from the initial call to : \n\n```http://<JIRA SERVER>:8080/rest/api/latest/issue/ABC-23```\n \nWe have just started this journey, so I assume that we will come across other cases where it is relevant to extract further info via subsequent api calls. Of the top of my head, I could see it very relevant to be able to extract basic info about linked issues or the story/epic that a \"task\" belongs to, and include this in the release note."},"comment":{"url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/issues/comments/253909503","html_url":"https://github.com/Praqma/Praqmatic-Automated-Changelog/issues/54#issuecomment-253909503","issue_url":"https://api.github.com/repos/Praqma/Praqmatic-Automated-Changelog/issues/54","id":253909503,"user":{"login":"buep","id":1579826,"avatar_url":"https://avatars.githubusercontent.com/u/1579826?v=3","gravatar_id":"","url":"https://api.github.com/users/buep","html_url":"https://github.com/buep","followers_url":"https://api.github.com/users/buep/followers","following_url":"https://api.github.com/users/buep/following{/other_user}","gists_url":"https://api.github.com/users/buep/gists{/gist_id}","starred_url":"https://api.github.com/users/buep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buep/subscriptions","organizations_url":"https://api.github.com/users/buep/orgs","repos_url":"https://api.github.com/users/buep/repos","events_url":"https://api.github.com/users/buep/events{/privacy}","received_events_url":"https://api.github.com/users/buep/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T20:21:02Z","updated_at":"2016-10-14T20:21:02Z","body":"Grooming meeting today, we agreed that this issue is replaced by #70, which again is replaced by the improved design idea in #71 so I'm closing it."}}
{"actor":{"display_login":"buep"}}