youngmon/atlassian-qna huggingface dataset:
JIRA + Confluence Extranet
Asked by Nelson Abbey:

Hi

Am doing some footowrk on producing JIRA + Confluence Release notes to a password controlled Extranet site for customers.

Am looking for case studies, and even more, examples that show the capabilities and performance available. Reading the documentation and watching the Atlassian videos, I am not really sure what we can do. I think this is the best solution,

We need the following:

* Expose some JIRA spaces to our customers.
* Ability for users to sort output by version, component, platform, and some other bits.
* Nice PDF output
* Good performance, ie, no crazy impact on JIRA database.
* If possible, integration with Sales Force

Thanks, any info would be much appreciated!

(Already using jiraissues macro)


Answers:
author: Midori
body: **Use the [PDF View Plugin](https://marketplace.atlassian.com/5167)** for JIRA.
> Expose some JIRA spaces to our customers.

Hmm, I'm not quite sure what this requiment is meant to be.
> Ability for users to sort output by version, component, platform, and some other bits.

The easiest to do this would be using an URL parameter to specify the sorting dimension (e.g. *sort_by=version* or *sort_by=component*).

As you have full access to the "request" object in the [Groovy scripts](http://www.midori-global.com/products/jira-pdf-view-plugin/documentation/) that are executed by the plugin, you can check the request parameters and resort your issue list accordingly, before rendering the final PDF document.

\> Nice PDF output

The PDF documents are generated from templates, and you have 100% freedom about the look.

I attached a simplistic [sample release note document](http://www.midori-global.com/downloads/jpdf/jira-release-notes.pdf) below.

\> Good performance, ie, no crazy impact on JIRA database.

Unless your release notes contain hundreds or thousands of issues and you don't use a low-end server, it should not be a problem.

\> If possible, integration with Sales Force

The plugin provides [scripting capabilities](http://www.midori-global.com/products/jira-pdf-view-plugin/documentation/), which allows connecting to the SalesForce API (see these: [1](http://packageprogrammer.wordpress.com/2013/06/17/salesforce-api-rest-groovy/), [2](https://github.com/danveloper/salesforce-groovy), [3](http://leanjavaengineering.wordpress.com/2010/10/06/groovy-salesforce-api/)), although I don't have first hand experience with it.  
![](https://marketplace-cdn.atlassian.com/files/images/com.midori.jira.plugin.pdfview/0d7de387-7dec-444d-841c-4b470d7542fa.png)


Tags: external

jira
Context changed after Confluence upgrade
Asked by Ben Daniels:

We recently upgraded Confluence. We have done this in the past and are running the EAR/WAR version. We went from version 5.1.2 and stepped through the path and guide up to version 5.5.2

The issue arose when we first moved to version 5.2.0, and when we attempted to access Confluence only had a blank white screen. I searched and found existing references to a "context error".

The original URL was [](http://confluence.x.x/dashboard.action)<http://confluence.x.x/dashboard.action> to land, now you need to manually add a "/confluence" so it ends up being [](http://confluence.x.x/confluence/dashboard.action)<http://confluence.x.x/confluence/dashboard.action>

Since we're running under Tomcat I've adjusted the confluence.xml file under our Catalina/localhost and the path="" (so, no context path)

This was working prior to our upgrade. Has anyone encountered this scenario before? I'm really hesitant to change the context path or the Base URL because we have Confluence highly integrated with our JIRA instance.

Thanks.


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

This problem happened, because the context path is held by server.xml from the installation folder. Once you do the upgrade, you'll not use the old install folder, so it will replace from a brand new one. So everytime you need to bring your server.xml that is located in the \<install-folder\>/conf folder. That way your context path configuration will go with it.  

Cheers,

WZ

comments: author: Ben Daniels
body: Thanks William! That did the trick.


Tags: context

upgrade
Can I somehow change a blog post to a normal article (and vice versa)?
Asked by Kay Hauser:

Can I somehow change a blog post to a normal article (and vice versa)?


Answers:
author: Rodrigo Girardi Adami
body: Hi Kay,

This is not possible at the moment. We have a feature request for this here: [](https://jira.atlassian.com/browse/CONF-16142)<https://jira.atlassian.com/browse/CONF-16142>

I recommend to vote and ask your colleagues to vote as well to increase popularity of the feature and the chance to be implemented in the future.

Edit. It seems that a customer could create a macro for this functionality in this [comment](https://jira.atlassian.com/browse/CONF-16142?focusedCommentId=605749&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-605749). This might help :)

Cheers,

Rodrigo

comments: author: Tobias Rapp
body: If I only *could* vote on it, but unfortunately the issue is closed.


author: Deividi Luvison
body: Hey Kay,

Nope, you cna only move blog posts to other individual spaces or move articles from one space to another.

Thanks and Regards,  
David\|Atlassian Support


author: Mick Davidson
body: Kay,

Have you tried putting either the page or blog into edit mode and then copying it all? You can then paste it into a new page, give it a title etc and your done.

Cheers.
conditional display of confluence content?
Asked by Vladimir Alexiev:

Is there a way to display content in **confluence 3.5** based on some condition? Eg the presence of a label is good enough.

The [if-label](https://confluence.atlassian.com/display/DISC/if-label) user macro is almost perfect, but it doesn't work well for:

* list item: starts a new list or, weirdly, subitem
* table row: starts a new table

Thanks in advance for any answers! Bounty 20 points is on offer :-)


Answers:
author: Mehmet Kazgan
body: How about using html macro and adding javascript in there:

```
&lt;html&gt;&lt;body&gt;&lt;div id="container" style="float:left;"&gt;my&lt;br&gt; dynamic&lt;br&gt; contents&lt;/div&gt;&lt;script type=text/javascript&gt;var container = document.getElementById('container');var containerHeight = container.clientHeight; if (containerHeight &gt;= 100) {    dispaly("big sideBanner");} else if (containerHeight &gt; 50 &amp;&amp; containerHeight &lt; 100) {    display("middle sideBanner");} else {    display("small sideBanner");}&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;
```


Tags: condition
Attachement Macro_Label Sorting Using OR Logic
Asked by Adam Green:

It seems that the Attachement Macro, which embeds an attchement list into a Confluence page, only supports filerting the attachements via labels using AND logic. Is there anyway to filter attachements via labels using OR logic?


Answers:
author: Bob Swift (personal)
body: The [Attachment Table Macro](https://bobswift.atlassian.net/wiki/display/TBL/Attachment+Table+Macro) from [Advanced Tables for Confluence](https://bobswift.atlassian.net/wiki/display/TBL) has more flexible selection criteria.


Tags: attachment

cloud

confluence-cloud

macro
Can't Disable a User
Asked by mathew best:

We've been using confluence OnDemand for a year or so, and have recently turned on a Jira instance. This has changed the admin functions on Users, and as a result we no longer have the button to disable a user, and also, if I try and click delete it tells me that confluence is not authorised.

Help?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hi Matthew, you can add or remove usage permissions through the application access panel in OnDemand, the path is to select to the *cog icon* \> *User Management* \> *Application Access* page. For reference [this is](https://confluence.atlassian.com/display/AOD/Managing+application+access#Managingapplicationaccess-GrantingForExistingUser) the correspoding documentation.


Tags: cloud

confluence-cloud

jira

jira-cloud
Confluence plugin user authentication
Asked by Documill:

While researching for different approaches I wanted to make a check also from here.

We're working on a Confluence macro plugin that would open an iframe to an external service. It's clear how the user can be identified but the service would need to validate the Confluence user's session against the Confluence. What would be the best approach to valite the user's session against Confluence?


Answers:
author: Documill
body: Hi David,

Thanks for your reply.

The external service is our own application. Most likely we have to create the application link between Confluence and the external service. This allows us to use Confluence API. However, it seems that the current Confluence APIs that should be suitable for production use do not give out any means to confirm that the user is logged in (session is valid). Have you found out any way to verify user's session via Confluence API?


author: David at David Simpson Apps
body: What is the external service? You may have options based on that.
Can't assign my colleague on Confluence project
Asked by alex levchenko:

Hi guys, I added my colleague as an admin and to all other user groups and I still can't add him as assignee on one of a projects. I can add all other colleagues instead of him. Checked all the permissions and I even made him as an Individual user that he could do everything on Confluence. Any suggestion? Thank you.


Answers:
author: alex levchenko
body: Hi guys, thanks for your answers.

When I create a project on Confluence (blank page or any other) I want to add my colleague to the page but auto complete doesn't give me his username, nor name. I just can't add him so that he could get mentions to his e-mail.

I've checked all the permissions and it seems to be neat.

My colleague groups: [](http://awesomescreenshot.com/0552x90ab8)<http://awesomescreenshot.com/0552x90ab8>

Auto complete can't find my colleague that I could add him: [](http://awesomescreenshot.com/06f2x90u28)<http://awesomescreenshot.com/06f2x90u28>

I also added him as an Individual user and granted all the permissions: [](http://awesomescreenshot.com/0252x91wb6.)<http://awesomescreenshot.com/0252x91wb6>.

Any thoughts?

Thanks!


author: Bruna Griebeler
body: Hi Alex,

As Nic said, Project and Assignee terms are used for Jira. On Confluence we have Space Administrators, Page Creators, etc.

Check in your Jira instance if the user have the proper permissions to be assigned. Please take a look here: [](https://confluence.atlassian.com/display/JIRA/Managing+Project+Roles)<https://confluence.atlassian.com/display/JIRA/Managing+Project+Roles>

Cheers


author: Nic Brough -Adaptavist-
body: What do you mean by "assign"? Confluence doesn't really have assignees, so I'm not sure what you're talking about. (Jira has assignees, but I don't want to debug that if you really do mean confluence)


Tags: cloud

confluence-cloud
display full name
Asked by Tim Schmidt:

Hey guys,

I changed my blog post layout to show not only the lastModifiedDate but the creationDate aswell.

There are two problems: How can I display the full name of creator and modifier and not the username?

How can I cange the code to display to something like User created the entry on $CreationDate and modified it on $lastModDate ?

Cheers! :)

//This is a part of my blog post layout code:

##parse ("/decorators/includes/page-metadata.vm")

#set ($Creator = $blog.getCreatorName())

#set ($CreationDate = $dateFormatter.formatDateTime( $blog.getCreationDate()))

#set ($lastModder = $blog.getLastModifierName())

#set ($lastModDate = $dateFormatter.formatDateTime( $blog.getLastModificationDate()))

\<div class="page-metadata"\>

\<ul\>

\<li class="page-metadata-modification-info"\>\<b\>$Creator\</b\> created the entry on \<i\>$CreationDate\</i\> \</br\> \<b\>$lastModder\</b\> edited it last on \<i\>$lastModDate\</i\>\</li\>

\</ul\>

\</div\>


Answers:
author: Tim Schmidt
body: Got it myself :)

Outquoted the metadata-file and replaced it with this

`<div ``class``=``"page-metadata not-personal"``>$action.getText(``"macros.blogpost.by.posted.on"``, [``"#userLink($blog.creator)"``, $action.dateFormatter.formatDateTime($blog.creationDate)]) - last edited by #userLink($blog.lastModifier) on $action.dateFormatter.formatDateTime($blog.lastModificationDate)</div>`


Tags: confluence-administration
Confluence is very slow
Asked by sudhakar:

Hi,

These days confluence is very slow and not responding. when we check the log we could find the below errors. please advise what could be the cause for these errors.

1.Servlet.service() for servlet action threw exception java.lang.IllegalStateException

2.Java.sql.SQLException: I/O Error: Connection reset

3.A PooledConnection that has already signalled a Connection error is still in use!

4.java.net.SocketException: Connection reset

5.ERROR \[scheduler_Worker1\] \[officeconnector.index.excel.ExcelXMLTextExtractor\] endDocument expected \[ 419 \] entries but read \[ 423 \]

6.java.io.IOException: Stream 2 attempting to read when no request has been sent

7.java.sql.SQLException: Invalid state, the Connection object is closed.

8.net.sf.hibernate.exception.JDBCConnectionException: Cannot open connection


Answers:
author: FelipeA
body: Hi Sudhakar,

Looks like you're having network issues on your Confluence server and/or your database server. Take a look at that with your network team.

Best regards,

Felipe Alencastro
How can I know which other pages refer to my page via an ?Include Page? Macro in confluence?
Asked by SherryX:

Is there a way on knowing which other pages refer to my page via an "Include Page" Macro in confluence?

I need to be aware of the page is being used elsewhere, just in case I want to delete or make major changes to the page. Many thanks


Answers:
author: SherryX
body: I found this link [](https://jira.atlassian.com/browse/CONF-24568)<https://jira.atlassian.com/browse/CONF-24568>and looks like it will be fixed in the latest version.


author: Mick Davidson
body: Sherry,

Have you tried looking at Tools/Page Information?

That has a list of all pages that are linked to the current one, and which one it links to as well. It also has other useful info.

I always look at that before deleting a page.

Cheers.

comments: author: SherryX
body: Thanks, Mick. The page information does not show pages with "include page" macro.


author: Nils Bier _K15t_
body: Hi Sherry,

you could have a look at our Add-on [Scroll Versions](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions).

Besides version- and variant-management functionality it offers [enhanced content reuse](http://www.k15t.com/display/VSN/Enhanced+Content+Reuse). You can check where the included content is coming from and where else it's included. I think that should be exactly what you're looking for.

Cheers,  
Nils

comments: author: SherryX
body: Thanks, Nils, will try and see if that works, as it's not free, need approval from our management.


author: Davin Studer
body: This was a plugin that used to index macro parameters. It says it is supported up to 4.3.7, but sometimes plugins still work even though they only say they work with a lower version. If you are on a version higher than 4.3.7 you could try manually installing it and giving it a shot.

**Plugin:**   
<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.confluence-macro-indexer-plugin>

**How to use it:**   
<http://ffeathers.wordpress.com/2012/09/04/how-to-search-for-macros-and-macro-parameters-in-confluence-4/>

comments: author: Davin Studer
body: I decided to give it a shot ... looks like it doesn't work with newer versions ... shucks!


author: SherryX
body: Thanks for letting me know, Davin.


author: discountrobot
body: Using the search parameter for finding macros and the title of the page you want to find

```
(macroName:include) AND (pageTitle)
```

Should give you the results you're looking for

comments: author: SherryX
body: Thanks, I used the above parameter but it's not exactly what I'm looking for. The result pages will have "include macro", but the pageTitle search all the content on the page(which is not the pageTitle I'm looking for).


Tags: include

user-macro
Application open confluence page without login
Asked by Bob Lai:

hi sir,

I want to open confluence as my application help, but It need to login first,

how can I pass the ID/PW from the applicaiton to open the confluce.

please note, the help only for someone who is our customer but restrict anonymous access

Thanks


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Bob, if you are locked out of the application you may use [this procedure](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights) to regain it, you need to have access to its database in order to perform so. As for anonymous access you can enable or disable it using the pane outlined [in this page](https://confluence.atlassian.com/display/DOC/Setting+Up+Public+Access).

If you would like to allow anonymous access to only users who are customers, you may like to considering making it accessible through a [whitelist configuration](https://confluence.atlassian.com/display/DOC/Configuring+the+Whitelist), for instance, there are other routes, such as providing access in the intranet, or through a VPN.

comments: author: Bob Lai
body: no whitelist for Confliuence on demand and there is no way restrict customer access internet service, does Confliuence provide time expired access toekn url to access the content


author: Julia Levcovets
body: hi, try to achive it with application links


Tags: cloud

confluence-cloud
How to disable email in confluence but enable email from ad hoc workflow?
Asked by Mohamad bin Subakin:

I want to disable all email update from confluence but only enable email notification from ad hoc workflow by comalatech.


Answers:
author: Deividi Luvison
body: Hey Mohamad,

Doing that in Confluence is not possible, if you disable the notifications in Confluence that will also apply to the notification from the ad workflow.

If the emails from the ad hoc workflow have some kind of header one idea is to add some kind of filter on the mails erver side to allow only emails containg that hearder from ad hock workflows and blocking the remaining emails that comes from Confluence.

Hope it helps.  
Thanks and Regards,  
David\|Atlassian Support

comments: author: Mohamad bin Subakin
body: Thank a lot..


Tags: confluence-administration
New Users don't show in Confluence People Directory
Asked by ColinM:

When I grant a user access to Confluence, they do not immediately show up in the People Directory. I have to click on an existing user which will give me this link for example:

[](https://chromeriver.atlassian.net/wiki/display/~colin.mease)[https://chromeriver.atlassian.net/wiki/display/\~colin.mease](https://chromeriver.atlassian.net/wiki/display/%7Ecolin.mease)

And then I have to update the link with the new user's name:

[https://chromeriver.atlassian.net/wiki/display/\~john.smith](https://chromeriver.atlassian.net/wiki/display/%7Ejohn.smith)

It is only once I've navigated to his/her profile page that they will show up in the People Directory.

NOTE: The user also does not show up in the autocomplete when attempting to assign a task (until after I perform the above mentioned steps)


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

Based in our scenario, I believe that the index is the problem there. Basically people directory rely on Confluence's index that way it won't store everything in the database. Since you're running OnDemand, you won't be able to do the following steps, so I'd suggest you to raise a ticket in our [support channel](https://support.atlassian.com) that way our team can perform a [rebuild of the content index from scratch.](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch)  
This should do the trick.  

Cheers,  
WZ

comments: author: ColinM
body: Yes, you are correct. However, it seems like I should be able to reindex after any changes, since Jira provides you that ability. Hopefully that can be an enhancement in the near future.


Tags: cloud

confluence-cloud
Is it possible to have Personal Spaces automatically created when a user is granted access to Confluence?
Asked by Stacia Parfionov:

Hi,

Can anyone tell me whether it's possible to have Personal Spaces created automatically when a user is granted access to Confluence? Or similarly, can a personal space be created automatically for each user in a group when the group is granted access to Confluence?  

From what I've read, this isn't how Confluence works. Confluence works on the basis of "permissions" meaning that you can give a person (or group) permission to do things. Versus creating functionality for individual users (or for each individual in a group) and assigning that functionality as part of their default content, which is what I'm asking about.

Assuming the answer is no - that it isn't possible to create personal spaces automatically. Does anyone know whether you can create a personal space on someone's behalf and then "assign" or move that personal space to the person for whom you created it?

Thanks, as always, for any hints/tips,

Stacia


Answers:
author: Davin Studer
body: The confluence command line interface can create personal spaces using the addSpace action and by supplying the userId.

comments: author: Stacia Parfionov
body: Thanks Davin! Exactly the info I needed. :-)


author: Jenni Sproul
body: With this solution, is it also possible to incorporate the ownership of the personal space be assigned to that individual? We currently have this set up so that personal spaces are created when new users are added. However, the space is unassigned and each space has to be manually updated to assign the individual as the space owner.


Tags: confluence-administration

personal-space
Confluence Structure Plugin Login & approve Issue
Asked by Adam White:

We recently setup OAuth between Confluence and JIRA (both are using SSL), and I just tried using the Structure plugin for it. After going through the steps to add the gadget, when I try to add it to a page, it continually asks me to Login \& Approve the plugin after I try to select a Structure. It doesnt actually get to the point where I can select something, it just keeps giving me the Login button, even after I approve it. I suspect this might be a configuration issue, but I was wondering if you had any ideas. I tried using another gadget (the JIRA Activity stream) and it worked just fine.

Any ideas? Running JIRA 6.1.3 and Confluence 5.4.2.


Answers:
author: Igor Sereda [ALM Works]
body: Adam, which version of Structure are you using? We've fixed a problem with OAuth in version 2.6, so if you're using an earlier version, please upgrade (the latest version is 2.7).


author: Tom Jackson
body: Problem is probably in your Jira/Confluence application link setup.

You probably have both "trusted applications" and "oauth" enabled.

Try disabling oauth on both incoming and outgoing.

comments: author: Adam White
body: I looked at the configuration and it says Trusted Application is disabled (for both JIRA and Confluence)


Tags: addon-com.almworks.jira.structure

structure