youngmon/atlassian-qna huggingface dataset:
How would I go about shading every other row?
Asked by Jan Rembisch:

Hi,

I have a table and I'd love to create a template that shades every other row for increased visibility.


Answers:
author: Felix Grund (Scandio)
body: Hi Steffen,

Sorry for the late reply. Well actually, this is not as easy as it seems first, because Flying Saucer, the PDF rendering engine Confluence uses, supports only CSS 2.1 (and not even everything from this spec). So nth-child is not supported (as you mentioned). It's not possible either to apply JavaScript to the intermediate HTML code.

The only way to achieve an nth-child-alike effect is to look at fallbacks for old IE browsers using CSS only. There is only one way that I know of, using the *adjacent sibling*selector. It's pretty ugly and you might need a log of CSS code if your tables are big. But in general it works fine (I tested it).

```
/* row 1 */ tr,/* row 3 */ tr + tr + tr,/* row 4 */ tr + tr + tr + tr + tr { background: #ccc; }/* ..repeat as often as necessary.. *//* row 2 */tr + tr,/* row 4 */ tr + tr + tr + tr,/* row 6 */ tr + tr + tr + tr + tr + tr { background: #fff; }/* ..repeat as often as necessary.. */
```

Let me know if this helps.

Regards, Felix \[Scandio\]

comments: author: Steffen Heller
body: Thanks Felix, very good idea. I had given up on the idea of alternating table cells, but this actually works.


author: Felix Grund (Scandio)
body: Hi Jan!

That's very easy. If you just want it for the default template, create a template like this:

```
&lt;style&gt;.pocketquery-table tr:nth-child(odd) {background: #ccc}&lt;/style&gt;$PocketQuery.template("default")
```

The example uses the nth-child selector which is compatible with IE \> 8, so it should be ok by now.

Look at our article on [Templating in PocketQuery](http://www.scandio.de/en/atlassian/plugins-en/pocketquery-en/pocketquery-templating/) if you want to dive in further!

Regards, Felix \[Scandio\]


author: Steffen Heller
body: Hello,

I would like that appearance with different row colours for PDF exports. Any chance to realise that even though nth-child() is not supported by the confluence CSS engine?

comments: author: Felix Grund (Scandio)
body: Are you asking about PDF export in relation to PocketQuery results? Or PDF export in general?


author: Steffen Heller
body: PDF export in general:Can I create tables in confluence that have alternating row colours when I export them to PDF?


author: Jan Rembisch
body: Thank you Felix, works like a charm!

comments: author: Felix Grund (Scandio)
body: If you like PocketQuery, we would be very happy about a review at the marketplace :)


author: Felix Grund (Scandio)
body: Oh, and it would be nice if you marked my answer as "accepted".


Tags: pocketquery
confluence task list macro display assigned tasks
Asked by Paul DeSousa:

We really like the Macro for displaying task lists, but I have a large user base and was wondering if there was a way to make the tasklist display only tasks that have an assignee. We want to display all assigned tasks for a space. There is an assignee filter, but to get all assigned tasks I would have to add all 450 or so users to that list, which is not practical.

If the source code is available some where is sounds like an easy enough change to add if assignee != EMPTY then display the task.


Answers:
author: Davin Studer
body: Not sure how performant this would be but you could create a user macro that acts as a wrapper for the task report macro and will dynamically add in all of your users as assignees. I haven't tried it, so I'm not sure how fast or taxing on the server it would be, but it might be worth a test.

comments: author: Paul DeSousa
body: Interesting idea. Any thoughts on how to add in all the users? Do I create an array all the users? Of course then that would have to be maintained as well (every time a new employee is hired we have to change the macro), unless there is a way to automatically feed all the users in.


author: Davin Studer
body: Like I said this might be slow but this user macro should do what you are wanting.## @noparams \<ac:structured-macro ac:name="tasks-report-macro"\> \<ac:parameter ac:name="assignees"\>#foreach( $user in $userAccessor.getUserNamesWithConfluenceAccess() )\<ri:user ri:userkey="$userAccessor.getUser($user).key"/\>#end \</ac:parameter\> \</ac:structured-macro\>


