jiraissues macro without linking?

Alex Perez
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 17, 2013

Hi all,

Im interested in publishing a "release notes" space for all our products. The release notes is basically a jiraissues macro pointing to a jira filter with fixversion=x, ordered by issuetype, showing only the issuekey and a customfield describing the change.

But the confluence page is visible to a wider group than the jira project, so I want to NOT render the link in the issuekey to avoid users trying to click and complaining about the permissions ...

How can I get only the issuekey without the link to jira issue?

Thanks

3 answers

1 accepted

0 votes
Answer accepted
Alex Perez
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 18, 2013

Gotcha!

needs some improvements, but the solution is by enabling HTML macro, and inserting:

<script type="text/javascript">
	AJS.toInit(function(){
      //Borrar el "Acceder a JIRA"
      AJS.$('.issues-subheading').remove();
      //Borra todos los <a> dentro de wiki-conttent
      AJS.$('.wiki-content > .contentLayout a').each(
            function(){
                  AJS.$(this).replaceWith(AJS.$(this).text());
            });
	});
</script>

0 votes
Timothy
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 17, 2013

Not possible.

0 votes
Timothy
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 17, 2013

Not possible using the jiraissues macro.

Alex Perez
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 18, 2013

And ... any chance of deleting the link by embedding some JS code in the page itself?

Like this for jira, but in confluence:

http://www.j-tricks.com/1/post/2012/02/some-ajs-tricks.html

Suggest an answer

Log in or Sign up to answer