Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA UNC Links and custom field descriptor caching

DJX
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2013

I have a need to put multiple (clickable) UNC links into my JIRA issues. In the past, I believe we had a special custom field with a custom renderer - but now I've moved to 6.1.3 and it doesn't work.

I am aware there is a File Link field, but it does not support UNC paths. I am also aware that I could use Wiki markup, but this is time consuming and my users will not be able to do this consistently.

The only other option I've found is doing in-line Javascript on the custom field descriptor but this has been very hard to debug. I've finally found that I think the pages are getting cached with the snapshot of what the field descriptor was at that time so all the issues do not get the new javascript code until I perform a full re-index. Can anyone else confirm this, or provide a better solution?

2 answers

1 accepted

0 votes
Answer accepted
DJX
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2013

The only "workable" (still having some issues with IE8) I found for this is to use JavaScript in a LiveField (via a plugin by Kepler, it's great!) instead of using the custom field description.

0 votes
Yossi Zinger May 13, 2014

You can use a JIRA URL field with a value such as file://myserver/myfolder/myfile.txt

DJX
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2014

The problem with this is it requires the user to enter the UNC path in that format, which is not a user-friendly way of doing it. Instead, I just have a multi-line field and I use JavaScript to rewrite the field into clickable links.

Suggest an answer

Log in or Sign up to answer