author: Paul DeSousa
body: Works great, except now I just need to add back in all the parameters from the original macro as it defaults to no params. I should be able to do that. It is reasonably fast, but I will keep an eye on it...


author: Paul DeSousa
body: NM I got it to work I, thanks again!


author: Davin Studer
body: Glad to hear. Being able to wrap the existing macro in a user macro to dynamically change the parameters is super useful.
Confluence Trial on existing JIRA site
Asked by Joel Mansford:

Hi,

We are currently a JIRA cloud customer and would like to trial confluence cloud. The problem I have is that the trial wants to setup a net new site and now that site is completely independent from JIRA.

Am I doing something wrong?

Thanks!


Answers:
author: Elisa [Atlassian]
body: Hi Joel, how did you do to activate that trial?

To have both JIRA and Confluence under the same URL, in your case, you should: Access JIRA \>\> Click on the Cog/Gear Icon \>\> Click on Discover New Applications \>\> Subscribe/Activate Confluence. It will take a while to set up (\~10min) but after that you should be all set. :smile:

I'll be waiting to hear from you.

Cheers!


Tags: cloud

confluence-cloud
How to disable inserting image from URL?
Asked by Ale? La?ar:

Hi there,

For security reasons we have to disable inserting image from remote URL. This is a way to get credentials from users. So anyone know how to disable it?

Thanks for advices,

Ales


Answers:
author: Paula Silveira
body: Hi Ale?,

1. Go to **Confluence Admin \> Configuration \> Plugins \> Show System Plugins**.
2. Find **Confluence Paste** in the list, and click it.
3. Click **Manage Plugin Modules** to see the full list of configurable modules for Autoconvert
4. The entire plugin can be disabled, or each module can be disabled individually.

I believe the plugin you should disable is Autoconvert Skitch.

Please check the link <https://confluence.atlassian.com/display/CONFKB/How+to+Turn+Off+Autoconvert> for further information.

Hope this works for you.

comments: author: Ale? La?ar
body: I couldn find it! Many thanks. And when I want to disable only inserting images from url, then should I disable Autoconvert Skitch?


author: Paula Silveira
body: "Automatic handling of Skitch "Share Image" URLs pasted into the page.(Transforms Skitch "Share Image" URLs into embedded images.)"Once you disable that module, only the URL which was copied will be shown.Please tell me what was not found. Weren't you able to see the Manage Plugin Module or weren't you able to find Autoconvert Skitch?Please check if you have administrator rights.Thanks.


author: Ale? La?ar
body: I am admin so i have access there. And i see all enabled modules for that, but i want disable only inserting images from web, other think I want to let enabled.


author: Paula Silveira
body: Do you see the button disable as the screenshot on <https://confluence.atlassian.com/display/CONFKB/How+to+Turn+Off+Autoconvert>?Are you able to select the module Autoconvert Skitch then disable?


author: Ale? La?ar
body: Ouu sorry, I wrote it bad. I couldnt find it before but now with your help I did it :) But what i dont know is that which module I should disable to disabled insert images from external website. Others functions (like inserting youtubes, converting jira links,etc..) I want to let enabled.


author: Paula Silveira
body: Disable only Autoconvert Skitch module. Don't change the others, and it will work for you.


author: Ale? La?ar
body: Perfect! Many thanks for you help!


author: Adis
body: Hi,  
This only works if I paste a link within a page.  
If I add a picture with "STRG+M" + "Images from the web" option. The security issue still persists.  
Is there a way to disable this feature in general?


author: nikolaev
body: Hi,

we got Server version of Confluence.

And there is no Autoconvert Skitch module at Confluence Paste. How can we solve this issue for Confluence Server (7.1.0) ?


author: Andrii Surai
body: Hi  
Any update on this?  
Found <https://jira.atlassian.com/browse/CONFSERVER-55015>  
and <https://community.atlassian.com/t5/Confluence-questions/Prevent-Inserted-images-from-the-web/qaq-p/715696>


author: Delany
body: Im on 7.9.0 server---none of the 10 modules of Confluence Paste plugin can be disabled


Tags: confluence-administration
How is the linking to user stories done (Agile)
Asked by Pietros:

Hi,

