youngmon/atlassian-qna huggingface dataset:
Team Calendar View
Asked by Greg Baran:

I am using team calendars, and I was wondering if there is a way to make the calendar to appear with Sunday as the first day of the week. The current view has Monday as the first day of the week and that is causing some confusion.

Thank you.


Answers:
author: Sherif Mansour
body: What Greg said, we shipped this feature in Team Calendars 2.6: <https://confluence.atlassian.com/display/TEAMCAL/Team+Calendars+2.6+Release+Notes>


author: Greg Baran
body: Additionally, Confluence administrators can manage the Team Calendars plugin and select the day of the week to start the calendar. This is a global setting and will apply to all users.


author: Greg Baran
body: After some additional research, I have found the answer on the Confluence Website.

Language setting can be changed by the user. If the language US English is selected, the Calendar should start the week with a Sunday.

To read the full description from Atlassian, please refer to documenation found here:

<https://confluence.atlassian.com/display/TEAMCAL/Team+Calendars+FAQ#TeamCalendarsFAQ-CanIchangethestartingdayoftheweek?>


Tags: team

team-calendars-for-confluence
Ad hoc workflow send-email pagerejected
Asked by Steven Cardinal:

Since the ad hoc workflow support page gets so little activity and a bunch of people here likely use their plugin, I'm going to take a shot and ask the question here.

I'm trying to get an email generated when a page is rejected. All other aspects of my workflow are working as desired (email notifications for page approvals, ie. trigger:statechanged are being sent and received just fine). I followed the example as closely as I could for my scenario, but I received no email. My trigger looks like this:

{trigger:pagerejected\|approval=@techlead@}

{send-email:user=@Author@\|subject=Page has been rejected by Tech Lead}

The page @page@ has been rejected by \[\~@user@\]

{pageactivity}

{send-email}

{trigger}

The @techlead@ variable is working in other parts of the workflow and is an authorized approver.

The @Author@ is set with a {set-metadata:Author}@user@{set-metadata} in the first state and is working for other triggers.

Also, the {pageactivity} macro does not appear to work, even though it is included in the example in the documentation. Not sure why.

Any thoughts as to what I'm doing wrong?


Answers:
author: Steven Cardinal
body: Turns out the examples in the online documentation uses a user named Editor in Chief (referenced by @Editor in Chief@) and an approval called Editor in Chief. That caused the confusion. I was unclear what the "approval" parameter was doing - it looked like just a title for the comments window. Seems it is a little bit more.
Notifications don't load - confluence 4.3.7 for IE9
Asked by donna reynolds:

I saw a similar question for IE8 with the workaround to not use compatibility view.

I can't get this to work in IE9 -- what other settings do I need to check?


Answers:
author: LuizA
body: Hello Donna,

Initially I would suggest you to perform the changes related with the browser itself, as you mentioned about the compatibility view, some of our users that experienced this problem performed the following:

\* under Tools-\>Compatibility View Settings and then uncheck "Display intranet sites in Compatibility View"

Another workaround that some customers reported would be to access the confluence instance using the IP address of the server, for example:

