{"action":"created","issue":{"url":"https://api.github.com/repos/czechboy0/Buildasaur/issues/29","labels_url":"https://api.github.com/repos/czechboy0/Buildasaur/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/czechboy0/Buildasaur/issues/29/comments","events_url":"https://api.github.com/repos/czechboy0/Buildasaur/issues/29/events","html_url":"https://github.com/czechboy0/Buildasaur/issues/29","id":73925932,"number":29,"title":"Specify bot names in the UI","user":{"login":"accatyyc","id":1607453,"avatar_url":"https://avatars.githubusercontent.com/u/1607453?v=3","gravatar_id":"","url":"https://api.github.com/users/accatyyc","html_url":"https://github.com/accatyyc","followers_url":"https://api.github.com/users/accatyyc/followers","following_url":"https://api.github.com/users/accatyyc/following{/other_user}","gists_url":"https://api.github.com/users/accatyyc/gists{/gist_id}","starred_url":"https://api.github.com/users/accatyyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/accatyyc/subscriptions","organizations_url":"https://api.github.com/users/accatyyc/orgs","repos_url":"https://api.github.com/users/accatyyc/repos","events_url":"https://api.github.com/users/accatyyc/events{/privacy}","received_events_url":"https://api.github.com/users/accatyyc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/czechboy0/Buildasaur/labels/investigate","name":"investigate","color":"159818"},{"url":"https://api.github.com/repos/czechboy0/Buildasaur/labels/UI","name":"UI","color":"d4c5f9"},{"url":"https://api.github.com/repos/czechboy0/Buildasaur/labels/up-for-grabs","name":"up-for-grabs","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-07T10:03:16Z","updated_at":"2015-06-16T09:45:12Z","closed_at":null,"body":"Right now, the bots are automatically named `BuildaBot [organisation/repo] PR #pr-no`. In our office, we have all integrations showing up on a big screen, and in this case these bot names make no sense.\r\n\r\nIt would be nice to be able to specify bot names with a small DSL in a field. Especially, more interesting than the PR number is to have the actual PR title.\r\n\r\n## Suggested solution\r\nAdd a text field in the UI where we can input names. Also, supply a few variables that can be used in the string that will be replaced if they exist. For example, the following input:\r\n\r\n`BurgerBot :: \"{pr_name}\" (#{pr_no})`\r\n\r\nwhere `{pr_name}` and `{pr_no}` are variables, would generate this bot name:\r\n\r\n`BurgerBot :: \"Flip burgers twice instead of once\" (#3)`\r\n\r\nAdditional variables could for example be `organisation`, `repo` etc."},"comment":{"url":"https://api.github.com/repos/czechboy0/Buildasaur/issues/comments/112366614","html_url":"https://github.com/czechboy0/Buildasaur/issues/29#issuecomment-112366614","issue_url":"https://api.github.com/repos/czechboy0/Buildasaur/issues/29","id":112366614,"user":{"login":"czechboy0","id":2182121,"avatar_url":"https://avatars.githubusercontent.com/u/2182121?v=3","gravatar_id":"","url":"https://api.github.com/users/czechboy0","html_url":"https://github.com/czechboy0","followers_url":"https://api.github.com/users/czechboy0/followers","following_url":"https://api.github.com/users/czechboy0/following{/other_user}","gists_url":"https://api.github.com/users/czechboy0/gists{/gist_id}","starred_url":"https://api.github.com/users/czechboy0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czechboy0/subscriptions","organizations_url":"https://api.github.com/users/czechboy0/orgs","repos_url":"https://api.github.com/users/czechboy0/repos","events_url":"https://api.github.com/users/czechboy0/events{/privacy}","received_events_url":"https://api.github.com/users/czechboy0/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T09:45:12Z","updated_at":"2015-06-16T09:45:12Z","body":"Yeah there is an id associated with every bot, but that would mean we'd have to start keeping state in Builda, which would introduce a whole new level of complexity. I'm not completely against it, but it doesn't  justify the work in my opinion just yet."}}