{"action":"created","issue":{"url":"https://api.github.com/repos/TheHive-Project/TheHive/issues/635","repository_url":"https://api.github.com/repos/TheHive-Project/TheHive","labels_url":"https://api.github.com/repos/TheHive-Project/TheHive/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/TheHive-Project/TheHive/issues/635/comments","events_url":"https://api.github.com/repos/TheHive-Project/TheHive/issues/635/events","html_url":"https://github.com/TheHive-Project/TheHive/issues/635","id":339594354,"node_id":"MDU6SXNzdWUzMzk1OTQzNTQ=","number":635,"title":"Custom fields in Alerts?","user":{"login":"xme","id":480944,"node_id":"MDQ6VXNlcjQ4MDk0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/480944?v=4","gravatar_id":"","url":"https://api.github.com/users/xme","html_url":"https://github.com/xme","followers_url":"https://api.github.com/users/xme/followers","following_url":"https://api.github.com/users/xme/following{/other_user}","gists_url":"https://api.github.com/users/xme/gists{/gist_id}","starred_url":"https://api.github.com/users/xme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xme/subscriptions","organizations_url":"https://api.github.com/users/xme/orgs","repos_url":"https://api.github.com/users/xme/repos","events_url":"https://api.github.com/users/xme/events{/privacy}","received_events_url":"https://api.github.com/users/xme/received_events","type":"User","site_admin":false},"labels":[{"id":482365534,"node_id":"MDU6TGFiZWw0ODIzNjU1MzQ=","url":"https://api.github.com/repos/TheHive-Project/TheHive/labels/feature%20request","name":"feature request","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"nadouani","id":21827,"node_id":"MDQ6VXNlcjIxODI3","avatar_url":"https://avatars2.githubusercontent.com/u/21827?v=4","gravatar_id":"","url":"https://api.github.com/users/nadouani","html_url":"https://github.com/nadouani","followers_url":"https://api.github.com/users/nadouani/followers","following_url":"https://api.github.com/users/nadouani/following{/other_user}","gists_url":"https://api.github.com/users/nadouani/gists{/gist_id}","starred_url":"https://api.github.com/users/nadouani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadouani/subscriptions","organizations_url":"https://api.github.com/users/nadouani/orgs","repos_url":"https://api.github.com/users/nadouani/repos","events_url":"https://api.github.com/users/nadouani/events{/privacy}","received_events_url":"https://api.github.com/users/nadouani/received_events","type":"User","site_admin":false},"assignees":[{"login":"nadouani","id":21827,"node_id":"MDQ6VXNlcjIxODI3","avatar_url":"https://avatars2.githubusercontent.com/u/21827?v=4","gravatar_id":"","url":"https://api.github.com/users/nadouani","html_url":"https://github.com/nadouani","followers_url":"https://api.github.com/users/nadouani/followers","following_url":"https://api.github.com/users/nadouani/following{/other_user}","gists_url":"https://api.github.com/users/nadouani/gists{/gist_id}","starred_url":"https://api.github.com/users/nadouani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadouani/subscriptions","organizations_url":"https://api.github.com/users/nadouani/orgs","repos_url":"https://api.github.com/users/nadouani/repos","events_url":"https://api.github.com/users/nadouani/events{/privacy}","received_events_url":"https://api.github.com/users/nadouani/received_events","type":"User","site_admin":false},{"login":"To-om","id":23172576,"node_id":"MDQ6VXNlcjIzMTcyNTc2","avatar_url":"https://avatars3.githubusercontent.com/u/23172576?v=4","gravatar_id":"","url":"https://api.github.com/users/To-om","html_url":"https://github.com/To-om","followers_url":"https://api.github.com/users/To-om/followers","following_url":"https://api.github.com/users/To-om/following{/other_user}","gists_url":"https://api.github.com/users/To-om/gists{/gist_id}","starred_url":"https://api.github.com/users/To-om/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/To-om/subscriptions","organizations_url":"https://api.github.com/users/To-om/orgs","repos_url":"https://api.github.com/users/To-om/repos","events_url":"https://api.github.com/users/To-om/events{/privacy}","received_events_url":"https://api.github.com/users/To-om/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-09T20:24:43Z","updated_at":"2018-07-10T16:24:43Z","closed_at":null,"author_association":"NONE","body":"### Request Type\r\nFeature Request\r\n\r\n### Work Environment\r\n| Question              | Answer\r\n|---------------------------|--------------------\r\n| OS version (server)       | Ubuntu\r\n| OS version (client)       | Ubuntu\r\n| TheHive version / git hash   | 3.0.9\r\n| Package Type              | Docker\r\n| Browser type & version    | n/a\r\n\r\n\r\n### Problem Description\r\nI would like to use custom fields within alerts (and populate them when the alert is created) via the API.\r\nIs it possible? I can assign custom fields to case templates but how to populate them from the alert?\r\nI'm a bit confused... Tx!\r\n"},"comment":{"url":"https://api.github.com/repos/TheHive-Project/TheHive/issues/comments/403883745","html_url":"https://github.com/TheHive-Project/TheHive/issues/635#issuecomment-403883745","issue_url":"https://api.github.com/repos/TheHive-Project/TheHive/issues/635","id":403883745,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzg4Mzc0NQ==","user":{"login":"xme","id":480944,"node_id":"MDQ6VXNlcjQ4MDk0NA==","avatar_url":"https://avatars0.githubusercontent.com/u/480944?v=4","gravatar_id":"","url":"https://api.github.com/users/xme","html_url":"https://github.com/xme","followers_url":"https://api.github.com/users/xme/followers","following_url":"https://api.github.com/users/xme/following{/other_user}","gists_url":"https://api.github.com/users/xme/gists{/gist_id}","starred_url":"https://api.github.com/users/xme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xme/subscriptions","organizations_url":"https://api.github.com/users/xme/orgs","repos_url":"https://api.github.com/users/xme/repos","events_url":"https://api.github.com/users/xme/events{/privacy}","received_events_url":"https://api.github.com/users/xme/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T16:24:43Z","updated_at":"2018-07-10T16:24:43Z","author_association":"NONE","body":"Tx! Crossing fingers for a quick implementation ;-)"}}
{"actor":{"display_login":"xme"}}