Coder Social home page Coder Social logo

rocketchat-jira-hook's People

Contributors

ccfiel avatar jbahillo avatar malko avatar rjmfernandes avatar thesharpieone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocketchat-jira-hook's Issues

Call for maintainer

I have no more installation of Jira or RocketChat on my side so I can't test it anymore. My time is limited and time I can spent on this project is really sparse. For these reasons this project is in look for new maintainers.
In the mean time I'll still accept and review PR but it will be done when I have free time for this, which means it can take a long time to be done.
If your are interested contact me directly or by commenting on the issue.

couldn't make it work

Hi
I am trying to make this webhook method to work with my chat and unfortunately I wasn't able to.

I have followed all the steps right and still nothing works. Can someone please tell me how to debug ?

I am trying to locate the problem source first, is it from jira or rocketchat, can someone give me an example outgoing header from jira to inject it using curl?

read-only error on Snap installation

When installing Rocket.Chat via Snap it creating a read-only snap dir.
If I now try to add this Webhook the following messages appear:

EROFS: read-only file system, mkdir '/snap/rocketchat-server/74/programs/server/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/.babel-cache'

The problem depends most on a not separate dir for Cache & Temp files which is write-able.

Any way to set a different .babel-cache URL in the Script?

Add a licence for this repository

I would like to request adding a licence to this repository to make it legally safe to use it and clarify what is allowed and what isn't.

Without a licence, the copyright laws apply which means no one is allowed to copy or modify the script without explicit permission. Not being allowed to copy this particular script defies its purpose since it's meant to be copied into the Rocket Chat settings.

Incoming Hook not working (404)

The incoming hook is not working for us.
We installed everything as described but get an error in Jira:

2017-06-26 15:50:36,055 httpclient-callbacks:thread-4 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Client error - 404 when posting to web hook at 'https://mychat.com/hooks/nSYEKpDb4sqhWKcqN/PbHgwoXEnuCwL7TtZiy7upAZLcnDCuWCxbbpwjWH2SCqgDST'
Posting with curl via the Rocket.Chat Example does also not work as long as the the JS script is enabled.

Unfortunately the Rocket.Chat log does not log anything related when "debug" log is enabled.

We are running Rocket.Chat version 0.57.0-rc.1 and Jira Version v7.1.8.

Any ideas?

Thanks!

Script fails to run in modern rocket.chat

This script hasn't changed since 2018 and had been working reliably for us until we upgraded to rocket.chat 4.x Now it just produces a basic error and I'm really struggling to diagnose the error.

I can confirm that curl to the webhook has a similar error (but isn't passing in variables which Jira would) and that Jira's webhook configuration is correct.

Can anyone please confirm this works in rocket.chat 4.0.1 or newer from Jira 8.20.1 or newer?

Thank you!

Jira attachment or issue linking actions ignored by rocket.chat

We have configured several Jira Cloud - Rocket.Chat Webhooks using this guide: https://docs.rocket.chat/use-rocket.chat/workspace-administration/integrations/jira

and your script: https://github.com/malko/rocketchat-jira-hook/blob/master/jira-rocketchat-hook.js

The majority of the webhooks are working successfully except the ones that should "notify" regarding the addition/removal of attachments or addition/removal of links.

As you can see from the Rocket.Chat logs, all the mentioned events are ignored by Rocket.Chat and no notification is displayed in the Rocket.Chat channel.

Jira event attachment_deleted. Not enough info on issue. Event ignored.
Jira event attachment_deleted. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.
Jira event attachment_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Not enough info on issue. Event ignored.
Jira event attachment_created. Not enough info on issue. Event ignored.
Jira event attachment_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_created. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.
Jira event issuelink_deleted. Not enough info on issue. Event ignored.

Could you please help us with this?

Thank you

Option to send direct messages to @-mentioned users

According to https://github.com/RocketChat/Rocket.Chat/issues/15057 the channel specified in the webhook integration in rocket chat is only the "default channel", and can be overwritten by the script.. great.

This means that we could notify users in rocketchat if they are mentioned in jira, in addition to posting the infos into the designated #channel.

A mentioned user looks like this in the body field of the json file: [~username].

How would the script has to be improved to do this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.