We have been using JIRA Agile (SCRUM). Currenctly the Confluence is being considered and I would need to know: how is the mapping to requirements done? I would appreciate the workflow example. My idea is:

1) A BA notes a requirements in Confluence

2) Links to a story or an epic in Agile

3) Update the requirements with no impact on the story (or is there any action)

4) Versioning has no impact

I would also like to know, is it possible to easily export the requirements to form a document (e.g. when a customer needs to see a functional spec, old-fashioned one? :smile:)


Answers:
author: Guilherme Nedel [Atlassian]
body: Hi Petr, you can link from Confluence to JIRA Agile Epic from the bug tracker side using either of the two methods(from Plan mode or in view pane) as [outlined here](https://confluence.atlassian.com/display/AGILE/Linking+a+Confluence+Page+to+an+Epic).

In case you would like to perform the action from Confluence side you can refer to the items explained in [this documentation](https://confluence.atlassian.com/display/DOC/Working+with+JIRA+Agile+in+Confluence).

Hope this helps.

comments: author: Pietros
body: Thanks. You mention epics, would it work for stories as well?


author: Guilherme Nedel [Atlassian]
body: Yes, you can use the _issue links_ menu and under the _Confluence_ tab insert the page which the story will be linked to.
Confluence - connecting LAN users
Asked by Dean Turner:

Good Day

please can some guide me as to how to connect users.

i have setup the email invite , but the links dont work

i have tried to open ports on the workstations but this doesnt seem to work

please assist so i can start my trial

thanks


Answers:
author: TinA
body: Hello Dean,

If you are hosting confluence in your local area network you will need to ensure that your network firewall allows access to the port you configured for Confluence. Not only do you need to check the network but also check your operating system firewall for the same set up.

If you are connecting from your computer, by default the login URL would look like: `http://localhost:8090`  

How ever this is for your own computer if you have other people from your network connecting to it you will want to ensure that you have a static IP address or internal DNS pointing to the static IP for the server. This is an example of a basic home network dynamically assigned single IP that your other LAN'ed computers can connect to.

<http://192.168.1.1:8090>

Now keep in mind that these numbers are not solid and they are based off of basic configurations. They will vary on your environment. You should know the IP's configured on the Confluence server and ensure that it is static and not dynamic to ensure that there is no confusion when an IP change occurs.

If you have any other questions or concerns please do not hesitate to get in touch with us.

-Regards,  
Tin Nguyen \| Confluence Support.


author: Dean Turner
body: Hi Adriani have tried the email link, and tried to copy the link from the setup , but still no luck.running it directly on the server is no problem.all the workstations dont have a problem connecting , as we use the server for other applications.i have restarted the server, reset the service, but cannot connect from a workstationis there a need to install the software on the workstation??


author: Adrian Moerchen
body: Have you tried to ping the IP of the host directly. Maybe just a dns resolution problem. Also you may not have set the correct "base url" in Confluence, so the link renders with "localhost" or something like this.
pie chart without JQL
Asked by dean sun:

hi

I edited confluence page with jra-python .But I can't draw the pie chart with my issue list.

\<ac:parameter ac:name="jql"\>project%3DADDON%20%20\</ac:parameter\>\<ac:parameter ac:name="width" /\>

How to input my issue list to it without JQL?

thank you


Answers:
author: Nic Brough -Adaptavist-
body: You have to specify JQL for this to work - the pie chart needs it to work out what issues you want to display
Can't start Apache Tomact service on windows
Asked by Pat Condon:

I tried an upgrade from 5.4.4 to 5.6.4 on Windows Server 2008 R2 of Confluence as service with Oracle DB and received following error after "Installation complete" screen:

Windows could not start the Apache Tomact confluence service on XXXX

Error 2: The system can't find the file specified

following files were modified on install:

confluence\\web-inf\\web.xml

conf\\server.xml

conf\\web.xml

No files removed and some files added

Any suggestions are most appreciated for next attempt

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: What does the catalina.out log file say the problem is?


Tags: confluence-administration
View Only. What's the fastest way to arrange things so a user called readonly (or similar) can only view (& not edit) everything we setup in multiple Confluence spaces? I.e. Everything we create by default is can only be viewed by a certain user.
Asked by Hugh Bathurst:


Answers:
author: Jonathan Simonoff
body: Don't give confluence-users (that is the default group that all users belong to) editing rights in any space -- use space permissions to only give viewing rights.

Create a second group (confluence-editors, for example) and give that group editing rights in each space. Add the users to that group as they earn the rights.

I think that is as easy as it is going to get.


author: Hugh Bathurst
body: Thanks, we've really tried these approaches. We were hoping for an easy \& quick way so all new users were default view only (earning right to edit sort of thinking).


author: JeffP
body: See the space permission documentation at <https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>. Then configure your readonly user in the Individual User area to only have view permissions for the desirable spaces.

Cheers!


author: Jonathan Simonoff
body: The easiest way would be to have everyone who can edit in one group, and only give editing rights to that group.


Tags: cloud

confluence-cloud
How can I make tab names show up in search results?
Asked by Meredith B:

When I use either the [AUI Tabs](http://www.adaptavist.com/doco/display/CFP/AUI+Tabs+macros) macro or [Navitabs](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.navitabs) plugin, my information displays on the page exactly as I want it.

However, when I run a search for any of the names of my tabs, results aren't very good. Tab names just don't show prominently in a search result.

Is there any way that I can set tab names to show as unique search results, as page names do?

Thanks very much in advance.


Answers:
author: Rory
body: This post was made back in November... Ive also had his problem and im wondering if there is a fix or a work around. Maybe a variable in the query string of the search would work.


author: Davin Studer
body: Not really, as the tab names are macro parameters and those aren't returned in search. You could put the tab name inside the tab as well at the top as a header or something like that (maybe and h3 or h4) and that would probably work as it would then be indexed and thus searchable.


Tags: search

tab
crucible 3.5.4 - how to view all reviews, not just mine - all on all projects
Asked by Janene Hoffmann:

In previous version of Crucible, you could see ALL reviews.  
With the upgrade, you cannot see all review, just mine.  

<br />


Answers:
author: Janene Hoffmann
body: going from 2.10.4 to 3.5.4 - FishEye / Crucible


Tags: confluence-administration
Linking or embedding Sharepoint calendar in Confluence
Asked by Hideyuki Mukai:

I have not been able to find a Confluence calendar plugin that fits the purpose and I have something that already does the job in Sharepoint.

So while it is not ideal, I would like to be able to reference this sharepoint calendar in Confluence.

Has anyone got any experience in this and are happy to provide me with some guidance?

Thanks

Hide


Answers:
author: Bella Musial
body: Hello,

I am trying to display a SharePoint calendar with an iframe. When I enter the URL, and preview or publish the changes - I get just a 'frame' and no view into the calendar. The URL is an 'https' - could that be the issue, or is it that we have not enabled the Confluence HTML Macros?

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/10606iE0B0BA98A8269631/image-dimensions/417x420?v=v2 "Capture.PNG")

comments: author: pradeepkrsharma
body: I too also seeing the same when I tried to embed with iFrame.


author: Sonesh
body: Anybody found solution to this?

comments: author: Davin Studer
body: If you get the free content formatting macros add-on you can put an iframe macro on the page and do it that way.


author: Sonesh
body: Thanks @Davin Studer it works as of now. I would like to know if we can actually sync the Calendars and not embed it thou. But this helped as of now Thanks


author: Uta Scheidereiter
body: Hi, I would be interested in the same thing - how to sync a sharepoint calendar with a team calendar in Confluence. In case there are any new infos - please help. Thanks


author: Davin Studer
body: We were wanting to do the same thing. What we had to do was just iframe it ... ugly I know, but it was the only way I found to do it easily.

comments: author: Hideyuki Mukai
body: Thank you Davin. Unlike the rest of the audience here, I am not familiar with what you provided but I will bother our web developers about that!


author: Davin Studer
body: An iframe is an inline frame. Basically, it is a way to embed a web page within another web page.


author: Sumit Kumar
body: Its explained here <https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html>


Tags: calendar

sharepoint
How to move an article into another space
Asked by Emily Phillips:

How do I move a page from one space to another? Someone posted an article under the "Human Resources" space and I need to move it.

Thank you!


Answers:
author: Jonathan Simonoff
body: Easy. Under the Tools menu on the page is a Move command. Choose that. The top field specifies the space.


author: JeffP
body: See the documentation at <https://confluence.atlassian.com/display/DOC/Moving+a+Page>, and be sure you have permissions in the new space.
What privileges are needed to purge the Trash?
Asked by Bill Barnert:

I have in the past purged the Trash files, so I know the process. Then we moved our Confluence to the cloud, and everything seems the same, except that I do not see "Trash" as on of my options on the Space Tools -\> Content Tools. I am (I thought) a full privileges admin, so what should I be looking for to get the Trash tab back?


Answers:
author: Bill Barnert
body: Thanks, Elisa, that was it. I had to "Recover Permissions" that I used to have.

comments: author: Elisa [Atlassian]
body: Awesome! :)Could you please mark this question as answered. :)Have a good one!


