Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.

Support JIRA Server #1

Open
kannonboy opened this issue Sep 5, 2017 · 28 comments
Open

Support JIRA Server #1

kannonboy opened this issue Sep 5, 2017 · 28 comments

Comments

@kannonboy
Copy link
Contributor

kannonboy commented Sep 5, 2017

Currently the JIRA Cloud for Sketch only supports JIRA Cloud. We should consider supporting JIRA Server as well.

edit: server support is now in beta!

@reshadf
Copy link

reshadf commented Sep 5, 2017

I just tried downloading this app. Unfortunately, it was only available for cloud where we host our own Jira service. Adding this would be great!

@seandellis
Copy link

Agreed! The company I'm working with and I would love to see support for JIRA Server.

@leonblueconic
Copy link

We also would like to see support for Jira Server.

@connerdrew
Copy link

Adding another request for JIRA Server support :) HomeAway would love this!

@itsaphel
Copy link

Here as well.

@aniboaz
Copy link

aniboaz commented Sep 17, 2017

what he said

@johanneslamers
Copy link

What they all say!

@johanneslamers
Copy link

Any updates on this? Is there an ETA?

@kannonboy
Copy link
Contributor Author

@johanneslamers I can confirm that—due to overwhelming demand—server support will almost certainly be the next major feature for the plugin, but I can't commit to a firm date just yet. Keep your 👀 peeled.

@kristofboeckx
Copy link

+1 for Jira Server support

@Maruceau
Copy link

Yes, would also love to use this plugin with Jira Server support.

@kannonboy
Copy link
Contributor Author

kannonboy commented Oct 12, 2017

Thank you for your patience everyone! I've put together a beta release of the plugin with support for Jira Server. It should work with Jira 6 and above (I've specifically tested it with 6.0.8 and 7.5.0 so far).

Latest server beta

Beta 3: https://s3-us-west-2.amazonaws.com/atlassian-sketch-plugin/jira.sketchplugin-server_beta3.zip

Earlier server betas

Beta 2: https://s3-us-west-2.amazonaws.com/atlassian-sketch-plugin/jira.sketchplugin-server_beta2.zip

Beta 1: https://s3-us-west-2.amazonaws.com/atlassian-sketch-plugin/jira.sketchplugin-server_beta1.zip

If you already have an earlier version of the plugin installed you will need to restart Sketch after installing the beta. Otherwise the plugin will fail to load the 'Connect' screen properly (I'm currently working on a fix that will avoid needing the restart).

One other thing to note is that the connection process is slightly different to the Jira Cloud version, in that the plugin uses username/password authentication instead of the oauth to authenticate with Jira. When first connecting to a server instance, you will be prompted for your username and password, which will be stored securely in the MacOS keychain. For security reasons, the plugin will only work with Jira servers secured with SSL (i.e. your server URL must start with https://).

Enjoy! Please let me know if you run into any issues, and if you have a moment, please let me know what version of Jira Server you've tested it against (the version number is usually in the footer of the Jira dashboard).

@reshadf
Copy link

reshadf commented Oct 12, 2017

I just tried the plugin @kannonboy But when putting the url it says an ssl error occured. Is this related to the fact that our JIRA is only available from our own private network? (My macbook is on the same network though )

@kannonboy
Copy link
Contributor Author

kannonboy commented Oct 12, 2017

@reshadf is your Jira server secured with SSL? (i.e. does the URL start with https://) For security reasons—to avoid sending your username and password in clear text—the plugin currently only supports connecting to servers over https.

If your Jira Server is behind https, your Jira Server may be running with a self-signed certificate, which I haven't explicitly tested yet. If this is the case, would you mind sending your log file to tim@atlassian.com?

The log is cleared automatically whenever Sketch is restarted, so you'll need to:

  1. Reproduce the error.
  2. Attach the file at ~/Library/Logs/com.bohemiancoding.sketch3/Plugin Output.log to the email

An easy way to get to this file is by opening Console.app (under Applications -> Utilities), navigating to Plugin Output.log, right-clicking and clicking "Reveal in Finder".

log file

Thanks for your help!

@Maruceau
Copy link

I see the same SSL error message. The version number below is v7.2.8#72010-sha1:dc33de3:node1 and it starts with https

@kannonboy
Copy link
Contributor Author

Thanks for the report @Maruceau. Are you able to send your log file to tim@atlassian.com? (using the process described in my comment above)

@kannonboy
Copy link
Contributor Author

It's close to midnight here, but I'll take a look tomorrow and see if I can fix the SSL issues. It looks like a patch to support self-signed certificates (if that turns out to be the issue) should be pretty straight forward. Thanks for the quick tests folks!

@kannonboy
Copy link
Contributor Author

should be pretty straight forward

I've learned quite a bit about MacOS security since making that foolhardy statement. Supporting self-signed certificates is turning out to be a bit difficult in the context of a Sketch plugin, because the security settings are defined by Sketch itself. I'm confident I'll be able to find a workaround, but unfortunately it's going to take a little longer.

If you have influence with your server administrators, you might be able to convince them to reconfigure Jira Server to use a properly signed certificate (https://letsencrypt.org/ provides them for free!) but otherwise you might have to sit tight a little longer. I'll post another update soon.

@JackZwanenburg
Copy link

Works great with Jira Server v7.5.0#75005-sha1:fd8c849. Thanks!

@eliasjulian
Copy link

Server beta working great on v7.4.1 🙌

@ppwalker
Copy link

ppwalker commented Nov 6, 2017

Works on 6.4.2!

@kannonboy
Copy link
Contributor Author

kannonboy commented Nov 20, 2017

Hey folks! Another quick update — I've just released beta 3 which adds some better error handling, analytics, and fixes an issue that @eliasjulian reported where you couldn't connect if your Jira Server username or password changed. Server support will be merged into the general release stream soon.

Unfortunately after discussing the problem with Bohemian Coding, it looks like we won't be able to support self-signed certs 😞. There is currently no way for a Sketch plugin to override the security configuration of Sketch.app itself, and no plans to allow it in the future (which is fair enough when you think about it). Therefore @Maruceau @reshadf unfortunately you may have to convince your system administrators to start using official SSL certs. https://letsencrypt.org/ is a great—and free!—certificate provider if you're looking for one.

@sourced-barnettd
Copy link

Hi @kannonboy, Any news on plans to merge this into GA?

@ljaeren
Copy link

ljaeren commented Oct 13, 2018

Server Beta 3 works on Jira v7.10.2#710003-sha1:897b0c4. I am able to perform exports to Jira; however, it crashes Sketch 52.2 when I close the plug-in or edit my Sketch files. I'll update as I use it more.

@TBVTBV
Copy link

TBVTBV commented Nov 4, 2018

I need this to work! pleeeeease!

@yellowzapp
Copy link

Is there anyway to support logins other than user/pass? for example a card/pin?

@yellowzapp
Copy link

oh were on version 7.6.9

@parkerhendo
Copy link

This crashes in 53.2, any updates on when or if we will get a stable build for Jira Server?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests