muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.29k stars 320 forks source link

Added a new bee for JIRA integration #366

Closed corrantho closed 3 years ago

corrantho commented 3 years ago

As requested in https://github.com/muesli/beehive/issues/10, here is a first version of a new bee for JIRA integration. For the moment it has only one action create_issue but transition_issue is coming soon.

Since I'm new to Golang and on this project, I would like to have already a code review on this small increment to be sure I'm in line with your development guidelines.

Also, regarding the triggering events, I was thinking about exposing an HTTP endpoint in order to receive JIRA events in real-time via a Webhook. Do you have any constraint with this? I've not seen any other bee using this mechanism (except the WebBee).

Another question regarding the logo. Where do you get them? Should it be an opensource logo?

Thanks in advance.

muesli commented 3 years ago

Nice, good start for a new bee. One thing is still missing tho: an icon.

Eventually, it would be great to also provide a couple of events, of course 😊

corrantho commented 3 years ago

@muesli thanks for the code review.

I'm going to add some events that's why I kept the Events method 😄 Regarding the logo/icon, should it be opensource or can I just copy the one from the JIRA website?

muesli commented 3 years ago

I consider logo usage a grey area. So far we haven't had issues with that, so I'd say let's use the Jira logo. People should be able to recognize it - which is the entire point of having an "icon" :smiley:

corrantho commented 3 years ago

I will add one more event to handle issue status updates and I think I will be done with this bee.

corrantho commented 3 years ago

@muesli I think it's ready for the final review 😃 Could you also suggest where to put the documentation?

muesli commented 3 years ago

LGTM, thank you for your contribution!