youngmon/atlassian-qna huggingface dataset:
Can I create a global action
Asked by OToole:

Hi All,

I need to update fields based on a spreadsheet in confluence, since I can't find a way to trigger jira based on confluence changes, and I don't want to poll.

Is there a way to do this? I need to have the user run a script from any status and stay in that status. Like Edit or Comment

Putting in a looping transition on every status would be painful.. My best though is to create a transition to "Update WB" that is a global transition. Do the update then fast track the status change and try to use the change history to get the previous status

A global action would be much easier..


Answers:
author: Stephen Sifers
body: Hello,

We want to ensure we answer your question in full detail. With that said, we need a bit more information to do so.

When you mentioned updating fields, where do those fields live?

When you mentioned transitions, would these be Jira issue transitions or Confluence page states?

Another idea would be to have webhooks for Confluence. While this is not yet available there is a feature request to add webhooks to Confluence. If this matches your requirements we would suggest you vote and watch the feature request to get updates. That feature request is here [CONFSERVER-52487](https://jira.atlassian.com/browse/CONFSERVER-52487).

Once we have a bit more information we can starting addressing your workflow.

Regards,  
Stephen Sifers

comments: author: OToole
body: Hi Stephen, Sorry I wasn't clear. The fields I need to update are in Jira. We have an excel spreadsheet in confluence that is linked to our issue. Users input data into it and it has some formulas to calculate some key metrics we want to store in Jira. As this spreadsheet has over 600 input fields it is not a good candidate for porting into jira.

I couldn't not find a way to generate a trigger or action from confluence to run our import Code based on when a page attachment is updated.

So we thought that the user could do a manual import when he needed the fields in Jira. but they want that "import" button available for all statuses in the jira issue ( 18 statuses). And we don't want to change status when an import is done.

Since I could not find any way to do this, I have since just added a transition to each status that loops back to the same status and added our code to each as a postfunction.

Painful and tedious but it got the job done.


author: Stephen Sifers
body: Hello,

It does sound like you found a great work around to your issue. Using a transition at each status does sound like a good method (until webhooks can be introduced).

Thanks for your response and what you did for your solution!

Regards,  
Stephen Sifers


Tags: atl-adm

atlassian-marketplace

confluence-server

global

integration

jira

server
Confluence space usage - How can I know how much we have consumed already ?
Asked by Iuliana Burgi Jurj:

How can I know how much space limit we have used already on Confluence Cloud ?

I am a site admin and I performed regular backups and I see that the number of attachements is increasing on a regular basis. So I would like to know if we are reaching a red zone.


Answers:
author: Thomas Schlegel
body: Hi [@Iuliana Burgi Jurj](/t5/user/viewprofilepage/user-id/1159135)

currently, it is not possible to track your disk usage.

You can get more information here:

<https://confluence.atlassian.com/cloud/atlassian-cloud-storage-policy-873871366.html>


Tags: confluence-cloud
Can I do MULTI undo or Undo a macro step on Confluence ?
Asked by NitsanE:

1. Having lost content due to accidental marking and Macro sequence I have lost a lot of work which I would not recover on a draft paper (prior to publishing)

2. Is there a multi step multi undo is there a way to undo


Answers:
author: NitsanE
body: Hi,

Answering your question: Yes this is a brand-new page. I never publish my drafts before I complete a basic content, so I don't have a saved version of my draft.

As part of my draft intended content I typed the {S,G} string, which turned on some confluence Macro I am not interested in.

Trying to get rid off this macro I mistakenly deleted it together with two pages of other content.

Now I tried to recover those two pages by some undo operation, as I could have done had it was a WORD document, in which I would do severa UNDO operations in order to restore the lost content but confluence does not support that kind of undo.

Forget that Macro thing, I just want to be able to delete some text and somehow be able to restore that deleted portion of text like I could do with WORD or other existing editors.

Thanks,

Nitsan

comments: author: Shannon S
body: Nitsan,

Thank you for your confirmation. Confluence *does* support several undo operations in a row, provided you haven't closed the page before doing so. Once you close or save the page then it's not possible to go back in and undo your changes.

Those pages would have to have been saved in order to use the version history to restore our changes.

Can you also let me know what you mean when you say you deleted two other pages?

I assume the content you're referring to is on the one page you were editing, but if you accidentally deleted two *other* pages from Confluence, you should be able to recover them from the trash of the space they resided in.

* [Delete or Restore a Page](https://confluence.atlassian.com/doc/delete-or-restore-a-page-139429.html)

If by "two pages" you're referring to two pages *worth* of content, then it's only possible to recover via the undo feature, and only if you are still in edit mode.

For the future I would encourage frequent saves on your draft, so that you are able to use the versioning system in Confluence. If it needs to stay private before it's publicly available, you can do so using Page Restrictions.

Regards,

Shannon


author: Shannon S
body: Hi Nitsan,

Is this a brand-new page that you created that hasn't been saved yet?

I'm not clear on what you mean by the accidental marking and macro sequence, or what you refer to when you say it won't recover on a draft paper.

Could you please clarify exactly what you were trying to do and what happened precisely?

Regards,

Shannon


Tags: confluence-cloud
Roadmap planner macro broken
Asked by Aleksandr Vaizer:

Hi everyone.

When I add "Roadmap planner" macro into my confluence page - I can see and edit it. After I finish editing page and switch to View mode - I see "Error rendering macro 'roadmap' : org/apache/batik/w3c/dom/ElementTraversal" instead of my Roadmap.

Please assist with this :)


Answers:
author: Aleksandr Vaizer
body: It was self-fixed.


author: Sharief Shabodien
body: I am getting the same error message on the page where there is a Roadmap. The roadmap is visible when editing it, but when viewing the page only the error message displays. Please help, I need to use the roadmap in a presentation tomorrow! :(


author: Eduard Mayer
body: Same issue here with Confluence Cloud.


author: Javier Yepes
body: some1 from my team found this thread

<https://jira.apache.org/jira/browse/BATIK-1232>

please advise


Tags: cloud

confluence-cloud
Only the date is display in an issue screen and not the time
Asked by Yulna van den Berg:

I have to display in the issue screen underneath Dates Header :Created, Updated and Resolved the date **and the time**.

How can I do that?

Currently it is displaying "Yesterday" or only the date.


Answers:
author: Ravi Varma
body: Hi [@Yulna van den Berg](/t5/user/viewprofilepage/user-id/570202),

Please look at the following image that contains the **Dates** section of an View Issue screen

![Screen Shot 2018-11-06 at 7.47.32 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/36865iF97C27969C92ACF3/image-dimensions/264x97?v=v2 "Screen Shot 2018-11-06 at 7.47.32 PM.png")

Please note that JIRA stores the value as date and time. In fact, JIRA is intelligent enough to calculate the timestamp as 4hrs ago, Yesterday, 4 days ago.. etc.

Please share the screenshot of the issue where you see only the date and not timestamp.

Regards,

Ravi Varma

comments: author: Yulna van den Berg
body: The dates only show the number of days ago and not the date and time stamp. See screenshots.

![Jira Example 1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/36954i5CB1DDE798258127/image-size/large?v=v2&px=999 "Jira Example 1.JPG")![Jira Example 2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/36955i78B6AAC3A72351AA/image-size/large?v=v2&px=999 "Jira Example 2.JPG")


Tags: confluence-server

server
Why my javascript not working?
Asked by Adi Dagan:

Hi,

I have a JAVA script that is coloring the items by their JIRA's status.

after we upgraded the confluence, the script doesn't work anymore.

Do you know the reason?

Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: The libraries and structure of javascript being loaded in Confluence and Jira often changes with a new release.

You will need to re-write your javasscript to fit with the new systems.
Roadmap will not render
Asked by Nicky Wallace:

We've been using the macro 'roadmap' for the past couple of weeks, and it's been working fine. This morning, I'm getting the following error:

Error rendering macro 'roadmap' : org/apache/batik/w3c/dom/ElementTraversal

I'm not aware of any changes. Has anyone had this before, and what can we do to fix it?

Thank you.


Answers:
author: Shannon S
body: Hi Nicky,

It sounds like you might have been running into the following bug, which has since been fixed:

* [CONFCLOUD-64973](https://jira.atlassian.com/browse/CONFCLOUD-64973) *Roadmap Planner Macro is Not Working*

Can you just confirm if you're still having the issue?

Regards,

Shannon

comments: author: Nicky Wallace
body: Yes, it is working for us, too. Thank you!


author: Shannon S
body: Glad to hear, Nicky!

Take care,

Shannon


Tags: cloud

confluence-cloud
Too many h1 tags on published spaces
Asked by Manuel Merki:

Hello,

We start publishing our documents in confluence. When looking at the code, I've seen that confluence uses \<h1\> for the title, but also for all heading 1s.

I think it's still valid that a website should only use one or a few h1 tags for search optimisation.

It's not much a problem on large sites, but a small site with 4 headers has five \<h1\> tags on one single page with no subheaders.

Is there a way to fix that and **map "Heading 1" on the \<h2\> tag?**

Thank you for your thoughts!


Answers:
author: Bill Bailey
body: I think that the "only one h1 heading on page" for SEO is bogus, or rather leftover from earlier search algorithms -- a holdover from years ago. Google can find content wherever it is. Headings help, but more to the readers to understand the flow of content.

Take a look at this article for some background [how-important-is-h1-tag-for-seo:](https://www.searchenginejournal.com/how-important-is-h1-tag-for-seo/261547/)
> If you already have good headings, wrapping them in H1 has some effect, but it's small enough that "if it takes longer than an hour to implement H1 Tags on all pages and they already have some large descriptive text on the page then it is probably not worth the time required."

What I think is often missed in SEO is that it is the value of the content that matters, and the number of other sites linking to your content to raise its value., not "did I have x number of keywords in my H1".

comments: author: Manuel Merki
body: Hello Bill,

The page you quote says:
> wrapping them in H1 has some effect

and
> Also be careful to ensure that the H1 reinforces the point of the page, and that there is only one H1.

So why waste the potential of hundreds of sites with valuable content.


author: Bill Bailey
body: The funny thing about the article is it gives lots of evidence that it doesn't matter how many you have, just that the first one should be relevant to the content. But later, she reverts to a long-held belief that you should only have one. ;-)

This "rule" came from a time before search (and pages) were far less sophisticated. But because Google doesn't disclose their algorithms, people have adhered to old rules of thumb without really knowing it is works. Sort of like throwing salt over your shoulder for good luck: won't hurt, but probably won't help either - just makes you feel like you are doing something.


author: Fabienne Gerhard
body: Hi [@Manuel Merki](/t5/user/viewprofilepage/user-id/995186) are you working with any automation? If not - you can probably just hide Heading 1 in the editor toolbar so that this is the first option to choose.

Just an idea!


Tags: confluence-server

publish

server
Cant start
Asked by Chris Danks:

Hi

When we visit our confluence URL we get error:

##### Database: Database connection failed {#toc-hId-1258282595}

Confluence failed to establish a connection to your database.  
This could be because:

* Your database isn't running
* The configuration of your confluence.cfg.xml file is incorrect (user, password, or database URL etc.)
* There is a network issue between Confluence and your database (e.g. firewall, database doesn't allow remote access etc.)

I tried forcing an upgrade but the error still comes.

its only today we have this issue.

We use the H2 DB and not an external source like MySQL.


Answers:
author: Mirek
body: H2 DB is very problematic and not stable. If this is a production instance I suggest setting up an external database (like you mentioned for example MySQL) and use it instead. If everything was working and now it is not it is common situation that from day to day it just stop working...

I hope you have backups. If not and you would still not able to startup your instance you can try to recover, but it is not trivial. Some people create a special script to handle that. Maybe it could be useful for you or someone else

<https://gist.github.com/AlmostGosu/6220fbf8adb7f46044e4578f67f3a28e>
Error Using Confluence Roadmap Planner
Asked by Holger D?wiger:

Hi,

I'm using Confluence

### Confluence 1000.0.0-2bcb5d73e4e {#toc-hId-1651308822}

with the Confluence Roadmap Planner. Everythings works fine - but for today I'm getting an Error Message during Rendering:

Fehler beim Rendern des Makros 'roadmap': org/apache/batik/w3c/dom/ElementTraversal

(Error during Rendering the Macro 'roadmap')

The content seems to be ok. Trying to add a new Roadmap I get the same Error Message. Any hints on this?

Best

Holger


Answers:
author: Shannon S
body: Hi Holger,

It sounds like you might have run into this bug, which is since resolved:

* [CONFCLOUD-64973](https://jira.atlassian.com/browse/CONFCLOUD-64973) *Roadmap Planner Macro is Not Working*

Could you confirm if you're still having the same issue?

Regards,

Shannon


Tags: advanced-roadmaps

confluence-administration

confluence-cloud
Any plugin or macro could help control the page version?
Asked by Bonnie Tan:

As we known, confluence page will create a new version whatever being modified in the page content. Is it any plugin that can support the version managed by editor in that page?Such as one page version is 1.0.0, when someone modify something in that page, the page version still keep 1.0.0 unless editor published it to version 1.0.1. Meanwhile, the version could be named with specific rules automatically set by space admin. What's more, the page version name could be managed separately.


Answers:
author: Shannon S
body: Hi Bonnie,

I'm not too familiar with this, but perhaps [Scroll Versions](https://marketplace.atlassian.com/apps/1210818/scroll-versions-for-confluence?hosting=server&tab=overview) could help you with this?

Have a look and let us know if you have any questions!

Regards,

Shannon

comments: author: Bonnie Tan
body: Hi Shannon,

I've tried the Scroll Versions but the result is that Scroll Version only works for Space version control but not separate page version control. I'm looking for a plugin which could help to control the page version manually(To record the page change history when some document was published.)


author: Shannon S
body: Hi Bonnie,

Thank you for clarifying your needs.

There are a few other add-ons that deal with versions, perhaps they may help:

* [Versions Add-ons](https://marketplace.atlassian.com/search?product=confluence&query=page%20version)

Again I haven't used any of these in particular, so I'm not sure which ones meet your requirements. I've tagged this post with the Marketplace collection so the vendors and users of these add-ons are here to answer any questions you might have.

Regards,

Shannon


Tags: atlassian-marketplace
Code block macro doesn't highlighted new pages.
Asked by ? ??:

Tried below seq.

<br />

1. create new page and get into edit screen.

2. insert code block and choose SQL and write code.

3. click publish.

attached page screen.

![?????????? 2018-11-06 ???? 5.27.20.png](/t5/image/serverpage/image-id/36839i28B1A6E99FF9630E/image-size/large?v=v2&px=999 "?????????? 2018-11-06 ???? 5.27.20.png")

And could not found change theme, theme parameter removed?   
can not change theme anymore?


Answers:
author: Shannon S
body: Hello,

To confirm, you're referring to the fact that the SQL highlighting isn't working, correct?

Confluence [has a new editor](https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html) and this is where you are seeing those changes. At this time, only the most frequently used languages are supported. We hope to be able to release more languages as time goes on, but they're being limited now due to performance issues.

In addition, themes are not currently supported on the new editor.

You can submit your feedback regarding the new editor via the Submit feedback menu you see when clicking on your avatar in the bottom left-hand corner.

Let me know if you have any questions!

Shannon


Tags: cloud

confluence-cloud
Confluence Upgrade restore error
Asked by Leo Heo:

Hi! We are using Confluence 5.9.10 to upgrade 6.x.x

I try to restore but I got an error **java.lang.RuntimeException: Could not read fields for table AO_187CCC_SIDEBAR_LINK**

how can I restore confluence?![error.png](/t5/image/serverpage/image-id/36831iB56A84D960998B8E/image-size/large?v=v2&px=999 "error.png")


Answers:
author: AhmadDanial
body: Hi, Leo.

The error that we are seeing when the backup is restored could be due to data corruption or probably, the database in the new instance isn't properly configured. May I know if it is possible for you to rollback a step and start the setup wizard again?

* As a precaution, please backup up your current Confluence home folder and storing it on a different path.
* Delete everything under the Confluence home folder as we want to start the wizard fresh.
* Depending on the database that you are using the configure your Confluence, please set up a fresh database so we start again on a clean slate.
* Once your database is setup correctly, you can now start the setup wizard and restore the XML backup again

Please let me know how it goes on your end. Thanks.
Roadmap will not render
Asked by Niamh Connell:

I've been working on a page containing 3 roadmaps for a few datys with no issue, and suddenly instead of displaying the roadmaps when I publish I get the error

Error rendering macro 'roadmap' : org/apache/batik/w3c/dom/ElementTraversal

Can anyone help? I was about to share the roadmaps and now can't... havn't found anything online that works as yet. I've tried multiple browsers, clearing the cache.

TIA!


Answers:
author: Niamh Connell
body: aaand it's magically fixed today... hopefully permanently.


author: EugeneF
body: The same error.  
It worked fine yesterday.


Tags: cloud

confluence-cloud
how to create an anchor tag line with target=_blank in confluence links
Asked by jim mason:

how to create an anchor tag line with target="_blank" in confluence links

Confluence links syntax doesn't appear to provide a way to set the target frame.


Answers:
author: jim mason
body: Thanks Shannon but unfortunately supporting anchor tags means that the target attribute is part of that standard. I'll look for other options.


author: Shannon S
body: Hi Jim,

There's not a way to do this with Confluence Cloud by default, and it was previously requested as a feature request but is not in the upcoming roadmap:

* [CONFCLOUD-11194](https://jira.atlassian.com/browse/CONFCLOUD-11194) *Open links in new window*

I would recommend having a look at the following third party add-on, as it might provide a way for you to target how links open:

* [Marketplace - Linking for Confluence](https://marketplace.atlassian.com/apps/166/linking-for-confluence?hosting=cloud&tab=overview)

I'm not personally familiar with this add-on, but it was recommended in our feature request as an alternative.

Regards,

Shannon


Tags: cloud

confluence-cloud
Confluence Home Directory
Asked by CenturyX476:

Hello,

At the moment I have confluence installed on a single server(Self Host) and windows environment.

Is it at all possible to put the home directory on a "Mapped" network drive ? With proper permissions of course

Thanks


Answers:
author: AhmadDanial
body: Hi, Siavash.

In this case, I believe that it is possible based on the knowledge base I came across here - [Is it Possible to House Confluence or Its Home Directory on an NAS Device Instead of a Local Drive?](https://confluence.atlassian.com/confkb/is-it-possible-to-house-confluence-or-its-home-directory-on-an-nas-device-instead-of-a-local-drive-155484441.html). It involves the process of specifying the network location in `<confluence-install>/confluence/WEB-INF/classes/confluence-init.properties`  

However, please take note that there is a chance of data corruption and Atlassian does not encourage this setup. Hope that helps to answer the question you have.

comments: author: CenturyX476
body: OK,

So if it is not recommended or encouraged.  
What does one do about backups ?
How do I upload an attachment within the new meeting notes template format
Asked by Rumi Matsuyama:

The new "meeting notes template" doesn't allow me to upload an attachment on the fly and even when I upload an attachment beforehand in order to link to it from within the meeting notes, I can't select my attachment from the dropdown. It's a pain in the ass.


Answers:
author: AhmadDanial
body: Hi there, Rumi.

I would like to understand a little better on the challenge you are facing with the new Meeting Notes template. As you mentioned, it does not allow you to upload attachment on the fly. Are you referring to the usage of macro via backslash that requires you to publish the meeting notes **first** before uploading the content?

![Screen Shot 2018-11-07 at 12.43.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/36928i4799AE546A10C162/image-dimensions/501x400?v=v2 "Screen Shot 2018-11-07 at 12.43.57.png")

![Screen Shot 2018-11-07 at 12.48.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/36929i409A844C20152CD3/image-dimensions/498x211?v=v2 "Screen Shot 2018-11-07 at 12.48.08.png")

The **browse for files**only works after the notes are published. Can you please confirm on this? Thanks.


Tags: cloud

confluence-cloud