youngmon/atlassian-qna huggingface dataset:
Anchor Links are Not Persisting
Asked by MarkC:

In Confluence 5.1.2, I have a page that has several anchors that jump around to various parts of the page. I have named all the anchors as "a_ANCHORNAME" where "ANCHORNAME" is changed to a unique name for that section. I included the "a_" to prevent the anchor from linking to the TOC in the event that the name I used was the same as the anchor in the TOC, which did happen.

The problem I'm having is that the links are not persisting after saving. For example, I had an anchor called "a_address". I created the anchor then added the link using the Advanced link section of Insert Link. After saving the page and testing the links, the anchor link failed to activate. When I went back to edit the page, the link had changed to "a_addr". Is there a maximum character limit on anchors? This happened to half of the anchor links on the page.

Another issue I encountered was a link not persisting after being saved. When I went back to edit the page to check a link that failed to work, I could not access the Insert Link screen. Pressing ctrl+K also failed to bring it up. I had to delete the link and re-add it. Any ideas on what is happening?


Answers:
author: MarkC
body: I found that this occurs only when I type in the anchor link and then press enter to save it. If I type it in, then click the mouse so the text box loses focus, then click save, it always seems to work.

comments: author: Tom Sayers
body: This is still happening on 6.15.9. Sometimes pressing enter works, most times it does not.

I had **step1** , **step2** , **step3** ...**step9**) as anchor names, but changed them to something extremely unique because I thought there might be some system-wide issue that is recognizing anchor IDs from our entire Confluence system.

I changed them to (as an example) **QWERTYUIstep1** , **QWERTYUIstep2** , **QWERTYUIstep3**, etc.

Whether I was creating or modifying the anchor name or link, pressing enter only worked a handful of times. Most times it did not. And sometimes I would change an anchor from **step1** to **QWERTYUIstep1** and it would either leave it as **step1** or **step** or **QWERTYUIstep**.

Manually clicking Save works, but it's a shame pressing Enter doesn't work as it should.


author: Mike Johnson
body: Yeah we found the same thing, but according to the reporter that's even begun to work randomly recently.

You posted in July 2013, you're still having this issue after I assume updates and reboots, etc? I'm not sure what to even look at.


author: Mike Johnson
body: I'm suddenly having this same issue on 5.4.2.


author: MarkC
body: I have found that the links stay after being corrected. Still, I don't think I should have to put the links in twice.
Wild card entry search
Asked by srihari tummala:

Hi All,

I have requirement in my application.

I want to do wildcard search means my MPN number is "CN600AR" if I search CN6 it should return this result.

Can you people help us on this what configuration we need to do for this.

Regards,

Srihari


Answers:
author: PeterKoczan
body: Hi Srihari,

Confluence 5.2 will include a major rework of the Lucene indexing engine and this will result in better results for searches concerning numeric characters (like in your example). I suggest you to wait for this release of Confluence and upgrade once it is publicly available. As of my tests 5.2 will return the search results as expected for your query above.

Kind regards,

Peter


Tags: hybris
New account
Asked by Tirta Sudira:

Dear Atlassian team,

I was doing a trial for my company but my directoe decided to apply for confluence and JIRA under his (Company) name and bank account. Can we cancel the previous account and add the new ones under his name. Thank you very much for your support.

Best regards,

Tirta Sudira


Answers:
author: MJ
body: Hi Tirta,  
Most these actions can be performed directly from the [my.atlassian.com](http://my.atlassian.com) accounts which are main billing or main technical contact of the instance. If you can not manage to resolve it from here, please raise a support request at [support.atlassian.com](http://support.atlassian.com)


Tags: cloud

confluence-cloud
How can I use macros in list variable in a blueprint?
Asked by Stuart:

I'm trying to create a project plan blueprint. I'd like a list variable that contains a list of Status macros. For the list I enter:

```
{Status:colour=red},{Status:colour=grey}
```

But all I get is the text when I use the blueprint. Is there a way to make Confluence recognize the wiki markup when it processes the variable or is there another way to do this?

Thanks!


Answers:
author: shess
body: In blueprints you can integrate macros in that way:

```
&lt;ac:macro ac:name="status"&gt;&lt;ac:parameter ac:name="color"&gt;red&lt;/ac:parameter&gt;&lt;/ac:macro&gt;
```

Cheers


author: Hardy Gieldanowski
body: You can do this by setting the ac:name="colour" parameter. In your template.xml:

\<ac:macro ac:name="status"\>\<ac:parameter ac:name="colour"\>\<at:var at:name="status"/\>\</ac:parameter\>  
\</ac:macro\>

in your template.soy:

\<fieldset\>

\<div class="field-group"\>

\<label for="status"\>{getText('my.blueprint.form.label.status')}\</label\>

\<select id="status" class="select" name="status"\>

\<option value="grey"\>{getText('my.blueprint.option1')}\</option\>

\<option value="yellow"\>{getText('my.blueprint.option2')}\</option\>

\<option value="green"\>{getText('my.blueprint.option3')}\</option\>

\<option value="blue"\>{getText('my.blueprint.option4')}\</option\>

\<option value="red"\>{getText('my.blueprint.option5')}\</option\>

\</select\>

\</div\>

\</fieldset\>

I didn't figured out how to dynamically set a custom text for the options. I guess you would have to do that in the template.js. Any ideas?


author: Mauro Molinari
body: I'd also like to know if there's a way to achieve this (i.e.: a variable which can be set to one of n possible status macros/values). But I think it's not possible :-(

Ideas welcome.


author: hsuhailah
body: You'll need to enter the above macro inside a Wiki Markup (from the Editor \> Insert \> Wiki Markup)

comments: author: Stuart
body: Thanks for the reply, Hanis. But I don't follow what you mean. I understand how to add Wiki Markup, but what I'm trying to do is get wiki markup inside a list variable. So, that when you go to create a page from the template, you can select the appropriate status macro from the drop down list and have it create the macro on the page rather than just the plain text like it has been doing.


Tags: blueprint

variable
UPM v2.12.0 installed - com.atlassian.util.concurrent.TimedOutException: Timed out after: 10000000000 NANOSECONDS
Asked by Reatha Ek:

So, I installed **v2.12.0 of the UPM** and am getting this error on JIRA and Confluence.

```
com.atlassian.util.concurrent.TimedOutException: Timed out after: 10000000000 NANOSECONDS
```

Is it possible to override that timeout specifically?


Answers:
author: Reatha Ek
body: Fixed with UPM v2.12.1


author: BernardoA
body: I think would be worth to try installing another upm version or upgrade just for test purpose and see if it works.

I uploaded this same upm version and it worked fine for me, not sure if this is a bug.


author: Justin Alex Paramanandan
body: Not really, but I reckon the team are working on it since they've identified the issue here: <https://ecosystem.atlassian.net/browse/UPM-2889> .


author: Reatha Ek
body: Doesn't work


Tags: jira
Border not displayed for Section on page
Asked by Tony Piazza:

I have inserted a Section block on my wiki page and selected the option to display a border (border=true). When the page is rendered no border is displayed. What am I missing?

Thanks in advance for your help.

-Tony


Answers:
author: Steffen Heller
body: Did you put columns inside the section? As I understand it the section is just a container for a column structure. When I use a section with columns it shows the border.

comments: author: Tony Piazza
body: That solved the problem. It wasn't obvious that you need a column inside a section in order to have borders displayed.

Thanks for your help!


author: Jonathan Simonoff
body: It may be that there is some CSS that is impinging on this setting. Do you have some CSS on the page hiding table borders? That would apply to this. If you've done something to the color scheme, it could e that the borders are there, but you just don't see them.

If you don't have anything like that, I would use Firebug (or the similar functionality built into Chrome) to look at the element and see what is wrong. Most likely, there's some CSS somewhere that is impinging on your setting.

comments: author: Tony Piazza
body: I used Firebug to inspect the generated markup and the section is contained inside a paragraph (\<p\>) tag. That is not what I expected to find and explains why the border is not showing up.  

Can someone at Atlassian tell me if that is correct behavior?


Tags: cloud

confluence-cloud

css

html
Confluence anonymous user cannot view attachments
Asked by Don Glasco:

Confluence 4.3.7

I allow Anonymous to view some spaces within our Confluence instance. It can browse/read pages within those spaces but can see any attachments, i.e. see broken link.

The default setting for the Confluence instance is no Anonymous access.

Is it possible to all Anonymous see attachments associated with a viewable space?


Answers:
author: Don Glasco
body: allow Anonymous to 'View User Profiles' (Admin --\> Global Permissions --\> Anonymous Access), Anonymous can see attachments and embedded images (which are attachments afterall).


author: Don Glasco
body: If I allow Anonymous to 'View User Profiles' (Admin --\> Global Permissions --\> Anonymous Access), Anonymous can see attachments and embedded images (which are attachments afterall). Not prefered solution but works.


author: Don Glasco
body: opps. but \[Anonymous\] can NOT see any attachments


Tags: anonymous

attachment
Confluence ability to export space and all subpages?
Asked by Lee Correll:

This ability seems to no longer be available?


Answers:
author: hsuhailah
body: I wasn't aware that you are using an OnDemand instance but I've also check this matter on an OnDemand instance and the space export feature is available.

Here's the documentation:

<https://confluence.atlassian.com/display/AOD/Exporting+Confluence+Pages+and+Spaces+to+XML>

comments: author: Lee Correll
body: That's a no-go. The documentation doesn't reflect reality. If I go to a space and click on "Tools" I get Export to PDF or Export to Word. The PDF export only exports that page. There is no export to XML option.

Is it possible that an AOD administrator is not a space administrator?


author: Lee Correll
body: That documentation must be out of date, because in space/tools, I see as options:

...

View Storage Format

Export to PDF

Export to Word

Import Word Document

...

I am a member of confluence-administrators, but do not see "Content Tools \> Export." As far as the ability to export a space, there are 2 groups that have that ability (and I'm a member of both of those groups.)


author: hsuhailah
body: It is available. What version of Confluence are using and what theme that is active currently? You may also check [here](https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML) for reference.

comments: author: Lee Correll
body: Doesn't appear to be available for OnDemand.

See <https://confluence.atlassian.com/display/AOD/Confluence+OnDemand>

My fault for not specifying that. The reference you have above is for 5.2, not AOD.


Tags: cloud

confluence-cloud

export
Application access rights via REST
Asked by Lee Correll:

Is there a RESTful API call that allows me to change the application rights for a given user? I need to strip Confluence from a sizable number of users, but doing it via a user-interactive web interface is time-consuming and inefficient.

I tried to pull the data on a given user (myself) using http://myinstance.jira.com/rest/api/latest/username?\[myuserID\] - but it keeps asking for a key, and I have no idea what it's asking for; I figured maybe I could update the "active" property referenced in <https://docs.atlassian.com/jira/REST/latest/#idp1247088> (and set it to "false"), but I can't seem to get to that data...and I'm not sure that would work anyway.

Ideas?


Answers:
author: nriley
body: This is similar to the question asked here: [https://answers.atlassian.com/questions/147154/jira-rest-api-create-and-update-users-and-groups](/questions/147154/jira-rest-api-create-and-update-users-and-groups)

As far as I'm aware, the REST API for Confluence/JIRA only allows you to GET information about a given user, you are not able to actually modify any properties of a user via REST. This is possible using other methods however (i.e. [Bob Swift's CLI tool](https://bobswift.atlassian.net/wiki/display/JCLIP/CLI+Plugin+for+JIRA) or via the [SOAP/XML-RPC API](https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs)).

comments: author: Lee Correll
body: Jeff, what's the group for Confluence? I don't see a group named "_licensed-jira." When I try to use the CLI, I get the error "Remote error: com.atlassian.jira.rpc.exception.RemoteValidationException: no group found for that groupName: _licensed-jira"


author: Lee Correll
body: Oh, I should have specified - this is ondemand. I'll re-ask the question with an ondemand reference.

Wait! I did!


author: Lee Correll
body: the CLI doesn't have the capability to manipulate the application access rights; neither does the SOAP API, to the best of my ability to tell. It would appear that this is UI only.

comments: author: Jeff Curry
body: Application access can be modified by the CLI in the manner of group membership. For example the group _licensed-jira provides application access to JIRA


author: Lee Correll
body: Jeff, what's the group for Confluence? I don't see a group named "_licensed-jira." When I try to use the CLI, I get the error "Remote error: com.atlassian.jira.rpc.exception.RemoteValidationException: no group found for that groupName:

_licensed-jira"


Tags: cloud

jira

licence
Is it possible to disable uploading attachments with the same name?
Asked by ?zg?r G?lkesen:

Current situation: If you upload an attachment with the same name of an attachment already existing in Confluence, the application will create a new version of the current file.

Is there a possibility to disable this behavior? We would like to have a warning message like "Please choose another name for this attachment." in one of our spaces which will include a picture database.


Answers:
author: hsuhailah
body: I believe it is by design and there's no possibility to disable it


author: Dario B
body: There is a long stand issue logged in JAC for this: <https://jira.atlassian.com/browse/JRA-2169>


Tags: attachment

upload
There has been an error loading the macro browser. Please try again or see your system administrator.
Asked by Tony Piazza:

I've been seeing this message lately when trying to edit a code block on pages in my wiki:

**There has been an error loading the macro browser. Please try again or see your system administrator.**

Any idea what might be causing this?

Thanks in advance for your help!

-Tony


Answers:
author: Tony Piazza
body: I haven't seen the error message recently so I will assume that the issue has been resolved.


author: PeterKoczan
body: Hi Tony,

In this case I'd suggest you to open a ticket with our support team at <http://support.atlassian.com> and we will invesitage this problem for you specifically.

Kind regards,

Peter


author: Tony Piazza
body: Peter,

Thanks for your reply. I am running the OnDemand version of Confluence so I don't think I have access to the plugin cache or external gadgets...

Any other ideas?

-Tony


author: PeterKoczan
body: Hi Tony,

You can try clearing the plugin cache that in many cases help: <https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache>

Otherwise, check if you have any gadget feeds at Confluence Admin \> External Gadgets \> Gadget Feeds and if they are accessible. Deleting them and testing may help.

Also, if you have application links and the remote application is not reachable, this problem can occur.

Kind regards,

Peter

comments: author: Tony Piazza
body: Peter,  

Thanks for your reply. I am running the OnDemand version of Confluence so I don't think I have access to the plugin cache or external gadgets...  

Any other ideas?  

-Tony


author: Marlon Aguiar
body: Hi Tony,

We had similar reports in OnDemand where removing external gadget feeds fixed this problem. Since you don't have access to it, please open a support ticket on [support.atlassian.com](http://support.atlassian.com) so support can remove it for you.

Regards,  
Marlon


Tags: cloud

confluence-cloud
Can I import a confluence space from 4.2.11 to 5.1.3?
Asked by MartinJ:

We have v5.1.3 and need to import confluence documentation from a partner system currently running on 4.2.11. It is not currently possible to upgrade the partner.


Answers:
author: JohnA
body: Hi Martin,

It's not possible to transfer Spaces between different major versions so the best approach would be to setup a staging instance of v4.2.11, transfer the required Spaces from the partner system to the staging instance, upgrade the staging instance to v5.1.3 and then transfer the Spaces over. This will mean that only the staging instance needs to be upgraded and the other two instances can remain unaffected during the process. You can also use either a [developer license](https://confluence.atlassian.com/pages/viewpage.action?pageId=152044449) or an evaluation license for the staging instance whilst you upgrade it.

All the best,  
John


Tags: confluence-administration
Is it possible to change the color of the workbox number badge
Asked by Svante Gustafsson Bj?rkegren:

Hi,

We have a theme in Confluence which makes the little blue badge showing the number of unread items in the workbox nearly invisible.

Is it possible to customize the color on this little icon? I want it to stand out more from the menu row.

Rgrds,

// Svante


Answers:
author: Oli S
body: Hi Svanta

If you use confluence 5:

The badge uses the same color, as defined for the create button. If you change this color in the colorscheme, you change the badge es well.

Another solution is to add a custom css stylesheet in the confluence admin:

```
body .mw-anchor.unread .badge {    background-color:  red;    color: #fff;}
```

comments: author: Svante Gustafsson Bj?rkegren
body: Ohhh, this css stylesheet did the trick! The right color and everything!!!!Thank you for the great tip!// Svante


author: Ansar Rezaei
body: Thank you so much, Nice!


Tags: colour

confluence-administration

look-and-feel

workbox
can you we know how many user view a particular page/space in confluence.
Asked by Sreeni MCA:

hi,

Wanted to know , how many users viewed a particular space/page in confluence.

Is there any plugin /macro for this.


Answers:
author: Shankar Asam {Appfire}
body: Hope this helps.

<https://answers.atlassian.com/questions/76653/how-can-i-track-every-page-view>

comments: author: Sreeni MCA
body: Thanks. This helps me.


Tags: confluence-administration
How to link a file?
Asked by Ilya Rivkin:

Hi!

I have a space which contains few pages. when I insert a file to this page there is no way to change it without downloading it and upoading again. Therefore I put this file in a file list page and there we all can update the file and see all previous version. As a "File Lists" page is a seperate page I would like to link it to the relevant page in order for people to be able to find it easily. If there won't be specific reference to this file people won't be able to know it exists.

thank you

Ilya Rivkin


Answers:
author: Ahmet
body: I have also thinking that before until I stumbled on Google in finding answer. I follow the step and it works for me. So now I would like to share that to you.

Here the steps to link file:  

1. Navigate the page that contain file that you want to link.  
2. Right click on the file's link then select **copy shortcut** or **copy link location** .  
3. Navigate the page where you want to link to the file from and click the edit page icon.   
4. Highlight the text to be link and click the link icon in the toolbar.  
5. Select the **web address tab** and enter the copied link shortcut or location in the box below **link to this url** .  
6. Click ok  
7. Continue editing your page or click save to preserve your changes.

I hope it might help you.


author: Ilya Rivkin
body: how should I link it or mention it?
How many users can you have for Confluence using the Community licence?
Asked by George Salhani:

What's the maximum users allowed if you're lucky enough to have a community license of Confluence.


Answers:
author: JohnA
body: Hi George,

In theory Community Licenses are unlimited but I believe that the amount is specified when you roder the license, although once you're registered with a community license then you can always upgrade to a higher licensing tier for free if needed.

All the best,  
John


Tags: confluence-administration
JUnit Macro not updating?
Asked by Jonathan Drake:

I noticed that if I update the XML file that I"m pointing to, the macro still shows stale results. If I point the macro at a different XML file then it pulls it in fresh.

Is this lack of automatic updating expected? If so what is the interval that it checks in? It seems like it would be best if it actually pulled in and parsed the XML file everytime the wiki page is opened.

I'm disappointed since I was excited to use this macro but if I can't count on it to be up to date then our dev team will have to design our own solution which we're trying to avoid.


Answers:
author: Jonathan Drake
body: I noticed that it will eventually update within usually an hour. So while we get stale results, it's very limited and in the end it should be ok. I don't have an account with your tracking system so I can't attest to whether that is the bug or not. Still closing this out since my problem is resolved so to speak.


author: William Zanchet [Atlassian]
body: Hi Jonathan,  

I believe you're hitting this bug about JUnit Macro:  

<https://jira.atlassian.com/browse/CONF-29276>  

As the macro doesn't render properly, I believe the macro itself isn't updating. However, feel free to add your thoughts on the bug report.  

Cheers,  

WZ
Drag and drop doesn't work on Attachment macro unless same page?
Asked by Natalie Grant:

Hi -- if I have an attachment macro on a page to display attachments for that page, the drag and drop function works fine. If, however, I'm using an attachment macro to displays attachments from a different page, the drag and drop does not work -- users have to go to the original page, drag and drop, and return. If they drag and drop on the page where I want the attachments to be displayed, it gets added but doesn't appear (you have to click on the paperclip). Does anyone have a solution where my users can drag and drop on the attachment macro and have them appear (without having to drag and drop on a different page)? Thank you!


Answers:
author: William Zanchet [Atlassian]
body: Hi Natalie,  

Actually, I don't have a solution for this case right now, but since I was able to reproduce this problem, I believe that it's a bug. Being said that I raised a bug report as you can see here:

<https://jira.atlassian.com/browse/CONF-29797>  

I would strongly suggest that you vote on this issue to increase its popularity and add it to your watchlist for future updates.

Cheers,  
WZ


author: hsuhailah
body: Attachment macro able to display attachments from another page if page title, the macro will display the files attached to the current page.


Tags: cloud

confluence-cloud