You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dennis-f , @nwsheppard - There is no Jira expertise in the current team. Can you please see if any Jira community members may be able to help out? There is no need to understand the Rocket.Chat code, they just need to contribute a 'hubot' adapter over in the Rocket.Chat Chat Ops Edition project. Thanks.
@nwsheppard It is 100% hubot / hubot-rocketchat powered! It will have ALL the features of the core Rocket.Chat plus it will have some dedicated user interface that is specific to the bot(s) that is(are) integrated. Essentially turning a chat into a chat-app. And it will be, by design, massively scalable. BTW ... it is post 1.0 - just starting up there.
Before that is ready, the very same hubot that you create will be compatible - and can be used - with the current core Rocket.Chat.
with the script above (including lkraider's modification to the return content) I get the following error in the chat server logs:
20160426-14:11:57.612(1) rocketchat_integrations api.coffee:165 Integrations ➔ Incoming WebHook.error function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Script = (function () { function Script() { _classCallCheck(this, Script); } Script.prototype.process_incoming_request = function process_incoming_request(_ref) { ...
There are no docs (that I can find) explaining how scripts are supposed to work.. has something changed in a recent version perhaps? I'm using 0.27
yes, those integrations mentioned by @lkraider are just examples. But those are quite easy to expand to full functionality if the payloads are documented good enough. We switched from Jira and Bitbucket to Gitlab a few days agow and also want to have the full integration. So if no1 is faster than us, Gitlab will be the next Integration right after completing JIRA which is already in progress ;-)
strange, I simplified the script down to a hardcoded returned content block and still got the same error, then it suddenly started working, then after re-instating the original script it worked. Do scripts get cached quite aggressively maybe? Whatever, it seems to be OK for now, so thanks for the efforts on this - looks like it will be really useful for us. :)
If anyone's interested, I've created a JIRA integration that responds with a summary of a JIRA issue whenever it's mentioned.
You can configure some stuff such as what fields should be posted and there's an "extended" mode that shows more details if you append + to the issue.
@gustavkarlsson Do you intend to extend this integration to incoming i.e. connecting a given JIRA project to a RocketChat room?
Also a question for everyone involved, is there a desire to get this integrated in some way, or do we think we'll all be rolling our own for the foreseeable future? :)
Due the Snap installation will create a read-only directory the Jira Webhook script runs into problems. Not sure if this also causes some problems with other Integrations.
Sorry not sure what the status of this is, but just going to quickly pop some stuff here.
There isnt any work as far as i am aware that needs to be done on this.
The current integration script utilising the incoming webhooks with JIRA posting to it work perfect and can be customised to your liking. This is what our 'helpdesk feed' looks like in Rocket.Chat:
The incoming intergration is done with this gist here
We use it to search for JIRA tickets, open them, transition them thru different states, comment on them, rank them up or down, start or stop watching them or change who is assigned to a ticket.
@JSzaszvari I'd like to close this as I've been doing with other bot suggestions and you've done to a few too, because they're out of scope. But this one seems to have a lot of history. If you think it's OK to handle from here as part of the collection of proposals for discussion / voting under #10174, please go ahead and close.
@timkinnane 100% agree. This is already handled with incoming integrations, existing Hubot functionality and when released Rocket.Chat Apps will allow a much more intergrated if needed.
Activity
nwsheppard commentedon Aug 31, 2015
+1
Sing-Li commentedon Aug 31, 2015
@dennis-f , @nwsheppard - There is no Jira expertise in the current team. Can you please see if any Jira community members may be able to help out? There is no need to understand the Rocket.Chat code, they just need to contribute a 'hubot' adapter over in the Rocket.Chat Chat Ops Edition project. Thanks.
nwsheppard commentedon Aug 31, 2015
@Sing-Li - How is the Rocket.Chat Chat Ops Edition different from the hubot-rocketchat integration?
Sing-Li commentedon Aug 31, 2015
@nwsheppard It is 100% hubot / hubot-rocketchat powered! It will have ALL the features of the core Rocket.Chat plus it will have some dedicated user interface that is specific to the bot(s) that is(are) integrated. Essentially turning a chat into a chat-app. And it will be, by design, massively scalable. BTW ... it is post 1.0 - just starting up there.
Before that is ready, the very same hubot that you create will be compatible - and can be used - with the current core Rocket.Chat.
nwsheppard commentedon Aug 31, 2015
@Sing-Li - Thanks.
gabriellezbautista commentedon Sep 16, 2015
Raised hand (for someone who knows JIRA)
marceloschmidt commentedon Sep 16, 2015
Awesome! @gabriellezbautista would you be interested in checking out Rocket.Chat.Ops and do for JIRA something like we did for GitHub?
gabriellezbautista commentedon Sep 16, 2015
I'm looking at it right now 👍 I'll try to put some time to it.
gabriellebautista commentedon Sep 18, 2015
Upon searching npm registry, I found this https://github.com/ndaversa/hubot-jira-bot. Maybe we can hookup with the developer and see if we can re-use it.
Againstreality commentedon Jan 18, 2016
Anything new on this Topic?
44 remaining items
davison commentedon Apr 26, 2016
with the script above (including lkraider's modification to the return content) I get the following error in the chat server logs:
20160426-14:11:57.612(1) rocketchat_integrations api.coffee:165 Integrations ➔ Incoming WebHook.error function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Script = (function () { function Script() { _classCallCheck(this, Script); } Script.prototype.process_incoming_request = function process_incoming_request(_ref) { ...There are no docs (that I can find) explaining how scripts are supposed to work.. has something changed in a recent version perhaps? I'm using 0.27
lkraider commentedon Apr 26, 2016
Not sure about the error, I am on 0.27 also. Try increasing the log level and copy all output here.
Some Script examples can be found in the docs:
https://rocket.chat/docs/master/server-management/integration-and-webhooks/github
https://rocket.chat/docs/master/server-management/integration-and-webhooks/gitlab
https://rocket.chat/docs/master/server-management/integration-and-webhooks/sentry
https://rocket.chat/docs/master/server-management/integration-and-webhooks/telegram
Would be great to have the full API though.
manuelbachl commentedon Apr 26, 2016
yes, those integrations mentioned by @lkraider are just examples. But those are quite easy to expand to full functionality if the payloads are documented good enough. We switched from Jira and Bitbucket to Gitlab a few days agow and also want to have the full integration. So if no1 is faster than us, Gitlab will be the next Integration right after completing JIRA which is already in progress ;-)
davison commentedon Apr 26, 2016
strange, I simplified the script down to a hardcoded returned content block and still got the same error, then it suddenly started working, then after re-instating the original script it worked. Do scripts get cached quite aggressively maybe? Whatever, it seems to be OK for now, so thanks for the efforts on this - looks like it will be really useful for us. :)
gustavkarlsson commentedon Aug 20, 2016
If anyone's interested, I've created a JIRA integration that responds with a summary of a JIRA issue whenever it's mentioned.
You can configure some stuff such as what fields should be posted and there's an "extended" mode that shows more details if you append + to the issue.
Feel free to try it out and provide any feedback/help you can.
https://github.com/gustavkarlsson/rocketchat-jira-trigger
antgel commentedon Sep 18, 2016
@gustavkarlsson Do you intend to extend this integration to incoming i.e. connecting a given JIRA project to a RocketChat room?
Also a question for everyone involved, is there a desire to get this integrated in some way, or do we think we'll all be rolling our own for the foreseeable future? :)
gustavkarlsson commentedon Sep 18, 2016
@antgel No plans for that. This is for outgoing messages only.
jhmk commentedon Oct 7, 2016
Due the Snap installation will create a read-only directory the Jira Webhook script runs into problems. Not sure if this also causes some problems with other Integrations.
https://github.com/malko/rocketchat-jira-hook/issues/1
Rohlik commentedon Jan 26, 2017
I found this integration Rocket.chat -> Jira - https://hub.docker.com/r/gustavkarlsson/rocketchat-jira-trigger/ based on Java. It is use Outgoing webhook.
Or you can try this integration Jira -> Rocket.chat - https://blog.zemna.net/web/how-to-integrate-jira-and-bitbucket-application-with-rocket-chat/ based on Incoming webhook.
btstream commentedon Jun 19, 2017
I tried, jira received a 400 response...
JSzaszvari commentedon Jun 19, 2017
Sorry not sure what the status of this is, but just going to quickly pop some stuff here.
There isnt any work as far as i am aware that needs to be done on this.
The current integration script utilising the incoming webhooks with JIRA posting to it work perfect and can be customised to your liking. This is what our 'helpdesk feed' looks like in Rocket.Chat:
The incoming intergration is done with this gist here
https://gist.github.com/malko/7b46696aa92d07736cc8ea9ed4041c68
To interact with JIRA you can use some great hubot plugins that are around
https://www.npmjs.com/search?q=hubot+jira
This can be done with the internal/built in Rocket.Chat hubot or your own instance.
This is the one I use https://www.npmjs.com/package/hubot-jira-bot
We use it to search for JIRA tickets, open them, transition them thru different states, comment on them, rank them up or down, start or stop watching them or change who is assigned to a ticket.
timkinnane commentedon Mar 20, 2018
@JSzaszvari I'd like to close this as I've been doing with other bot suggestions and you've done to a few too, because they're out of scope. But this one seems to have a lot of history. If you think it's OK to handle from here as part of the collection of proposals for discussion / voting under #10174, please go ahead and close.
JSzaszvari commentedon Mar 20, 2018
@rocket-cat close
@timkinnane 100% agree. This is already handled with incoming integrations, existing Hubot functionality and when released Rocket.Chat Apps will allow a much more intergrated if needed.
I'm saying that, I'll now close this issue.