![]() From that, I could pull out all the info needed.īeforehand, it was also necessary to work out what type of notification this is. JIRA sends a massive JSON payload with each web hook with volumes of data about the change. The POST request is listening out for messages from JIRA. I went with the industry standard Express.js and set up two routes to listen to: a POST request to ` /jira-webhook` and a GET to ` /redirect`. The first element was building a server to receive incoming web hooks from JIRA and to run the OAuth2 side of the app to get a token to talk to Slack with. ![]() With the requirements set, I got to work. Must be able to work without each user telling the bot what their Slack username is.Must support future actions that we want notifications for.The notification must tell them what they have been assigned and by whom.Must alert users when they are assigned a task.The bot needed to do a few things and these became the requirements for the project: I’m a big Node.js fan, so we decided to go with that. With Slack being as popular as it is, there are SDKs for almost any language. Slack felt like a natural fit for casual notifications since we already receive so many from different colleagues and channels. It also gave us the idea to use it to notify one another of when we assign tasks to each other. It has taken our office by storm and for good reason its slick design and plethora of integrations makes everything so much more efficient. ![]() It is also becoming an outdated method of receiving notifications.Īttempting to correct the cons of email is where Slack comes in. Email can be too invasive, with JIRA alerts feeling like the 'wrong' sort of info to be in our mailboxes. JIRA attempts to fix this with their standard communication method (email) which works for some, but not many of us here. One of the biggest elements of communication that our teams often miss is the assigning of stories, defects and tasks. ![]() We often have multiple projects running at the same time, which means there is a lot of back-and-forth communication to keep track of. Atlassian’s JIRA Agile is a big part of how we build software here at Opsview. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |