youngmon/atlassian-qna huggingface dataset:
Add WebItem in top navigation bar
Asked by Enrico Schierz:

Hallo,

I search the location to add a webitem to top navigation bar by "search" and "create".

I do not find these location in the dokumentation.


Answers:
author: Vero Rivas
body: Hi [@Enrico Schierz](/t5/user/viewprofilepage/user-id/551285)

Look at this posts, maybe can help you

<https://community.atlassian.com/t5/Jira-Service-Management/Scriptrunner-adding-web-section-to-navigation-bar/qaq-p/1040110>

<https://community.atlassian.com/t5/Jira-questions/How-to-add-web-item-to-top-level-bar/qaq-p/1783001>

<https://community.atlassian.com/t5/Confluence-questions/I-want-to-add-a-menu-item-in-the-top-navbar-of-the-atlassian/qaq-p/717019>

Cheers


Tags: connect

developer
How to automatically disable and enable a plugin in confluence
Asked by Bhupesh Nagda:

Hi,

We want to restart (disable/enable) a user installed plugin in confluence every midnight. I was hoping to curl an API for the same but looks like the APIs only support content modification and not any changes related to plugin. Is there any other way to write maybe a job to restart a plugin in confluence?

Any advice would be highly appreciated.

Best Regards,

Bhupesh


Answers:
author: AnnWorley
body: I wasn't able to find an API for disabling a plugin in Confluence, either. The [Bob Swift CLI tool](https://bobswift.atlassian.net/wiki/display/CSOAP/Reference#Reference-getAddon) seems to provide the ability to check status of an add-on, but I didn't see anything about disabling add-ons in their docs.

If you are good with shell scripting you can disable the plugin using SQL in a shell script. The SQL is on this page: [How to manually remove malfunctioning add-ons](https://confluence.atlassian.com/confkb/how-to-manually-remove-malfunctioning-add-ons-113705118.html) The issue with this approach is Confluence would need to be restarted to pick up the change in the database.

I am curious about your use case. Please let me know more about what add-on it is, and why it needs to be disabled at midnight.

comments: author: Bhupesh Nagda
body: Hi,

Thank you for reply!

We have a heavy weight plugin developed by a vendor for us. It controls the complete UI of our confluence and uses it's own mechanism for creating new content in confluence spaces.

There is a lot of custom functionality developed in this plugin which is not possible in confluence out of box. So the issue is that using script runner in jira we are creating a page in confluence passing url parametrs required to create page in confluence like page title, issue key etc. We also create a link from jira to confluence but when the user clicks on link to access the page, it get page not found error. Then we have to disable and enable the plugin to get the link working. So it is some plugin cache issue.

Thanks \& Regards,

Bhupesh


author: Nic Brough -Adaptavist-
body: That's something that would need to go to the vendor of this add-on you have.

If your SR script is creating a page using the standard REST function, then the page should be immediately visible without having to do anything. It sounds like the add-on is breaking something in the indexing, maybe by replacing part of the normal create process with its own.


Tags: app
can't re-add a label after deleting it
Asked by Mordechai Cikk:

Hi,

I need to re-add a label that was previously deleted but an error is displayed and the label is not added.

Steps to reproduce in Confluence:

1. Add label

2. Delete the label

3. Attempt to re-add that same label

System returns an error icon and the label is not added.

Any ideas how to get around this?

Thanks.

![re-add label error.JPG](/t5/image/serverpage/image-id/6119iD47AD94B572322F7/image-size/large?v=v2&px=999 "re-add label error.JPG")


Answers:
author: Shannon S
body: Hi Mordechai,

I've attempted to replicate this on my instance but I was not able to:

[Watch my screencast here](https://screencast-o-matic.com/watch/cbQoQNIb3r)

However, this is on Confluence 6.3.4. Can you let me know what version of Confluence you have the problem in, and if you are replicating the issue a different way?

Kind Regards,  
Shannon

comments: author: Mordechai Cikk
body: Thanks Shannon.

It took a while but we tracked it down to a system problem.


author: Shannon S
body: Thank you for letting us know, Mordechai!

If you would like to share the system problem as a separate answer it might help other users if they run into the same issue.

Shannon
How to set status of the ticket to be updated in confluence automatically ?
Asked by venugopal123:

Hi,

I have integrated Jira and confluence and I want to create the Jira ticket from confluence with all its respective fields. I have a table with fields as column and I want to take the column values as the different fields and create the ticket. How do I do it.Even I want the status of the ticket to be updated in confluence automatically. How can I do itKindly help and guide me achieve it

Thanks and Regards.


Answers:
author: Gregory Van Den Ham
body: there's a good blog on this topic. [https://www.atlassian.com/blog/confluence/link-jira-issues-to-confluence-pages-automatically](https://www.atlassian.com/blog/confluence/link-jira-issues-to-confluence-pages-automatically?)


Tags: jira-software
unable to attach pdf attachment to confluence page by rest API
Asked by azizuddin K:

curl -v -S -u username:passwd -X POST -H "X-Atlassian-Token: no-check" -F "file=@/home/test1234.pdf" -F "comment=this is my file1" "<https://xxx.atlassian.net/wiki/rest/api/content/pageid/child/attachment>" \| python -mjson.tool

From Above Rest API i able to attach pdf but unable to publish on confluence page. please do the needful


Answers:
author: Stephen Deutsch
body: If you want to publish on the Confluence page, then you'll have to download the page content, choose where on the page you want to insert it, insert the code for displaying the pdf, and then update the content of the page (don't forget to increment the version number).

In order to find the code you need for inserting the PDF, find a page that has an embedded PDF (or make one) and look at the storage format (under the ??? menu is "View Storage Format") and find the code that contains the name of the PDF. You can use this as a template for the code you need to insert.


Tags: attachment

rest-api
Can not export the custom macro's content when using export the multi-pages
Asked by ??_Vic_ ?:

Dear all,

<br />

We put the below code into the page template and then create a page by this template.  

\<div id="main-content" class="wiki-content"\>  
$body  
$helper.renderConfluenceMacro("{pcnwatermark:SpaceKeys=VSCTES}")  
\</div\>  

But when we try to export the multi-pages include this page.  

This page's body didn't include the code's context, have some one can help me?

Thank you \& Best regards!  
Vic


Answers:
author: GG
body: Hi Vic,

Have a look at Content Exporter for Confluence addon, that might do the job for you:

<https://marketplace.atlassian.com/plugins/com.metainf.confluence.plugin.pagetreeexporter.pagetree-word-exporter-plugin/cloud/overview>
Adding a macro to all pages in a space
Asked by AccountName:AIB:

Is there a way to add a macro to all pages of a space?

I have a user macro that creates some specific actionable icons. I want to include this macro on every page within a space.

How can this be done?


Answers:
author: AccountName:AIB
body: and....found it

**Prereq:**

The space should have the **Gloabl Look and Feel**theme enabled or the process wouldn't work.

**Process:**

1. Space tools \> Look and Feel
2. Themes \> Change to Global Look and Feel
3. Layout \> Page Layout \> Edit or Create Custom
4. Find the code: (towards the top)
   * #if ($mode == "view")  
     \<content tag="page-metadata-banner"\>  
     #skiplink("page-banner", $i18n.getText("assistive.skiplink.to.banner.start"), $i18n.getText("assistive.skiplink.to.banner.end"))  
     #webPanelForLocation("atl.page.metadata.banner", {"action": $action})  
     **$helper.renderConfluenceMacro("{MacroNameNoSpace}")**   
     #end  
     \</content\>  
     #end
5. Save
6. Refresh space and voila!

Hope this helps anyone else looking for a similar solution. You are welcome! :)


author: Shannon S
body: Hi there,

You can add the macro either in the Header/Footer of a space, such as under **Space Tools \> Look and Feel** , or you can click **Layout** and create a special page layout.