author: Elisa [Atlassian]
body: Hi Bill,

To be able to view that feature you need to be the **space administrator**.

For more information about it, please refer to [Purging Deleted Pages](https://confluence.atlassian.com/display/AOD/Purging+Deleted+Pages).

Please let us know if this helps you. :smile:

Cheers!


Tags: cloud

confluence-cloud

delete

purge
How can I make a Jira issue link in Confluence non dynamic?
Asked by James watson:

Hi guys and gals,

I am able to create a page in confluence that displays all of my Jira data for a particular sprint. However I want to make this data non dynamic, for example when I create the page if issue 123 is outstanding if I reopen the page once 123 is completed I do not want this to be updated. I still wnat it to remain on my Confluence page as outstanding.

Does this make sense? Is it possible?

Thanks!


Answers:
author: Paul DeSousa
body: If you want it to be static one way I could imagine doing that would be to take a picture (screen capture) of the current state and simply display that.


Tags: cloud

confluence-cloud
confluence-5.5.2 Configured Mail Servers error
Asked by Dmitriy Novoselov:

There is no possibility to include TLS in new SMTP server. I want to use gmail.com,

<https://confluence.atlassian.com/pages/viewpage.action?pageId=42795030>

but me it looks quite different

confluence_mail.jpeg  
[](https://community.atlassian.com/t5/Confluence-questions/confluence-5-5-2-Configured-Mail-Servers-error/qaq-p/412972?attachment-id=12863){#link_118935abdd2850}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/69924/1/confluence_mail.jpeg){#display_118935abdd2850_0}


Answers:
author: Rodrigo Girardi Adami
body: Hi!

It seems that this functionality is bundled with the application from confluence 5.6 onwards as the documentation states. Try to install a confluence 5.6 and it should be there :smile:

Cheers,

Rodrigo


Tags: confluence-administration
license
Asked by cho inkuk:


Answers:
author: J D
body: "A license may be granted by a party ("licensor") to another party ("licensee") as an element of an agreement between those parties. A shorthand definition of a license is "an authorization (by the licensor) to use the licensed material (by the licensee)."

In particular, a license may be issued by authorities, to allow an activity that would otherwise be forbidden. It may require paying a fee and/or proving a capability. The requirement may also serve to keep the authorities informed on a type of activity, and to give them the opportunity to set conditions and limitations."

\[<http://en.wikipedia.org/wiki/License>, 11.11.2014\]

As you set the labels confluence and confluence-administrator, so [here](https://www.atlassian.com/licensing/confluence) is a FAQ for Confluence licensing.


author: Norman Abramovitz
body: You need to give more information if you really want some help.


Tags: confluence-administration
Can Confluence Questions open a new Question from an email?
Asked by Jon Webster:

I'd like to be able to setup Questions so that on receipt of an email from a member a new Question will be created.

I'd also like users to be able to answer Questions by replying to the emails they receive when a Question is opened on a topic they are watching.


Answers:
author: Bhushan Nagaraj
body: Hey Jon,

Not a feature that is currently available but there is a feature request that you might want to vote on.

<https://jira.atlassian.com/browse/CQ-530>

<https://jira.atlassian.com/browse/CQ-542>

Cheers

Bhushan


Tags: confluence-administration