UNC Link from Reporting

Michael Roff
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.
July 10, 2011

I would like to use the results of a {report-info} call to create a UNC Link.

With a UNC Link all you need to do is wrap a directory address with [ ], however, when you wrap the results of a {report-info} call in [ ], it treats the contents like a Confluence address and not a network address.

Using this code, you can see the issue highlighted.

Location: {text-data:Location|width=400px}
Report Location - {report-info:data:Location}
Report Location as UNC Link - [{report-info:data:Location}]

Can anyone suggest anything I am doing wrong OR advise if there is a bug in the way the [ ] link works?

Is there a way I can force a link to be a UNC link with some other syntax rather than just using [ ]?

2 answers

0 votes
Michael Roff
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.
July 11, 2011

I tried to add this as a comment but it kept saying I was over the 600 character limit - but I had 63 characters left ???

I recieved a comment from David Simpson [AppFusions] but for some reason it doesn't show up here.

The comment was:

Do you have any examples?

In wiki markup...

[\\ComputerName\Shared Folder\Resource Name]

...seems to work ok for me.

The example to use is this three lines of wiki syntax:

Location: {text-data:Location|width=400px}
Report Location - {report-info:data:Location}
Report Location as UNC Link - [{report-info:data:Location}]

Normal UNC links work.

It doesn't work when the contents of the link is from a {report-info} call.

0 votes
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 10, 2011

Do you have any examples?

In wiki markup...

[\\ComputerName\Shared Folder\Resource Name]

...seems to work ok for me.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events