The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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 Champions.
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 Champions.
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 Champions.
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 Champions.
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