youngmon/atlassian-qna huggingface dataset:
Confluence CCLI : Impossible to login
Asked by Regis:

Hi there

I'm usin CCLI 3.1.0. Until last week, it was perfect. Today, when trying

***ccli -s <https://atlassian.hq.k.grp/confluence> -u myself -p mypass --action getServerInfo***

I get:

*Unable to log in to server: <https://atlassian.hq.k.grp/confluence/rpc/soap-axis/confluenceservice-v1> with user: myself.*

*Cause: No such operation 'login'*

Any idea where it comes from? I've seen no particular message in the log, *my user/mypass* is correct, no particular character in *mypass*, and Remote API (XML-RPC \& SOAP) is set on my Confluence configuration (version 5.1.4)

Thanks for your help


Answers:
author: Bob Swift (personal)
body: Unusual. Seems Confluence SOAP is messed up. Restart Confluence. If that doesn't resolve it, check the plugin audit log and see if there were any plugin changes between the last time it was successful and now. Also check the server log (although that doesn't usually help much for this type of thing).

comments: author: Regis
body: Thanks, Bob. It's OK now, after restarting Confluence; quite unexpected, indeed.

BTW, let me congratulate you for your joining appfire (I've read that yesterday), and thanks a lot for your very good work \& supply.


author: Regis
body: As suggested by Bob, a restart of the application fixed the issue


Tags: cli
Selector-name for hiding/disabling Create Child Page, Editing of Existing Blogs and Creation of new blogs
Asked by ankush174:

Hi All,  

I am trying to run an instance of Confluence running on version 5.1.2 in read-only mode. Actually there is another instance of Confluence and I have to merge these 2 instances. For next few days the old Confluence should be running in the read-only mode. I have quite a few entries for disabling editing of pages, attachments, hiding of Create Page button etc.. but I am not able to find the selector-name   

<br />

How to disable/hide Create Child Page, Editing of existing blogs and creation of new blogs.   

Can somebody share with me the selector-names for the hiding/disabling the above settings/features.  

<br />

Since the old Wiki has lot of Spaces, groups and lots of individual users added in the Space, so changing permissions to all these to "view" permissions is not possible.

Thanks \& Regards

Ankush


Answers:
author: ankush174
body: I find out the other way to do the things that is I have added the below code in the custom html under "at end of the body" section. Now no "save" button is visible under any page/blog so if anybody wants to create any new page/blog or wants to edit the old page/blog he or she won't be able to save it. Thats solve my purpose  

\<script type="text/javascript"\>  
AJS.toInit(function(){  
AJS.$('#rte-button-publish').hide();  
});  
\</script\>

Regards

Ankush


Tags: confluence-administration
How to modify confluence page without recieving a confluence email notification?
Asked by Ashraf Afana:

Dear Sir,   
I'm using confluence on my company and really I'm struggling to find the help or an answer to one of my questions. I'm trying to update some data and some results on the confluence, but I don't want the rest of the people on the confluence to see it till its finished. So, how can I do that? How can I modify the confluence page in the way that the others will not receive a confluence email notification?  
kind regards,   
Ashraf


Answers:
author: Anand Unadkat
body: Hi Ashraf,

I'm afraid that you will have to disable notifications for you to ahceive that, otherwise i will fire notification each time that you make changes to it. Disabling notification is done in your profile page and is not global like JIRA

Hope this answers your question

Regards

Anand


author: Nils Bier _K15t_
body: Hi Ashraf,

another possible solution would be to use [Scroll Versions](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions), create a version for the content you work in and publish it as soon as it's finished (and therefore make it visible to the other users).

Cheers,  
Nils


author: Mick Davidson
body: Ashraf,

A quick solution is to change the page permissions so that only you can see/edit it. If you do that no one will be sent any updates (or be able to see the page itself) until you remove the viewing permissions.

Once you've finished working on it, you can remove the permissions.

You could also create and edit the page in your own space (assuming that is set so that only you can view/edit it) and then move the page to where you want it when you've finished.

In Google Chrome you can add a macro that de-selects the Notify Watchers tick box. If you do that, then no one will see any updates unless you deliberately select that tick box.

Cheers.

comments: author: Ashraf Afana
body: Hi Nick,

to change the permissions you mean watch or restriction viewing?

thanks.

Ashraf


author: Nils Bier _K15t_
body: Hi Ashraf,

does the information on the following page help you: <http://www.k15t.com/pages/viewpage.action?pageId=66224644>

Cheers,  
Nils

comments: author: Ashraf Afana
body: Hi Nils,

Thanks for the information, but I'm afraid that the Custom HTML is not available in the version I'm using or I can't find it in Look and Feel.

cheers,


Tags: notification
edit search result page
Asked by Gustav Karavas:

I want to edit the search result page if no result is found. I tried to edit the "search-results.vmd" without any success. I want to add some additional information to the standard sentences:
> No results found for **asdfasdfasdf** . Please try one of the following suggestions:
>
> * Use more general search terms or[consult the online documentation](https://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax)for tips.
> * If you are filtering by space, content, last modification date or contributor, try removing or adjusting the filter

Can someone help me?


Answers:
author: Gustav Karavas
body: Yeah, we are using Confluence 5.x. Perhaps, maybe someone else can help me to find a solution :/


author: Matthew J. Horn
body: This is the place to make changes. Maybe you did not edit the right spot in this VMD file? The place to edit it is in the "else" block at the bottom:

```
#didyoumean()		$action.getText("search.no.results.found", ["&lt;strong&gt;${generalUtil.htmlEncode($queryString)}&lt;/strong&gt;"])		&lt;ul&gt;			&lt;li&gt;$action.getText("search.tip.general")&lt;/li&gt;			&lt;li&gt;$action.getText("search.tip.restrictions")&lt;/li&gt;		&lt;/ul&gt;
```

comments: author: Gustav Karavas
body: Thanks Matthew,

this is exactly what I did, but without any success. Then I tried to rename the whole search-results.vmd and restarted the server, and still the same page appeared. So I think, the search-results.vmd is not integrated?


author: Matthew J. Horn
body: Which version of Confluence are you using? I've tested this on 4.x, and it works, but maybe if you're using 5 they use a different decorator and just keep this file around for backwards compatibility?


author: Gustav Karavas
body: Yeah, we are using Confluence 5.x. Perhaps, maybe someone else can help me to find a solution :/


Tags: confluence-administration
Can i have a year view in the team calendars?
Asked by Lau Llobet payas:

Is this feature avaliable/planned ?

thank you


Answers:
author: Sherif Mansour
body: We are tracking this feature request here: <https://jira.atlassian.com/browse/TEAMCAL-429>

Our of curiosity, what do you want year view do? What are you trying to plan in Team Calendars?


author: Micha? Osowski
body: @Sherif Mansour - I'm planning a yearly activity on conferences. Certain conference organisers will send you a conference plan for the upcoming year. You need to see which conferences overlap and how they relate to main events in your plan. Please do it on the scroll in - scroll out basis (zoom in to month, zoom out to year).

comments: author: els-timp
body: Showing team activity road map.


Tags: team-calendars-for-confluence
Confluence 5.2.3 does want to open flash (swf) attachment.
Asked by Jaime Romaguera:

Hi,

We have our old confluence server 3.5.17 that was able to dynamically open/play flash/swf attachments in browser window. Now that we have upgraded to Confluence 5.2.3 when I click flash/swf attachment. It always ask me for to save the file instead of dynamically opening the flash/SWF attachment in another browser window.

Just want does this feature still work in Confluence 5.2.3 do I have something turn off, or is there a work around so we can dynamically open flash/swf attachments.

Thanks for any advice

Regards

Jaime


Answers:
author: Anton Romm
body: The problem can be with server or with browser.


author: Anton Romm
body: Hi! I have the similar behaviour.


author: Anton Romm
body: Hi! I have the similar behaviour.


Tags: confluence-administration
How to use Confluence Link Browser plugin in another plugin?
Asked by Boris:

I have a plugin in which I need to show the Link Browser. The plugin renders a custom html content defined in Velocity template and JavaScript. I've tried loading the Link Browser's resources from Velocity template using the *#requireResource* macro but without any results.

When inspecting the DOM tree in FF, there's a Confluence object defined but no Confluence.Editor.LinkBrowser. Successful import would mean there is a Confluence.Editor.LinkBrowser

I could generalize the question by asking how to import resources from plugin A to plugin B.

<br />

P.S. I am not using any kind of page decorator that would otherwise include AJS or other Confluence resources.


Answers:
author: Alejandro Conde Carrillo
body: You will need to specify the other plugin as a dependency in your pom.xml (scope should be provided).

comments: author: Boris
body: pom.xml

```
&lt;dependency&gt;&lt;groupId&gt;com.atlassian.confluence.plugins&lt;/groupId&gt;	&lt;artifactId&gt;confluence-editor&lt;/artifactId&gt;	&lt;version&gt;[5.0,)&lt;/version&gt;	&lt;scope&gt;provided&lt;/scope&gt;&lt;/dependency&gt;
```

.vm file

```
#javascripts();#requireResource("com.atlassian.confluence.editor:page-editor-js")
```

log file

```
[INFO] [talledLocalContainer] 2013-12-02 16:42:02,664 WARN [http-1990-1] [atlassian.plugin.webresource.DefaultResourceDependencyResolver] resolveDependencies Cannot find web resource module for: com.atlassian.confluence.editor:page-editor-js
```

For some reason, the resource is still not available.


Tags: confluence-app
How to hide the bar (toolbar) or dashboard?
Asked by Ricchar M:

![](../../upfiles/at.jpg)

Hello! I would like to hide the bar (toolbar) where is it the mouse, I would like to hide the bar (toolbar) absolutely or at least to hide names (Dashboard, template, template Home).

I've got to hide Dashboard and browse but I can't hiding the completely bar (toolbar) or other names.

Could somebody help me?

Thanks!


Answers:
author: Ricchar M
body: Done it! It's so easy, just added this (Look \& Feel -\> Custom HTML -\> At the end of HEAD

```
AJS.$("#header").css("display","none");
```

```
That's simple!
```

```
Thanks for your answer Nils Bier
```


author: Nils Bier _K15t_
body: Hi,

try to add this CSS to your space \> stylesheets:

```
#header {     display: none !important;  }
```

Does that work for you?

(Further information: [https://confluence.atlassian.com/display/CONFKB/How+to+Hide+Elements+in+Confluence+Using+CSS+or+JavaScript](https://confluence.atlassian.com/display/CONFKB/How+to+Hide+Elements+in+Confluence+Using+CSS+or+JavaScript)))

<br />

Cheers,  
Nils


Tags: hide

javascript

script
Issue editing Excel Macro in Explorer
Asked by Tom Cole:

Hello,

I am having an issue with editing the Excel Macro spreadsheet in Confluence. Using Explorer it still gives me an error message saying i need to use Explorer. This is not happening on my system but on my colleagues. We have cleared the cache on her browser to no avail. As it's only happening on her system and I am not the most computer literate person in the world, so any advice would be truely appreciated!

Many thanks,

Tom


Answers:
author: David Maye
body: Are you both using the same version of Internet Explorer and are editing the same document? If not, is there an update for Internet Explorer available?


Tags: cloud

confluence-cloud

macro

macro-browser

ms-excel
Confluence problem reaching external content on the internet
Asked by Tim Milner:

Description {#toc-hId-1621587309}
---------------------------------

Hi. Have experienced a new problem with Confluence over the last few months, and wondering if anyone has any advice or solutions:

We are currently on v3.5.16 of Confluence (upgrading next month), and use Firefox v25.1 (or latest) as our browser for Confluence. We run Confluence behind our firewall on HTTP.

So, fairly recently, I noticed (around two months ago) that any external content that we have on Confluence (eg. our shareprice feed hosted externally that fed in; our Twitter feed; any iFrames showing external content; any embedded videos from Vimeo or youtube; the JIRA Issues macro).

Our IT team do not know where to start looking to help solve this issue. My initial view was that it was a proxy issue or a firewall rule that is blocking Confluence from accessing any external content. Their view is that it is down to Firefox's new security feature that blocks mixed content - apparently when visiting a website using HTTPS protocol, any active content on the page running over HTTP protocol will be blocked by Firefox.

I wasn't so sure about thier reasoning, but I tested this by running Confluence on IE, and when the browser asks to show all content (including insecure), our content (external feeds, iFrame, videos) **does** actually display.

So my question is - has anyone else experienced a similar issue? Do you know how users of Confluence can get around this browser issue (if it is a browser isue)? Or do you think this could be another type of problem? NB. We use Firefox as recommended browser for Confluence (IE does not work at all in terms of delivering Confluence functionality).

I appreciate any advice you can give me, even if it is just to stop me looking in the wrong place.

Thanks,

Tim


Answers:
author: John Masson
body: Hi Tim, You've definitely come to the correct conclusion about the problem. Firefox (and now Chrome), both block mixed content by default now.

We've updated the Widget Connector to load content it's displaying (eg: YouTube) in version 2.3.0 (see <https://ecosystem.atlassian.net/browse/WC-75>), but this version of the plugin needs at least Confluence 5.2.3.

In the mean time before you upgrade, you can change the default setting in Firefox to allow the mixed content again, some quick instructions I found - <http://etudes.org/gateway/article_mixed_content.html>

By the way, I'd be really interested to hear more about your comment on IE. Drop me an email if you'd like to share some more details - jmasson at atlassian dot com.


author: Tim Milner
body: Thanks John - that's a great help. I will e-mail you, re: our IE problems.


Tags: browser

external

firewall
How can I force anonymous access in jira-issues macro?
Asked by Johan Ferner:

Hello,

Problem: some confluence users don't have jira accounts and that generates permission errors in confluence jira gadgets. If the user logs out of confluence the problem goes away. (Yes, we have crowd sso enabled).

I want to know how you do this in Confluence 5.1:

{jiraissues:anonymous=true\|url=[http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10420\&status=1\&sorter/field=issuekey\&sorter/order=DESC\&tempMax=10](http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10420&status=1&sorter/field=issuekey&sorter/order=DESC&tempMax=10)\|columns=type;key;summary;description}

I want anonymous access even if the user is logged in to confluence. Can't find any GUI to help me set anonymous...

Thanks,

Johan


Answers:
author: Septa Cahyadiputra
body: Hi Johan,

Can you try something like this:

```
{jiraissues:http://jira.atlassian.com/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10420&amp;status=1&amp;sorter/field=issuekey&amp;sorter/order=DESC&amp;tempMax=10|anonymous=true|columns=type,key,summary,description}
```

Please review [this page](https://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro#JIRAIssuesMacro-Codeexamples) for detail information about this. Let me know how it goes.

Cheers,  
Septa Cahyadiputra


author: Ankur Dhawan
body: did you get any solution for this issue ?
Title of the page
Asked by kA:

Hi friends,

![](../../upfiles/Page.png)

In confluence

When creating the page, it is possible to set the title of the page other than @currentDate, @spaceName and @spaceKey like login user name or any field value availble in the page automatically.

Thanks,

Karthik A.


Answers:
author: Nic Brough -Adaptavist-
body: I think Karthik is asking if there are other macros that can go into the title and be interpreted by the page creator. As far as I know, there are no others.

comments: author: kA
body: So we can able to use only these links @currentDate, @spaceName and @spaceKey to spcify the Title.


author: Nic Brough -Adaptavist-
body: I've tried a couple of others before, but only those three have worked.


author: Josch Bencke
body: Can it be that u use a 3rdpRty macro here " (add-page?) in that case, you should ask their developers, not the answer forum.


author: Josch Bencke
body: Can it be that u use a 3rdpRty macro here " (add-page?) in that case, you should ask their developers, not the answer forum.


author: kA
body: Whether we can able to use the any field values in the page as a title page.


author: rambabu patina
body: Yes it is possible. You can give title as you like for a confluence page.

Thanks,

Patina

comments: author: kA
body: Hi Patina,

Can you please explain how to do it?

Thanks,

Karthik A.


Tags: cloud

confluence-cloud
Permission denied when clicking on link to attachment
Asked by Patrick_Vanhoof:

Hi,

We have a user who gets a 'Permission denied' error when clicking on a link to an attachment of a page. The link is in a notification email of a page she is watching. When she clicks on the link again it works ok. Anybody an idea why the first click generates a permission denied?

Thanks,

Patrick


Answers:
author: Patrick_Vanhoof
body: Hi Anand,

We think it has something to do with our SSO, which is not enabled for Confluence. So the first click authentication fails, the second click authentication works ok.

Thanks,

Patrick


author: Anand Unadkat
body: Hi Patrick,

It could be one of the following:

User doesn't have the permission to view that space.

That page with the attachement is restricted to that user, or the group that the user is in.

Regards
Where can I find my profile picture in server?
Asked by Lakshmi:

Hi , Where can I access my profile picture in server? i have uploaded my own picture through profile from confluence web browser. now i would like to know where it is storing/keeping the picture in the server.

can anyone assist on this?


Answers:
author: Sreenivasaraju P
body: you can check @ confluence/images/icons/profilepics

comments: author: Lakshmi
body: Thanks for the quick response. this path has only default ones. but i am looking for pics uploaded by users. for e. g i have uploaded my own profile picture which i am not abel to get in this path.

Any other thoughts?


author: Sreenivasaraju P
body: It will store as an attachment and available on attachment folder


Tags: profile
Unable to add Custom HTML using admin/editcustomhtml.action
Asked by Anil Samuel:

This seem to work in our current 3.5 version in production; I am working on the upgrade to 5.2.5.I am trying to insert the following javascript to test this; the form submits on clicking Save, but the resulting HTML (checking using show source) is missing this scriptlet. I tried "At end of the HEAD" and "At beginning of the BODY" options.\<script type="text/javascript" src="includes/js/code.js"\>AJS.$("#sidebar").sidebar({ id: "localstorageidstring", minWidth: function () { return 200 }, maxWidth: function () { return jQuery(window).width() - 500; }});\</script\>


Answers:
author: Anil Samuel
body: |---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| I was trying Adaptiva ThemeBuilder Engine for this particular space where it was NOT working; it is now working when I switched back to Global Look and Feel theme. |
How would I show an include or some controls only if a label is present on that page?
Asked by Martin Cleaver:

I have some pages, where I denote the type of the page using a label. (e.g. 'marketing')

On each of those labeled / typed pages, I want to show an {include} that brings in extra information .

How would I do this?

We are using Confluence 5.3.1

Thanks, M.


Answers:
author: Stephen Deutsch
body: You could use the "if-label" user macro, which can be found here:

<https://confluence.atlassian.com/display/DISC/if-label>

NOTE: Ignore step 7.

I haven't tested it myself, but it should work.

comments: author: Martin Cleaver
body: Thanks Stephen.

Yes, it worked, with a couple of tweaks! I've posted my replacement version to the page you pointed me to.


author: Stephen Deutsch
body: Glad to hear it worked for you, and thanks for the update! I think a lot of people don't consider how powerful the user macro functionality is, and unfortunately many of the user macros on the shared page don't work so well anymore (not to mention that the full documenation for user macros is pretty sparse).


author: Christina Stergiou
body: Hello,

I would love to have the opportunity to use more than one label within the macro. Currently I give out a status macro named Draft to my page whenever there is a draft-label attached to the site.

It would be great If I could add some more statuses like Approved, Reviewed etc. Unfortunately I'm absolutely in lack of experience in order to rewrite my own version of this macro.

Maybe someone can think of a solution and give me a hint?

Best regards!

comments: author: Stephen Deutsch
body: Why not just include multiple versions of the same macro in the page? You can choose any label in the options. If the label doesn't exist, they don't take up any space on the final page anyways. Or perhaps I didn't understand your use case.


author: Christina Stergiou
body: Hey Stephen,

thanks for your fast reply. Of course that is a possible solution BUT I would prefer having less macros (best just one) on my pages. I have some late adopters in the team I currently work for and they can be easily scared away by having too much stuff they do not understand (yet).

I know this is quite a "first world problem" so I guess I will give your suggestion a try and see how it is going with the team. Thank you!


Tags: confluence-administration
How do I pull up a list of all blogs on my Confluence instance?
Asked by Jim:

We have approximately 80 spaces in our Confluence instance, many of which have blogs associated with them. Some of those blogs have never had any blogposts published on them.

How do I pull a list of all the blogs (not blogposts) that exist in my Confluence? The list under Organize Spaces \& Categories is not complete (it has to be updated manually).


Answers:
author: Davin Studer
body: If you have access to running a SQL query this should get you what you want.

```
select S.SPACENAMEfrom dbo.CONTENT Cinner join SPACES S on C.SPACEID = S.SPACEIDwhere C.CONTENTTYPE = 'BLOGPOST' and C.SPACEID is not nullgroup by S.SPACENAME
```

comments: author: Noumenon72
body: For people Googling how to see all blog *posts*, not all blogs -- Search has a filter for "Type: Blog Post".


Tags: blog

confluence-administration