📜 ⬆️ ⬇️

Integrating Jira and Slack for PHP

Recently, on a tip from one friend, they began to use Slack in the company. Immediately there was a question about his integration with Jira. I must say that Slack nominally has integration with Jira out of the box, but in fact it turned out that it does not handle all the events, is not configured at all and does not work at all as we would like. Therefore, it was decided to write your integration in php.

Requirements were formed as follows:

An attempt was made to find a ready request handler from JiraWebHook and adequate php classes for working with SlackAPI. However, not a single decision was liked and it was decided to do everything completely independently.
What happened - actually, here .
Now a few words about what's inside.

Everything consists of three classes:

It unfolds simply:

That's all. Maybe someone will need it. I would be happy to comment additions.

Thank!

')

Source: https://habr.com/ru/post/262465/


All Articles