I want to enable a custom URI protocol in my issue descriptions so that a link of the type
<a href="myapp:args">click here</a> will work.
For this I need to enable HTML editing (although the description will be posted by the REST API)
I found this page
https://confluence.atlassian.com/jirakb/how-to-enable-html-in-jira-text-fields-771895067.html
And followed the instructions, but when I get to the Wike Renderer Macros Plugin, there's no "Manage Plugin" option. I can exappand the list of 7 out o7 modules, but they don't include "Html", and in each case hovering over the module shows the message "Module cannot be modified".
I'm fairly new to Jira, so I'm hoping I've missed something really basic (e.g. putting myself in an edit mode)
Just to follow up my own question, I think I have a workaround as follows:
Seems to work okay.
Hi John
I tried the steps in your link and had the same issues - I think that document is old and out-of-date.
I then went into a Jira issue and looked at the Description field, which is a wiki renderer field and has a button for an external link. After adding one, I see that the format is
[the display text|url]
where the [ | ] are the delimiters.
You should be able to do the same via the API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The document says last modified Dec 10 2017 :-)
I tried what you suggested, and it does indeed work for http: type links (and in fact if you type in a fully qualified URL that also works). Obviously the wiki code is changing this into a <a> tag linked to the typed URL.
My problem is that I want to use a custom URL protocol, rather than a standard one like http:/
In effect I want to be able to generate the following HTML
<a href="myprotocol:arguments">click here</a>
and the wiki editor won't allow the creation of links like this.
Reading elsewhere in the forum it seems that this functionality isn't available in the Cloud version, and that an add-on is available. Although whether that add on would work via the REST API I can't yet tell.
Essentially I want to post an issue via the API and be able to have that issue launch a custom app locally.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
You already mentioned it, but I just wanted to confirm adding HTML or scripts to descriptions is a restricted function in Cloud. For more information please refer to Restricted Function in Jira Cloud Applications.
And if you're looking for some info on Jira REST API calls please refer to JIRA Cloud REST API docs.
Cheers,
Danny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.