youngmon/atlassian-qna huggingface dataset:
Highlighting project on roadmap after you clicked on it on another page
Asked by Miha Zemljic:

Hi!

I have a list of all ongoing projects. I want it to link to our roadmap. Is it possible to create a button which will do something like "Show it on roadmap", roadmap will load and clicked project will get highlighted on that roadmap?

Thanks for your help!

Kind regards


Answers:
author: Stephen Sifers
body: Hello Miha and welcome to the Community!

The Roadmap Planner Macro bring in a lot of functionality and allows for easy tracking of your projects. The macro does allow you to link a bar to a page. Yet there is no functionality to take a page and link it back to a bar (outside of the macro). Additionally, there is a feature request to allow you to link a Jira issue, you can find more about that feature request at [CONFSERVER-36777](https://jira.atlassian.com/browse/CONFSERVER-36777) (for server) and [CONFCLOUD-36777](https://jira.atlassian.com/browse/CONFCLOUD-36777) (for cloud). If these match to your requirements we would suggest you vote and watch them so you may receive updates as they progress.

There are marketplace add-ons which can extend the functionality of the macro:
> **Do more with Confluence** To extend Confluence roadmap capability, check out these apps on the [Atlassian Marketplace](https://marketplace.atlassian.com/search?category=Macros&hosting=server&moreFilters=vendorSupported&product=confluence&query=roadmap):
>
> * [Live Roadmap](https://marketplace.atlassian.com/apps/1217024/live-roadmap?hosting=server&tab=overview): Build your Roadmap and keep it alive connecting it to your Jira
> * [ProductPlan for Confluence Server](https://marketplace.atlassian.com/apps/1219081/productplan-for-confluence-server?hosting=server&tab=overview): Embed your roadmap in Confluence to keep your team aligned around high-level goals

Source: [Roadmap Planner Macro](https://confluence.atlassian.com/doc/roadmap-planner-macro-704578202.html)

Along with the above, there is a list of all feature requests for the Roadmap Planner Macro. The above requests may not match what you're looking for exactly. With this said, you are welcome to browse through the feature requests to vote/watch the ones you're interested in. You can find that list at [Roadmap planner feature requests.](https://jira.atlassian.com/browse/CONFSERVER-36103?jql=project%20%3D%20CONFSERVER%20AND%20issuetype%20%3D%20Suggestion%20AND%20text%20~%20%22roadmap%20planner%20macro%22)

I hope this clarifies the functionality of the Roadmap Planner macro along with insight into which feature requests are present.

Regards,  
Stephen Sifers

comments: author: Miha Zemljic
body: Thanks a lot for your answer! It's not a dealbreaker for me so it's fine :)


Tags: confluence-server

server
Confluence 6.6.9 Thread Limit
Asked by David Urquhart:

We have just upgraded to Confluence 6.6.9 and are getting Thread Limit messages

os is Linux

I edited /etc/security/limit.conf and added,

conflu soft nofile 4096  
conflu hard nofile 8192  
conflu soft nproc 4096   
conflu hard nproc 8192

conflu is our confluence user.

I then restarted confluence but still get the Thread Limit health check warning

What's going on ?

Thanks


Answers:
author: Yoga Reddy {Appfire}
body: HI [@David Urquhart](/t5/user/viewprofilepage/user-id/2011919)

Please Reboot your machine and test the new limits configuration  

Thanks

Yoga

comments: author: David Urquhart
body: Just noticed "*systemd* ignores system ulimits. The values will need to be specified in the proper service file `<servicename>.service`. A list of values can be found [here](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Process%20Properties)."

we have confluence running under systemd, so which values do we need to set


author: David Urquhart
body: Changed

LimitNOFILE=4096  
LimitNPROC=4096

in confluence.service file, okay now


author: Yoga Reddy {Appfire}
body: Hi [@David Urquhart](/t5/user/viewprofilepage/user-id/2011919)

Please type the following command and let us know the results.

\[root@glow \~\]# ulimit -Sn  
1024  
\[root@glow \~\]# ulimit -Hn  
4096

Please verify the following two links as well.   

<https://confluence.atlassian.com/kb/health-check-thread-limit-858578685.html>  
<https://singztechmusings.wordpress.com/2011/07/11/ulimit-how-to-permanently-set-kernel-limits-in-linux/>

Thanks

Yoga

comments: author: David Urquhart
body: ulimit -Sn  
1024

ulimit -Hn  
4096


author: David Urquhart
body: do you have to reboot machine after editing /etc/security/limits.conf ?

We have not done so.


author: Yoga Reddy {Appfire}
body: Hi [@David Urquhart](/t5/user/viewprofilepage/user-id/2011919),

Glad that issue has been fixed. Happy to work with you.  

Thanks

Yoga


Tags: thread
Confluence/Jira migration, Add-ons issue
Asked by Steve Allen:

Migrated Confluence to 6.13 and Add-on  
Gliffy  
not found in 'Find new apps'.  
Is it only supported in 6.12.2 ?

Migrated Jira to V7.13.0 and Add-on  
Watch Custom Field for Jira  
not found in 'Find new apps'.  
Is it only supported up to 7.12.3 ?


Answers:
author: Shannon S
body: Hi Steve,

In order to check if an add-on is compatible with your version of Jira or Confluence, you will need to check [Atlassian Marketplace.](https://marketplace.atlassian.com/)

1. Search the name of your add-on. E.g. Gliffy. You may want to filter the search results to make this easier for you.
2. Once you click on the add-on you want to know more about, you'll see which versions are supported above:   

   ![Screen Shot 2018-12-07 at 10.54.57 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/39731i9C5769A0CF89DB77/image-dimensions/530x150?v=v2 "Screen Shot 2018-12-07 at 10.54.57 AM.png")
3. You can click **More Versions** if you want to see the full list of versions and the product they support.

I can confirm that **Gliffy** supports Confluence through version 6.13.0, and **Watch Custom Field for Jira**supports up to Jira 7.12.3.

![Screen Shot 2018-12-07 at 10.56.17 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/39732iEFEF5F332FCDDC55/image-dimensions/530x194?v=v2 "Screen Shot 2018-12-07 at 10.56.17 AM.png")

You were searching for Gliffy under Find New Add-ons, but was it not already installed on your instance? Can you verify you're searching on the Confluence UPM and not Jira?

As for Watcher Custom Field for Jira, you will want to reach out to the vendor to see if they have plans to support 7.13.0 soon. You can do so by contacting them via the **Support** tab as pictured above.

Regards,

Shannon

comments: author: Steve Allen
body: Many thanks for the quick response.

Gliffy was updated to support 6.13.0 in the last 24 hrs ? Now installed and working.  
Support call in with 'Watcher Custom Field'.

Please consider this issue closed :-)


author: Shannon S
body: You're welcome, Steve! Happy to see it was resolved.

The vendors have full access to their products on Marketplace, so it is likely that they uploaded the updated version today.

Take care, and have a pleasant weekend!

Regards,

Shannon


Tags: atlassian-marketplace

confluence-server

server
How do you renew a license when the person who set it up has long since gone?
Asked by Frank Leonhardt:

We have a Confluence license. Someone who's long since left the company liked it and has set it up and paid for it. Now it's complaining that it needs more money for updates, so I click on the link. It asks me to log in as someone I don't know.

So I click on the "Help logging in" link. this takes me to support pages, so I click on "Contact". This takes me back to the same login page, and I don't have a login.

So if these guys make it SO hard to pay them money, why should I bother?

If anyone's reading this, by all means get in touch. Otherwise I think I'm switching the company to Readmine.


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Frank,

you might want to open a support ticket at

<https://www.atlassian.com/company/contact/purchasing-licensing>

I'm pretty sure, they will help you ASAP.

Best

JP

comments: author: Frank Leonhardt
body: Thanks! I was looking everywhere in support for something like that. I should have guessed it'd be found under sales instead!
Dokuwiki migration to Confluence 6.12
Asked by misha:

I'm working with migration Dokuwiki to Confluence 6.12. I'm using for this purpose script -

<https://github.com/dmitrii-ageev/dokuwiki-to-confluence>

It partly working with our dokuwiki , but now, we have problem with import pdf, doc, xls files. After calling, for example, convertWikiToStorageFormat(token, content) with input "!test1.pdf", output is -

------------

\<ac:structured-macro ac:macro-id="9b1fe241-5df9-43f9-8b95-88636683ef22" ac:name="unmigrated-wiki-markup" ac:schema-version="1"\>  
\<ac:plain-text-body\>\<!\[CDATA\[!test1.pdf!\]\]\>\</ac:plain-text-body\>  
\</ac:structured-macro\>

----------

and Confluence6.12 not correct rendern this content, it need code , like this-

--------------------

\<ac:structured-macro ac:macro-id="c2c10b51-3fe8-4268-a15d-245182d62eae" ac:name="view-file" ac:schema-version="1"\>  
\<ac:parameter ac:name="name"\>  
\<ri:attachment ri:filename="test1.pdf"/\>  
\</ac:parameter\>  
\<ac:parameter ac:name="height"\>250\</ac:parameter\>  
\</ac:structured-macro\>

-------------------

What I doing wrong? Which is best practice for this migration?

thank you in advance


Answers:
author: Bill Bailey
body: I am not sure what the exact answer is but the call you are making convertWikiToStorageFormat(token, content) is not for attachments, but for converting page content. The script was developed some time ago, and originally just output to wiki markup (old Confluence format), the method above converts that wiki markup to the newer storage format.

So you should not be passing attachments to that method. Unfortunately I can;t tell you exactly what you need to do, but give you some idea of why you are seeing the error.

Good luck!

comments: author: misha
body: I need import dokuwiki pages which contain pdf, doc, xls files to confluence wiki 6.12.

For examle , I have such dokuwiki page -

====== mobile office ======  
{{:world:share:network:test1.pdf}}

{{:world:share:network:test1.docx}}

{{:world:share:network:test1.xlsx}}

====== mobile office end======

How I can programmatically do that?

thank you!


author: jira guy
body: Did you try using UWC by app fusion? I was able to import attachments with the following.

<https://migrations.atlassian.net/wiki/spaces/UWC/pages/1015845/UWC+DokuWiki+Notes>

Also, were you able to migrate using the above tool?


Tags: confluence-server

server
Adding Javascript breaks Edit page
Asked by Pieter Breugelmans:

On a Confluence page, I'm attempting to put in some Javascript code into an HTML macro.

```
<script type="text/javascript">    document.write(AJS.Meta.get("user-display-name"));</script>
```

Upon saving the page, it loads it correctly and shows my username. The problem however is when I attempt to Edit the Confluence page again. It won't let me edit the page any more. Instead of loading the page in Edit mode, it only shows my username in the browser window and it seemingly keeps loading the page.

Why would such a simple Javascript snippet cause such behavior?

Ref: based on <https://community.atlassian.com/t5/Answers-Developer-Questions/Expose-the-value-of-action-remoteUser-name-to-Javascript/qaq-p/529214>


Answers:
author: Diego
body: Hello there Pieter!  
I was able to replicate the behaviour you noted! I was also able to workaround it by two methods:
> - Clicking the back button in the browser  
> - Opening the edit mode in another tab

If you are running a Confluence Server instance, you can create a user macro to achieve this:
> 1- Click the Cog Icon in the upper right corner  
> 2- Search for User macros in the left hand panel  
> 3- Select to Create a new User macro  
> 4- Define Macro name and Macro title  
> 5- Set Macro Body processing to Escaped  
> 6- Insert the following in the template field:  
> ## @noparams  
> $action.authenticatedUser.name  
> $action.authenticatedUser.fullName  
> 7- Save the macro  
> 8- Inser the macro in a page  
> 9- It should display the Name and Full Name for the current user

\*You can remove either FullName or name **but not both**.

Fur further information on this, you can check this documentation:

**[Class ConfluenceActionSupport](https://docs.atlassian.com/ConfluenceServer/javadoc/6.13.0/com/atlassian/confluence/core/ConfluenceActionSupport.html?_ga=2.251838985.160352870.1543847553-1770418407.1541684782)**

<br />

Pieter, let us know if this helps your objective!


Tags: atl-adm

confluence-server

server
SMTP-Mails sent by Confluence
Asked by Tim Wisian:

Hi,

we configuered a smtp-server for outgoing mails via smtp within Confluence 6.3.3. When a user follows a certain page he receives a mail when the page has been edited just some minutes later. These mails are sent ba the configureds user "PNW Wiki".

But... the user also receives mails at 2:00 AM, 2:10 AM, 4:10 AM at night from the user "Confluence". Can someone explain this to me?


Answers:
author: Tim Wisian
body: This night I received several mail from our confluence-server. The mails were scheduled from 2:20 , 6:30, 6:40, 6:50 and 7:00 AM. THe first mail was sent by "Confluence \<noreply@myorg.de\>", all other mails by "PNW Wiki \<noreply@myorg.de\>"..

Any suggestions?


Tags: confluence-server

server
URL Redirection API
Asked by Ravi:

Hi,

I am trying to develop a plugin that allows space administrators to implement URL redirection at a space level in Confluence. I would like to know if there is any API available which does the needful.

++Here is an example for my use case:++

User enters the following URL in the browser: <https://www.example.com/test>

He should be redirected to the space: <https://www.example.com/display/test123>

Thanks, in advance.


Answers:
author: Dmitry
body: We can create listener :

```
package <package>.listener;

import com.atlassian.confluence.event.events.content.page.PageViewEvent;
import com.atlassian.confluence.pages.Page;
import com.atlassian.event.Event;
import com.atlassian.event.EventListener;
import com.opensymphony.webwork.ServletActionContext;

import javax.servlet.http.HttpServletResponse;

import java.io.IOException;

public class PageListener implements EventListener {

    private static final Class[] HANDLED_EVENTS = new Class[] {
            PageViewEvent.class
    };

    public void handleEvent(Event event) {
        if (event instanceof PageViewEvent) {
            PageViewEvent pageViewEvent = (PageViewEvent) event;
            Page page = pageViewEvent.getPage();
            if (page.getNameForComparison().equals("test")) {
                HttpServletResponse response = ServletActionContext.getResponse();
                try {
                    response.sendRedirect("/display/test123");
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }
    }

    public Class[] getHandledEventClasses()
    {
        return HANDLED_EVENTS;
    }
}
```

More about listeners:

<https://developer.atlassian.com/server/confluence/writing-an-event-listener-plugin-module/>


author: Bill Bailey
body: IRC, there was a page redirect macro within Confluence, but was recently deprecated. I see on the marketplace that someone has jumped in to fill that void: [redirection-for-confluence](https://marketplace.atlassian.com/apps/183/redirection-for-confluence?hosting=server&tab=versions)

comments: author: Ravi
body: Hi Bill,

Thanks for your response. Unfortunately, the redirection macro wouldn't solve my use case.

I would like to know if there is any java API provided by Confluence to implement the redirection.

Regards,

Ravi


author: Bill Bailey
body: Well maybe this is a job for the web proxy, set up redirection there. For example, using [mod_rewrite](https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html) rules. That would be far easier to set up and respond more quickly.


Tags: confluence-server

server
jira and confluence integration
Asked by nikolaevay@ufa.infteh.ru:

hello.

I installed the Jira and Confluent and customized links between them. i can see the projects from jira.

There is a problem when adding a request for a Jira from confluence. a message is displayed that there is no required field "project code".

But i can see the issues from jira on the confluence page.

![18.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/39608i64EB1DFECE091389/image-size/large?v=v2&px=999 "18.PNG")


Answers:
author: Grigory Salnikov
body: Ok, is it an option to make this field not-required?


author: nikolaevay@ufa.infteh.ru
body: i can create issues in Jira and i can see this issues in confluence/

additional information:

i have Tempo Plugin installed on Jira server and i see this field in tempo configuration.

this field is present in field configuration

i have an idea that this may relate to my problem![21.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/39613iC203DBF2013DB9B1/image-size/large?v=v2&px=999 "21.PNG")![20.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/39614i732C3FE5F12CAE57/image-size/large?v=v2&px=999 "20.PNG")


author: Grigory Salnikov
body: Hi [nikolaevay@ufa.infteh.ru](/t5/user/viewprofilepage/user-id/2322194) and welcome to our Community!

What happens when you try to create the same issue in Jira itself? Is there this field - "??? ???????"?

Now it seems to me like a globally configured required field issue. But I may be wrong, of course. Additional information is needed.


Tags: confluence-server

server
Issues with Confluence pages not updating
Asked by IT Software:

Hi,  

My client has been having issues with updates made to pages in confluence aren't updating on her browser. Clearing the cache seemed to fix it initally, but now it is no longer working. This is both in IE and Chrome. I have tried getting my client to work on her local workstation and the remote server, but the same issue is occuring. When viewing the page from another account, the updates are there and works correctly.

I've made sure that the client is updating the most recent version of the page, going through the page history after she publishes shows the saved data in her browser, but then navagating through the side menus seems to roll it back to a previous version of the page.

I am curious if anyone has experienced this issue or similar? I'm getting my client to try editing on a different machine and with a different account to see if the issue replicates.

Thanks.


Answers:
author: Nic Brough -Adaptavist-
body: The only time I've seen this is when the client has browser plugins breaking things.

You definitely need to get the results of "same user using a standard browser on another machine" and if that fails, then "different user using that browser on another machine" - you need to establish if it's that browser, machine, or user. Or if it's everyone on that (set of) page(s)


Tags: confluence-server

server
Reorder list in "My Spaces"
Asked by Chela Wallace:

I know how to add a space to the "My Spaces" list in Confluence; is there a way to reorder them? I'd like them to display in alpha order (as opposed to the order in which I added them to the list).


Answers:
author: Anna Roberts
body: You used to be able to control order by going into My Spaces, un-starring all your spaces, then clicking the stars in the order you want. The default changed some time in the last few months to alphabetical and there's no way to change it. Which is annoying because my most used/important space is now at the bottom of my list (which is always a scroll down)


author: Brittany Wispell
body: Hey [@Chela Wallace](/t5/user/viewprofilepage/user-id/1015592)

I don't see a way to do this natively.

You can make suggestions following the below link.

[Create Ticket - Confluence Server Suggestion](https://jira.atlassian.com/secure/CreateIssue.jspa)

You can also look at existing suggestions by going to the link below.

[CONFSERVER All Open Issues](https://jira.atlassian.com/projects/CONFSERVER/issues/CONFSERVER-34972?filter=allopenissues)

Let me know if you have any other questions!


Tags: confluence-server

server
Ldap Server configuration in tomcat server
Asked by Madhumita Chatterjee:

Currently My Confluence server is unable to connect to LDAP .

Need to know where do we configure ldap in confluence (Server used : Tomcat 6)


Answers:
author: Bastian Stehmann
body: Hi [@Madhumita Chatterjee](/t5/user/viewprofilepage/user-id/2397756),

You Ccan configure LDAP in confluence. Go to the Settings and User Directories. There you can add a new User Directory like LDAP.


Tags: confluence-administration
Confluence - Server 3.5.7 to Cloud
Asked by Nancy Lane:

Want to understand the process for migrating an existing, no-longer-under-support Confluence 3.5.7 server to Cloud. We are using Jira in the cloud but left Confluence behind.

The docs imply that the app will migrate 5.1 server and above only.

Other references about migrating in space-by-space also imply that only a 5.1 and above backup of a space can be imported.

What would be the process to get to Cloud? I hope it's not "expend a ton of effort to upgrade server version to 5.1 then run app"?

thanks.


Answers:
author: Nic Brough -Adaptavist-
body: The data exported from 3.x is in no way compatible with Cloud. You are going to have to upgrade it to at least 5.1.

However, the higher you can go before migrating, the better. I'd recommend going past 5.1, to at least 6.0 (after 6.0 there's no huge benefit in going to the latest version - Cloud is effectively based on 6.x)

comments: author: Nancy Lane
body: Thanks Nic. We will find out how painful that upgrade will be in terms of both effort and (hopefully zero) license cost.


Tags: confluence-server

server
JIRA roadmap macro
Asked by sharada turaga:

I am able to add the roadmap macro but not able to see it on the page.it is displaying very small.Can some one help me to understand what i am missing?

Thanks,

Sharada


Answers:
author: Diego
body: Hello there Sharada!   

I would like to start by understanding the situation a little better:  

1- Is the macro being **being shown in** the page?  
2- What is shown in the **macro preview** at the macro edit dialog screen?  
3- Have you tried **increasing the Width** attribute of the macro?  
4- Is there**nothing being shown** inside the macro or is it only small?  
5- Is your browser set to use some kind of **zoom out/zoom in setting** ?  

Let us know your findings Sharada!


Tags: cloud

confluence-cloud
Web Dav Windows Client Mapping
Asked by Erwin Montemayor:

Windows cannot access \\\\hostname\\WebDAV directory on my confluence server. I'm sure if I'm missing some configuration. I can access \\\\hostname is shows nothing on the windows explorer.![image.png](/t5/image/serverpage/image-id/39545i04674A34F42C0FC9/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Shannon S
body: Hi Erwin,

This depends on how you configured your network drive, but have a look here for how to set it up:

* [Configuring a WebDAV Client \> Accessing Confluence in Explorer in Microsoft Windows](https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html#ConfiguringaWebDAVclientforConfluence-AccessingConfluenceinExplorerinMicrosoftWindows)

This explains how to set it up, so you'll want to compare the instructions there to what you've already done.

Can you have a look at that and let us know if it helps, and if not, can you tell us how you've configured it so far?

Regards,

Shannon