\* 172.168.110.3:8090 instead of the server name (e.g. [http://confluence.yourcompany.com:8090](http://confluence.yourcompany.com:8090)))

And another suggestion if none of the above help, would to rebuild your content indexes from the scratch by the following:

1- Shut down your Confluence server;

2- Make a backup of your \<confluence-home\>/index/plugin directory if it exists. This is where the Usage Tracking plugin stores it's index for the usage statistics and it cannot be rebuilt.

3- Remove the \<confluence-home\>/index directory.

5- If in step 2, you have the \<confluence-home\>/index/plugin directory, create the \<confluence-home\>/index directory and copy in the backup of \<confluence-home\>/index/plugin directory made in step 2.

6- Restart server - A new index directory will be created upon restart of your application.

7- Now perform the manual re-indexing (<https://confluence.atlassian.com/display/DOC/Content+Index+Administration#ContentIndexAdministration-RebuildingtheContentIndexes>) of your site to build a brand new index from scratch.

Then try to access the notifications and see how it goes. I hope this helps.

Kind Regards,

LJ.

comments: author: donna reynolds
body: The First 2 suggestions did not work.

I need IT to do the remaining work and haven't got them yet to commit to this activity.
Confluence: Check Boxes
Asked by Tanner Campbell:

Hi Atlassian folk,

I have what I hope is an easily answered set of questions:

When using check boxes on a page, I notice that when you print the page (after checking some or all of the boxes) checked items print out gray - I assume to signify that they are done. However the actual check mark does not appear. Is there a way to make the check mark appear AND/OR is there a way to change the grey color of completed items to red? *(changing the color is very preferred)*


Answers:
author: Gary
body: Hi Tanner,

Currently, neither of these is possible. However, I did create a few improvement requests for Confluence:

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

[https://jira.atlassian.com/browse/CONF-29532](https://jira.atlassian.com/browse/CONF-29532?jql=text%20~%20%22print%20check%20box%22)

Please feel free to vote on them, and/or add any additional feedback.

Cheers,

Gary

comments: author: Matthew Perreault
body: As I am typing this, there seems to be a glitch to force the text color to stay the color it was before checking the box. The sequence to force it I believe is this. It seems to be putting a space in before typing after the checkbox. So you have your text, you change your text to lets say red, you create the check box for the line. You check the check box and it all turns grey. If you put a space in before the line and ONLY change the color of the text, NOT selecting the proceeding space, it seems to keep the text the original color.


author: Matthew Perreault
body: It also seems that you can split the line so that half will remain the original color and the other half can turn grey. But I am thinking only if the line was originally turning all grey before. You would just highlight the text, minus the preceding space change the color to red.


Tags: confluence-cloud

cloud
How add html-attr. 'id' in Source Editor
Asked by Bronislav Essikman:

\<table**id="tableId"**\>content\</table\>

if i put one and press apply, id is not saved.


Answers:
author: Stephen M
body: Sorry to bring up such an old thread but I am trying to do much the same as "Bron" was and I would be happy to use the div macro but I need to use the "confluence table" so the users do not have to enter data in raw HTML table. It is not clear to me how I would wrap the "confluence table" in the div tags? Can someone explain how that would be done?


author: Bronislav Essikman
body: I have a macro, that calculate table values like Excel, for example SUM(C2:C5). Macro saves table values in array und makes the calculation. As macro parameter may be used table id. Table will be selected by jsoupSelector "table#tableId". Surround with \<div id="tableContainerId"\> is als solution possible, but insert id directly in source editor is a better way.

It's possible select HTML-Element instead of Jsoup with com.atlassian.confluence.xhtml.api.XhtmlContent??


author: Mirko Skramusky
body: Hi!

What do you want to do with this id? If it's enough to encapsulate your html in another (e.g.) \<div\>-tag with an id, you can use a surrounding usermacro.


Tags: editor
Change "New Blog Post" to another title
Asked by ITops123:

When you create a new blog post, the pre-filled language in the blog post title field is "New Blog Post."

We are using this functionality in a different way and would like to change "New Blog Post" to "Ask a Question" or something similar.

How do I do that?


Answers:
author: Sean King
body: Probably easier to add some jQuery to the CustomHTML area of the admin console that swaps the default text inside the input for the text you want.


author: Niraj Bhawnani
body: One way to do this is to create a custom language pack based on the English language pack. You can go to [translations.atlassian.com](http://translations.atlassian.com/) and download the English language jar for your version of Confluence, and then unzip it and edit the com/atlassian/confluence/core/ConfluenceActionSupport_en_US.properties file to have the text you would like and then zip the contents up again into a jar file and upload that to Confluence.

comments: author: ITops123
body: Wow! I will definitely try this


Tags: blog
nested wiki-markup macros not converted to native (xhtml)
Asked by Gavin Fowler:

I have recently upgraded a 3rd party plugin (Bob Swift's SQL Plugin version 5.2.0) on our confluence 4.3.7 installation. The plugin macros prior to upgrade only worked within the bundled wiki-markup macro, the expectation was that after the upgrade these macro's would be migrated/converted to the native (xhtml) macro format.

Following the plugin upgrade we observed the macro xhtml migration was only partially successful. It appears that the xhtml auto migration works when the macro (in our instance sql-query) is not nested within other macros, and appears to fail (or possibly not considered for migration?) when the macro is nested within other macros.

See attached image for a visual example

As you can see (in the image) the top two sql-query macros that have been converted into xhtml, the third, which is encapsulated by the Cache, Section, Column and Chart macro fails to convert and can be seen as it's still encapsulated my the wiki-markup macro. In my Confluence instance I see other examples where the xhtml migration has failed and the macro is only encapsulated by one other macro (not four like in this example).

Our assumption is that the automated process(es) to migrate macros to xhtml format are failing to consider these macros are valid for migration when they are encapsulated within other macros. I raised this question directly with Bob Swift and he suggested opening a support ticket (we acknowledged that when the macros are not nested they migrate correctly).

NOTE: I can manually add an upgraded macro (xhtml) anywhere within the page (included nested levels) without an issue.

Many thanks for your support,

<br />


Answers:
author: Alejandro Conde Carrillo
body: Hi Gavin.

As explained in the support case. I could not reproduce the problem with any of the embeded macros even with more nested macros. I suspect the problem is caused by the SQL plugin. May be Bob Swift can give us some feedback on this.


author: Gavin Fowler
body: Uploaded Image:


author: Gavin Fowler
body: attached image!

![](../../upfiles/sqlplugin-auto-xhtml-migration-partially-working_5.png)


author: Gavin Fowler
body: Uploaded Image:


Tags: macro

migration

xhtml
Upgrading from 2.5 to 2.7.4 getting ERROR: relation "keystore" does not exist .
Asked by jyoti ck:

When i am trying to upgrade confluence from 2.5 to 2.7.4 , i am getting the following error :

Hibernate operation: Could not execute query; bad SQL grammar \[\]; nested exception is java.sql.SQLException: ERROR: relation "keystore" does not exist


Answers:
author: Bruna Griebeler
body: This problem regarding the KEYSTORE table is usually related to the build number of the version you are running.

Please check the workaround on this documentation: <https://jira.atlassian.com/browse/CONF-10759>

Hope it helps!!

comments: author: jyoti ck
body: Thanks Bruna.. I have created keystore table in database.

Now i am facing withthe following errors:

Database is being updated by an instance which is not part of the current cluster

and

org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
Require at least one label when adding a new page
Asked by IT Team AG Solution:

I have a question for confluence

When i create a new page, I want to set it up that you require to give at least one label before the page can be saved. is this possible ?


Answers:
author: Daniel Borcherding
body: Pieter,

There is no way that I know that you could acheive this functionality with the Default Confluence UI. This is likely going to require a plugin of some sort. This post is a great way of getting visibility in the community. I might also suggest that you take a look at our [experts](http://www.atlassian.com/resources/experts) page. These are third party developers who have a wealth of knowledge in dealing with Atlassian products. They would be happy tohelp you with the custom functionality you are looking for


author: Matthew J. Horn
body: I'd be very interested in knowing if you find a solution. This is functionality I'd love to have for my documentation site.


Tags: label
[CONFLUENCE] How can I remove empty whitespace / paragraph tags?
Asked by Steve Goldberg:

One common problem with Confluence is that it frequently generates phanatom white space above and below elements such as macros, tables, images, etc. Removing them can be an impossible task. How can you do it?


Answers:
author: Steve Goldberg
body: The answer to this is to use jQuery. Place the following JavaScript in the "At end of the BODY" section of your Custom HTML (this is not possible AFAIK with Confluence OnDemand).

```
&lt;script type="text/javascript"&gt;jQuery('p').each(function() {    var $this = $(this);    if($this.html().replace(/\s|&amp;nbsp;/g, '').length == 0)        $this.remove();});&lt;/script&gt;
```

Full credit for this script goes to "ruslyrossi" on StackOverflow (<http://stackoverflow.com/questions/10225967/remove-p-nbsp-p-with-jquery-if-no-value>).

comments: author: Anindita
body: Where exactly do I need to put this code? I am already using a set of code for PDF export. so, Please suggest.

Thanks!


author: Ryan Leonard
body: Hi Anindita,

This solution leverages the "At end of the body" feature that places custom HTML/Javascript code at the end of every Confluence page.

* Go to Confluence Administration
* Select Custom HTML on the left panel, under the Look and Feel section
* On the "At end of the body" box, insert the code


author: Kipland Iles
body: For Confluence Cloud I found that if you position your cursor immediately to the left of a macro while editing, a single vertical line will appear. If you hit the backspace (delete) key then that space will go away briefly and then reappear. If you do that for all macros on the page then the \<p\>\<br\>\</p\> will no longer be inline between the macros after saving/publishing.

comments: author: Volodymyr Volkov
body: Thank you so much, man!

You can't imagine how long I was fighting with that extra space until I noticed your comment.


author: Jonathan Sabah
body: This is such a tedious process... I wish Atlassian did not introduce them in the first place.


author: Kipland Iles
body: I had hoped that it would no longer be an issue with the new editing experience but seems to still be there. I do most of my docs in Google Docs now anyway but still need to use Confluence for the JSD KB Articles. Maybe it gets fixed on the next UX release.

Agreed - it is tedious and should be unnecessary.


author: Saranya Murthy
body: Thanks very much, [@Kipland Iles](/t5/user/viewprofilepage/user-id/641368) . Like Volodymyr, I had also been struggling with this for a long time and am pleased to have your solution.


author: Keith Bloomfield
body: Instead of pressing Enter for a new line, press Shift + Enter.

I know this doesn't solve the bulk case already sorted for those w/admin rights, but I was led here after Googling the "edit a page" case where annoying whitespace appears in undesired places.


author: Jameel Harris
body: ```
<script>AJS.toInit(function() {   AJS.$("document").ready(function() {     AJS.$("br").remove();   }); });</script>
```


Tags: paragraph

whitespace
The fate of wiki in confluence
Asked by andrey dmitriev:

Is wiki dead?

We attempted to upgrade our confluence from 3.5.16 to 4.x and the majority of our customizations broke to the point that we abandoned the upgrade and hoped Atlassian would come to its senses.

We rely heavility on Run, Aql, CustomWare plugins (Reporting, Scaffolding), "create page from a template", "edit-include" to display dynamic content from multiple datasources (in confluence and outside), and edit that code in wiki mode, and the disappearance of editing wiki directly was a big surprise (too bad Atlassian ignored my plea in their survey to not taking ability to remain being power users).

So while my question may read like a rant, it remains a question. Has atlassian made it any easier to work with power plugins?

Thanks,


Answers:
author: Daniel Borcherding
body: Hello,

We have the following blog post that details Atlassian's choice to move from wiki markup to xhtml based storage.

<http://blogs.atlassian.com/2011/11/why-we-removed-wiki-markup-editor-in-confluence-4/>

You can still insert wikimarkup from the Insert \>Wikimarkup menu in the new Rich Text Editor. We understand that this change is less than favorable among companies that use wiki markup extensively. As the blog points out it was a business decision to make out product easier to use to a wide range of customers.

We did introduce the [Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor) plugin for users that need a high degree of control over their content.

All of the plugins you mention have a 4.x cognate available in our [marketplace](https://marketplace.atlassian.com/). I am not quite sure what the AQL plugin is but there are a number of plugins available there that may fill you need.

Please let us know if this covers you need. I am happy to try to work though any issues you may have with this process.


author: Bob Swift (personal)
body: Your power users can always continue to use wiki markup in places where it is important using the [Wiki Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/CWP)


Tags: customware

sql
How do I redirect users from personal space to profile
Asked by Jahsie:

I want users to automatically go to a user's profile instead of their personal space, when anyone clicks on their name.

It seems like the following options are

1. Delete all personal spaces (not good)
2. Render profil on home page of all personal spaces (lots of work)
3. Figure out if their is a 3rd party solution.
4. Find a setting to make this the default.

I am pretty sure I can do 1 and 2. But is their a 3rd party solution or configuration I am missing?


Answers:
author: Mark Hrynczak
body: In Confluence 5.0 ([release imminent](https://confluence.atlassian.com/display/DOC/Confluence+5.0-rc1+Release+Notes)) this will be the default behaviour.

Is upgrading to 5.0 an option for you?

comments: author: Jahsie
body: Thanks Matthew, I was looking for something a bit less technical, I am glad 5.0 has the behaviour. In the interim, probably won't upgrade to 5.0 till the summer, I am planning on providing redirect on the user's personal space home.


author: Matthew J. Horn
body: Another option:

5) Use a server side redirect. I've done this for a couple of patterns that change the behavior of some actions in Confluence and it's worked very well.

If you're using Apache as, say, a proxy, then you would use mod_rewrite.


Tags: profile

space

user
Problem with hyperlinks in the PDF.
Asked by David Adair:

After exporting the Confluence space to pdf, the hyperlinks in the pdf still link to the wiki rather than to the pdf. Is there a way to overcome this?


Answers:
author: Steffen Heller
body: I suppose you are having the same problem as described at [https://answers.atlassian.com/questions/109133/problem-with-anchor-hyperlinks-after-upgrade-from-3-x-to-4-3-2](/questions/109133/problem-with-anchor-hyperlinks-after-upgrade-from-3-x-to-4-3-2)

Steffen

comments: author: David Adair
body: Looks like I will have to edit every link to eliminate the anchor reference and use the page reference.
Any alternative to the reporting plugin for confluence
Asked by Julio Mugabe:

Does anyone know of an alternative to the reporting plugin for Confluence. After upgrading Confluence from 3.5.16 to 4.3.2 we have experienced some issues with this plugin, we have reported them to the vendor but no fixes yet and may take long to fix. We would like to explore other plugins if any that offer the same functionality.


Answers:
author: LuizA
body: Hello There,

Actually with the functionality of reporting we have the following plugins for Confluence:

Content Survey and Reporting plugin - <https://marketplace.atlassian.com/plugins/confluence.plugins.knowledgebase.survey>

SQL plugin - <https://marketplace.atlassian.com/plugins/org.swift.confluence.sql>

Hope this helps.

Kind Regards,

LJ.

comments: author: Julio Mugabe
body: Thanks Luiz..

I have not tried out the "Content Survey and Reporting plugin", looks like it will do want I want.

Cheers..


Tags: report
Why can't I move issues to lower sprints?
Asked by John Titley:

I have no problem moving issues from Backlog or from a lower sprint to a higher sprint, but I can't seem to move them downwards. Anyone got any ideas?


Answers:
author: Grzegorz Dlugoszewski
body: Hey.

Here's the answer: <https://confluence.atlassian.com/display/GH/Removing+an+Issue+from+a+Sprint>

Cheers!

comments: author: John Titley
body: Cheers, thanks for that... you've ended many hours of frustration


author: Grzegorz Dlugoszewski
body: Thanks :) Could you mark my answer as correct then?


author: John Titley
body: done (sorry, never done this before)


Tags: cloud

jira-software-cloud
Confluence Jira Issues double regional settings
Asked by KPAH:

Hi,

An issue in Jira has two fields, which go to the search xml like this:

```
&lt;due&gt;Sun, 21 Apr 2013 00:00:00 +0400&lt;/due&gt;&lt;customfieldname&gt;Start Date&lt;/customfieldname&gt;&lt;customfieldvalues&gt;&lt;customfieldvalue&gt;Fri, 7 Dec 2012 00:00:00 +0400&lt;/customfieldvalue&gt;&lt;/customfieldvalues&gt;
```

However, when I use the exatcly same link for Jira Issues macro parameter, the table that it renders has these dates presented using different regional settings, English and Russian:

```
Start Date	Due07/???/12	Apr 21, 2013
```

How is this even possible? How to correct that?

Thanks


Answers:
author: KPAH
body: No one cares.


author: RianA
body: Hi,

Please check the language settings in Confluence whether it's in English. Also, please do check the locale settings of the Confluence server machine, whether it's in English or in russian. As you might be affecting by this [bug](https://jira.atlassian.com/browse/CONF-7473)

Hope it helps

comments: author: KPAH
body: Thanks for your reply. I'm almost sure the locale is different from settings.

The question I have is I'm not sure why one date (for system field DUE) is in one format and locale, and the other (for custom field) is in another locale. Shouldn't they be rendered according one way?

I found these descrepancies, don't know if they relate:

\\atlassian-jira\\WEB-INF\\classes\\templates\\plugins\\fields\\view\\view-date.vm

\<span title="$dateFieldFormat.format($value)"\>\<time datetime="$iso8601Formatter.format($value)"\>$dateFieldFormat.format($value)\</time\>\</span\>

\\atlassian-jira\\WEB-INF\\classes\\templates\\plugins\\fields\\view\\view-datetime.vm

\<span title="$titleFormatter.format($value)"\>\<time datetime="$iso8601Formatter.format($value)"\>$datePickerFormatter.format($value)\</time\>\</span\>


Tags: date