Jira ticket onebox issue with < and > characters

Tags: #<Tag:0x00007f7d01e417d8> #<Tag:0x00007f7d01e40dd8> #<Tag:0x00007f7d01e406a8>

I have noticed that the Jira ticket issue description text could be inaccurately fetched when they contain characters that must be escaped like < lt; (lesser than) and > gt; (greater than) and maybe also & &amp; (ampersand) but I did not see this one.

In this example post onebox, pointing to a Jira ticket, <person> and <group> have been removed from the text:

Has/had member should default to <person> was a member of <group>

To become:

Has/had member should default to was a member of


I wanted to see if I could improve this Jira onebox but I didn’t find the code.

2 Likes

Not sure, but it is probably using https://github.com/Jake-Shadle/discourse_jira or a fork of this. I guess @Freso knows.

1 Like