Hello,
I have found something that seem that would answer my question here but when I have tried to replicate it wouldn't work.
Is it still possible to render a field description and inject HTML or Javascript?
Result of custom field, I see the text under as a description but it ain't clickable.
I would like to use this solution that when it is click it open a new Confluence document in the proper space and then be link to the Jira task.
Current version JIRA v7.6.1
Thanks in advance,
Hi,
It works, i think you just need to to put all your code (in the description) inside "script" tag, like:
<script>
//your JS code goes here
</script>
Thanks for your help but this doesn't work.
I've looked for js scripts in the forum and found this post
I've updated my script in the description
<script type="text/javascript">
AJS.$(document).ready(function() {
</script><a target="_blank" href="http://confluence....">CLICK ME!</a>
});
</script>
I do see the text under description but it not clickable..
I've also looked at the link posted in that one talking about Custom Fields that use CSS or JavaScript Web Resources in JIRA 5.0 but I got lost.
I'm not sure what to check... thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is your Jira version?
You are using server right? not cloud...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.