Oembed support for jira urls?


#1

would this be possible @modius?

I use this service which is free for open source projects for docs http://open.iframe.ly/api/oembed?url=https://luceeserver.atlassian.net/browse/LDEV-1790&origin=lucee&format=xml


#2

I’d love to have JIRA Onebox support in Discourse. Haven’t been able to work out how to do it yet :wink:

There use to be a plugin but that is now dead:

Atlassian doesn’t really provide the right metadata. I can’t get any of the embed services to work properly. :man_shrugging:

Standard JIRA link doesn’t Onebox as it doesn’t have enough metadata:
https://luceeserver.atlassian.net/browse/LDEV-1790

Generally if http://iframely.com/debug renders a preview then it should work.


#3

did you adding it to the whitelistedgeneric list?


#4

All domains are whitelisted by default; you blacklist domains you don’t want to attempt to process.

Current Onebox settings


#5

maybe ask on the discourse forum?

(the one line version might be better for jira)


#6

Historically the response has been:

  • get Atlasssian to update their open graph metadata
  • build a plugin

There was a plugin but its now defunct:

A plugin looks easy enough as long as you are just looking at static data; the HTML is created and baked into the post on save. If you want something that reports say the current status of the ticket, the plugin would be a bit more involved.

Either way, Discourse plugins are written in Ruby and a little outside of my area of expertise :wink:


#7

i’ve asked :slight_smile:


#8

In the meantime, at least Lucee Docs now has custom oembed support for Lucee Jira links :slight_smile: