gsingers / slack-jira-plugin

A Slack plugin that watches channels for messages about JIRA and acts accordingly
MIT License
252 stars 85 forks source link

Doesn't support jira hosted inside a directory #23

Open GabLeRoux opened 8 years ago

GabLeRoux commented 8 years ago

Hey there, I think this plugin doesn't support Jira when it's hosted inside a folder but I may be wrong (I did not setup that Jira, but I managed to get things working).

example:

JIRA_URL="https://<someurl>.com:443/jira/browse/"

But it did work when I specified settings as the following:

    "DEFAULT": {
      url: process.env.JIRA_URL,
      jira: {
        user: process.env.JIRA_USERNAME,
        password: process.env.JIRA_PASSWORD,
        strictSSL: true,
        verbose: true,
        protocol: 'https',
        port: '443/jira', // WORKAROUND dirty hack to make it work
      }
    },

But this is probably a https://github.com/steves/node-jira issue

Ah this is https://github.com/steves/node-jira/issues/101 It's about "Apache Soft. Foundation JIRA" that uses a different api url