Table of Contents macro within an article displays in Confluence but not when viewed from an issue

I've created an article in confluence which includes the use of a table of contents macro, it appears to work fine when published and viewed from confluence but when I click on the article form within an issue, the table of content is not displaying, has anyone else had this issue and have information to solve?

THANKS 

view from confluence:

View Confluence.JPG

View from opening link within an issue:View Issue.JPG

1 answer

0 vote

Hi Karen

It does appear to be a known issue where the Table of Contents Macro is not displaying within the Service Desk Customer Portal:

Could you please place a vote on that bug? It helps us keep track of the users who have run into the issue. I would also recommend watching the issue so you can be updated of any changes.

Let me know if you have any questions.

Regards,

Shannon

I have voted and will watch.  Additional question, I read the work-around:

           Workaround - Open the page in a different tab to view the macro.

I tried searching in documentation on how to set this up within the article, I haven't found it - can someone provide a link or instructions?

Thanks.

Hi Karen,

It just means to open the Confluence page directly in another tab in your browser. Once you view the article via Confluence and not Service Desk you should be able to see the Table of Contents macro.

Regards,

Shannon

I think there is a misunderstanding.  Yes I am aware while I'm in Confluence the ToC macro does work.  My issue is that from any place else (ex. Portal, Service Desk) which is where the issue is, I want to enable the work around so that the when the person clicks on the link to open the article, it pops up in another tab (as you are suggesting).   I am not clear where to change that action.

Hi Karen,

To change the action would require programming knowledge, as you would need to go into the Jira Source Code and change the behavior of the knowledge base. I wouldn't recommend making such a change as a workaround to a bug.

The workaround in the bug only refers to the action of opening it in Confluence manually, and wasn't suggesting that the user modify the Jira source code to change the behavior.

I hope this is clear enough but do let us know if you have any questions.

Regards,

Shannon

This workaround doesn't address the problem that is identified in both  JSDSERVER-3565 or what I posted, so I'm confused regarding your response.  Your response is talking about "only refers to the action of opening it in Confluence manually" (I'm not clear on the "manually" part)  which isn't actually an issue - I see the ToC just fine in Confluence.  

So unless I'm missing something there is no work around (which is fine) but let's update this to reflect correctly. 

If I have understood this all correctly, I will go back and modify to have links vs. using the ToC Macro.

Hi Karen,

It is correct that if you only want to view the TOC via Service Desk, then there is no workaround. You will want to modify your links.

However, if you just need to have users view it, then it can be opened in Confluence.

Shannon

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

966 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you