There is more information on how to do this on [this past Community post](https://community.atlassian.com/t5/Confluence-questions/Confluence-apply-a-macro-to-all-children-pages-of-a-space/qaq-p/36058).

Let us know if you have any questions about this.

Kind Regards,  
Shannon

comments: author: AccountName:AIB
body: Hi,

The past community post does talk about the same issue/question I have but doesn't necessarily provide the best example on where the **$helper.renderConfluenceMacro("{testmacro}")** should go within the multitude of page decorators found within Page Layout for the space. Also, not certain if it needs to be enclosed within other tags e.g. \<content\>\</content\> etc.

I would very highly appreciate If you/your team could provide some more guided help on this.


Tags: administration

space

user-macro
Can you "include" or insert a page in a template?
Asked by Nikos Sarilakis:

I have created a header page (logo + hero + menu) and I would like to include it in the body of every page of a space. What is the best way to do that? For now, I go to every page and I add the include macro at the very top. Ideally, I should code the header within the template but I only know html and css..

The biggest problem is that I would like to add the title of the page between the header (page content) and the body.


Answers:
author: James Dellow
body: Its not always ideal, but you could try adding it as custom header for the space via Space Tools \> Look and Feel \> Header and footer? You haven't said what version of Confluence you are using, but it should work in cloud and on server.
Exception while installing confluence server..
Asked by Vedant Kulkarni:

I am Facing error while installing confluence server on a local system. The error is shown below:

![confluenceError.png](/t5/image/serverpage/image-id/6101i9E4F2E93C57629FE/image-size/large?v=v2&px=999 "confluenceError.png")


Answers:
author: Nic Brough -Adaptavist-
body: Check the permissions and ownership of the installation files and directories - them being wrong is the most likely cause of "unable to clean cache directory"


Tags: confluence-server
creating a link current user personal space
Asked by Adrien kovanic:

Hi,

Is there a way to add to the side navigation or simply in a page a link to the current user personnal space?

meaning this link would change according to which user is viewing the page.

thanks a lot

best regards

AK


Answers:
author: Ann D_
body: It does not look like this has yet been resolved, according to your link [@James Dellow](/t5/user/viewprofilepage/user-id/502478) which is surprisingly still live, not sure if living though


author: James Dellow
body: Have you looked at the Linking Plugin? <https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.linking/server/overview>

comments: author: Adrien kovanic
body: yeah but it's not a macro that I need, it's a code snippet that I need to add in the link :)


author: James Dellow
body: There is a list of Confluence URLs here <https://confluence.atlassian.com/confkb/confluence-url-list-317949394.html>

Personal spaces aren't one of them, so I don't know how you would do this without a macro or some other customisation. There is only a static link to the current user's profile.

BTW not sure how the people and profile links will work in regard to Atlassian Home moving forward, but that's only a consideration if you are on cloud at the moment.


Tags: space
Cannot see user directory on on-prem confluence general configuration
Asked by Tim:

Trying to follow the steps to link my confluence on-prem setup to my jira on-prem users.

However it says to edit the User Directory in confluence, but this does not display for me.

Using the steps listed here for the JIRA User Server

<https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html#ConnectingtoCrowdorJIRAforUserManagement-jira>

Not sure if this has anything to do with it, but when i imported my Confluence cloud instance, the sysadmin user was never created and i couldn't log in with that one (if anyone knows how to fix this too, that'd be great)


