Git Product home page Git Product logo

jira-matter-bridge's People

Contributors

int128 avatar vrenjith 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  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

jira-matter-bridge's Issues

Choose a license

It's easier to set one early on, before you have a ton of users to get pissed off :)

Server Error 500

Hi,

We often see these error in our jira logs and sometimes we see that jira falls over when this occurs. We have configured the web hooks to communicate with our mattermost channel.

2017-06-13 10:35:05,112 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,112 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/eqoudr18a3yy5xriuays97yjwh'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

What are the key features`?

Can't find any documentation about the key features of the bridge. Can you pls add one to the readme or at least in the wiki?

301 error with latest version of GitLab Mattermost

Hi

Using jira-matter-bridge results in a 301 error when POSTing to the Mattermost webhook:

Log output:

npm[17557]: POST /hooks/[hookid]?user_id=johnsmith&user_key=johnsmith 200 903.011 ms - 290
npm[17557]: Response: <html>
npm[17557]: <head>
npm[17557]: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
npm[17557]: <title>&lt;span class='fa fa-chevron-left'>&lt;/span>Back - Error</title>
npm[17557]: <link rel="stylesheet" href="/static/css/bootstrap-3.3.5.min.css">
npm[17557]: <link rel="stylesheet" href="/static/css/jasny-bootstrap.min.css" rel="stylesheet">
npm[17557]: <script src="/static/js/react-with-addons-0.13.3.min.js"></script>
npm[17557]: <script src="/static/js/jquery-1.11.1.min.js"></script>
npm[17557]: <script src="/static/js/bootstrap-3.3.5.min.js"></script>
npm[17557]: <script src="/static/js/react-bootstrap-0.25.1.min.js"></script>
npm[17557]: <link id="favicon" rel="icon" href="/static/images/favicon/favicon-16x16.png" type="image/x-icon
npm[17557]: <link rel="shortcut icon" href="/static/images/favicon/favicon-16x16.png" type="image/x-icon">
npm[17557]: <link href='/static/css/google-fonts.css' rel='stylesheet' type='text/css'>
npm[17557]: <link rel="stylesheet" href="/static/css/styles.css">
npm[17557]: </head>
npm[17557]: <body class="white error">
npm[17557]: <div class="container-fluid">
npm[17557]: <div class="error__container">
npm[17557]: <div class="error__icon"><i class="fa fa-exclamation-triangle"></i></div>
npm[17557]: <h2>GitLab Mattermost needs your help:</h2>
npm[17557]: <p></p>
npm[17557]: <a href="https://[mattermost_server]hooks">Go back to Mattermost</a>
npm[17557]: </div>
npm[17557]: </div>
npm[17557]: </body>
npm[17557]: <script>
npm[17557]: var details = "

The issue is caused because query string ?user_id=johnsmith&user_key=johnsmith being taken from the original JIRA request and appended to the Mattermost webhook POST request. I can't find where in the jira-matter-bridge code this is happening, but the latest version of GitLab Mattermost definitely doesn't like it!

Please can any superfluous query strings be stripped off before the POST request to the Mattermost webhook URL?

SSL

Hi, first of all thanks for setting this up.

I have a few questions, for environmental variables being set on the Mattermost server:

MATTERMOST_SERVER_PORT - Default: 80
MATTERMOST_SERVER_PATH - Default: /hooks/
MATTERMOST_SERVER_PROTO - Default: http
MATTERMOST_SERVER - Default: localhost

I'm using https, which is being forwarded by nginx, will that affect these variables?

Secondly,
in the walkthrough, you say:

Install the required modules by running npm install
Start the app by running npm start

Should this be done on the Mattermost server or the Jira server? Also, which modules are required?

Finally,
https://github.com/mattermost/platform/blob/master/doc/integrations/webhooks/Incoming-Webhooks.md
is a dead link. Any idea where they moved it?

Thanks in advance for any help.

Mattermost moving to API version 4

Hey @vrenjith !

First, hugely appreciate you sharing this project back with the world. Fantastic work!

I wanted to let you know about our plans moving to API v4:

To make the Mattermost API web service easier to use and to offer more powerful options for these integrations, Mattermost will be moving to a new API version soon. Highlights include:

  • Fully documented API endpoints
  • More in-depth access to server functionality
  • Wider use of established HTTP verbs
  • Consistent endpoint structures
  • A new and improved Go driver

We plan to release API version 4 on March 16th, with Mattermost server 3.7. While the current API version 3 will be supported until September 16th, we recommend you begin using API version 4 soon after its release.

Contributing

API version 4 is an active and on-going project. If you're interested in helping contribute, please join our Mattermost community instance and the APIv4 channel.

We've prepared a contribution process for APIv4 and a progress tracker for new APIv4 enpoints to help you get started.

We're also open for suggestions on adding new API endpoints to help with your integration.

JIRA integrations

Hi,
I'm trialing Mattermost at our work and want to setup some JIRA integrations. One of the reasons we're trialing Mattermost is that we can host everything internally. In your guide for the JIRA integration, we need to use Heroku as the webhook bridge. Is there a way we can host a bridge internally and not use Heroku ?

thanks

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.