Answers:
author: AnnWorley
body: To create a super user in Confluence, please add an admin user to the confluence-administrators group. To understand more about the group, please see: [Comparing the confluence-administrators group with the administrator permissions](https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview#GlobalPermissionsOverview-Comparingtheconfluence-administratorsgroupwiththeadministratorpermissions)

I was not clear from your description whether you could not edit an existing User Directory or if you could not add one. The instructions you linked describe creating a User Directory in Confluence to use with the JIRA User Server. If you are logged in as a member of the confluence-administrators group you should be able to add a User Directory.
> Set up the JIRA user directory in Confluence:

*
  > Choose the**cog icon** ![](https://confluence.atlassian.com/doc/files/157679812/321984148/1/1361250253653/Cog.png), then choose **General Configuration** under Confluence Administration
*
  > Click '**User Directories**' in the left-hand panel.
*
  > **Add** a directory and select type '**Atlassian JIRA**'.
*
  > Enter the settings as described below. When asked for the **application name** and **password**, enter the values that you defined for your Confluence application in the settings on JIRA.
*
  > Save the directory settings.

Confluence does not let you edit the User Directory you are using to log in; if you are not seeing an edit button that is a common reason why.


Tags: user-management
Place Files Directly Into Confluence?
Asked by Robert Delwood:

Can I programmatically or through a batch file load files directly into Confluence?


Answers:
author: Nic Brough -Adaptavist-
body: As well as WebDav, you can use the REST API.

Do not just try to dump files on it, if you don't go through the API, Confluence will not create the data it needs to be aware of the filess.


author: Brian Jones
body: There is, or used to be, a way to use this via WebDav. Just to note it is not supported.

<https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html>


Tags: file

upload
How to view included page while editing?
Asked by Hans Cabrera:

Currently, in edit mode, I am unable to view a page that I am including using the "Include Page" macro; instead, it has a placeholder. I was wondering if there was a way to make the included page show up in edit mode, as if it were content native to the page.

For now, I am opening a second window to view the contents of the page. This works but is not ideal for our purposes, since my team would like to do this often.

Thanks.


Answers:
author: James Dellow
body: Sorry, I don't believe that's possible and can't imagine it being solved, as would need to deal with issue like potientially different permissions on the included pages and also concurrent editing.

comments: author: Hans Cabrera
body: That makes sense. Thanks for your help, James.
Infinite loading preview
Asked by Anna Kuzova:

Hello!

When you click on the preview button is infinite loading. This is reproduced on all pages. However, this problem does not appear in the incognito browser mode


Answers:
author: AnnWorley
body: I understand when you access Confluence in your regular browser session, previews do not render, but it works when you use incognito mode.

I am curious whether you are logging into Confluence during the incognito session versus accessing Confluence anonymously. I tend to think you are logging in because editing is typically not enabled for anonymous users, and you have to edit to preview. If you are logging in when you use incognito mode then it is likely the issue is your browser cache when you use the regular session.

On the other hand, if it works for anonymous users but not for your account then we can isolate it to your account, or to logged-in users. Please let me know if anyone else is experiencing the infinitely loading preview.

Please try:

* A different browser, like Firefox.
* Clearing your browser cache, including cookies, and then testing the preview.

comments: author: Anna Kuzova
body: Ann,

Thank you! The clearing browser cache halped
A second document from Influence able to interface with Jira service desk
Asked by Danny Janssen:

I have already managed by the title in Jira that certain confluence files are suggested. Now i want that if company name is set a standard file is presented in Jira.

Can somebody help me?


Answers:
author: Nic Brough -Adaptavist-
body: I am sorry, but your first sentence makes no sense to me.

I am guessing that you might be talking about the function that Service Desk tries to suggest Confluence articles to you when you raise a new request? Is that right? If so, then could you explain the problem?


Tags: jira-service-desk
cascade/inherit labels
Asked by jeremy.sheehan@fpl.com:

Hello everyone,

is there any way to cascade labels from a parent page or have sub pages inherit labels from its parent?

I can't seem to find anything in page information or any other place.

I'm using confluence 6.0.6

Thanks in advance,

Jeremy


Answers:
author: AnnWorley
body: We don't have that feature but it has been requested: [Inherited labels for child pages and attachments](https://jira.atlassian.com/browse/CONFSERVER-39457) If you vote or comment on the suggestion you can help influence the dev team, and you will be added to notifications for the ticket.

The workaround of using the plugin [Labeler - Content Organizer](https://marketplace.atlassian.com/archive/pl.com.tt.confluence.plugins.labeler.labeler) won't work for Confluence 6.x, I am afraid. Nor was I able to find another add-on in the Marketplace that provides inherited labels.

Please let us know more about what you are using the labels for so I (or someone in the Community) can possibly find another workaround.

comments: author: jeremy.sheehan@fpl.com
body: Ann,

Thanks for the reply. I'm using labels for search purposes. Some of my pages are imported from word documents and they have many subpages associated with them. I was just hoping for an easy way to get all of those subpages labeled rather than go into each one individually.

I will go and upvote this for development. I've always loved this feature for security purposes in NTFS systems. I think it would be a great feature for lables.

Jeremy


author: jeremy.sheehan@fpl.com
body: Ann,

I found that I can paste mutliple labels at once. That, while not a complete fix, is an acceptable workaround for me at the time.

thank you,

Jeremy


author: AnnWorley
body: Thank you for following up to let the Community know of a possible workaround, Jeremy.


author: Henry Auffahrt
body: [jeremy.sheehan@fpl.com](/t5/user/viewprofilepage/user-id/1150258) hey I'm facing the same problem, how do you manage to add multiple labels at once? Thanks a lot!


author: Tim-Hauke Eckhardt
body: Hi,   
I'm actually not sure about the status quo on DC or Server.

However, it is definitely possible in the **Cloud** Version (and maybe another reason to move to the cloud;) )  
(Quick Disclaimer, I work for the Vendor of the following app)  
[Magic Labels for Confluence](https://marketplace.atlassian.com/apps/1226439/magic-labels-for-confluence?hosting=cloud&tab=overview) can actually do that. You can, apart from Bulk editing and some other features, allow labels to be inherited.

Maybe this will help others searching for a workaround as well :)

Tim

comments: author: Irina McKinney
body: Thank you Tim. It is good to know.


author: andreas.ponjavic
body: where can I found the option to inherit labels in the cloud version? I am not able to find it :(


author: Irina McKinney
body: Do you have any workarounds this?


Tags: label
Easy way of raising version number in Confluence?
Asked by Stefan IJff:

Hello Community,

I am looking for an option to quickly and easy raise the value of a release. We have lots of different versions of releases for different customers, and whenever we merge a customer related script, the value raises by one.

Now I want to have a dynamic overwiew on a Confluence page with all customers and their respective release versions.

For example let's say customer_X is on release v5.2.3.20 and we merge 1 script to their release, it becomes v5.2.3.21.

Is there a plugin/ macro that i can insert in the page so i don't have to edit/ save it? Like some sort of button behind the value?

Thanks in advance,

Stefan


Answers:
author: AnnWorley
body: Hi Stefan,

I understand you would like to display releases on a Confluence page and have the release versions update automatically.

If the releases are tracked as Jira tickets, perhaps the Jira Chart Macro would work: [JIRA Chart Macro](https://confluence.atlassian.com/doc/jira-chart-macro-427623467.html).

I look forward to hearing whether that is helpful or how you decide to proceed.

Thanks,  
Ann


Tags: developer
Service desk portal customers knowledge base access
Asked by Alexander Isacson:

I only want users with access to my service desk portal to access the knowledge base.

According to the documentaion this should be possible by selecting "Anyone with access to your serivce desk".

<https://confluence.atlassian.com/servicedeskcloud/serving-customers-with-a-knowledge-base-732528995.html>

However that options is not available in my JSD knowledgebase settings page. Why?

![image.png](/t5/image/serverpage/image-id/6077iD6E8B9F3C355C3BC/image-size/large?v=v2&px=999 "image.png")


Answers:
author: AnnWorley
body: Please let me know what version of Jira Service Desk (JSD) you are using. The documentation you linked is for JSD Cloud. Is that the platform you are on? If so, the options should be:

* Everyone with access to your service desk can read articles without a Confluence license.
* Only licensed users who have access to the space

If you are using JSD server 3.8.x you should have these options:

* All active users and customers can access the knowledge base without a Confluence license.
* Only licensed users who have access to the space

Some older versions of JSD server did not yet include these options. To check the doc for your version, see the pulldown menu on the top right corner of this JSD server article: [Serving customers with a knowledge base](https://confluence.atlassian.com/servicedeskserver038/serving-customers-with-a-knowledge-base-935909471.html)

comments: author: Alexander Isacson
body: We are using JSD Cloud on peaccounting.atlassian.net.

Thanks.


Tags: jira-service-desk
Adding Last Updated to a PDF stylesheet footer
Asked by Tim Patrick:

setting up the PDF stylesheets.

want to add a footer note of when the document was last updated.

any ideas?


Answers:
author: Thomas Schlegel
body: Hi [@Tim Patrick](/t5/user/viewprofilepage/user-id/923873),

don't know, if this is still a problem for you, but here you can find the answer:

<https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-Advent-Calendar/ba-p/681215>

(look at day 20)

comments: author: Tim Patrick
body: That is great. I've passed it onto the investigator.

Thanks.


Tags: modified

pdf

stylesheet