youngmon/atlassian-qna huggingface dataset:
How to display the date and time of access to a confluence page?
Asked by Edgardo Roman:

I imagine that this would be a common and easy question. But I cannot find a straight answer anywhere in the web (that including confluence knowledge base). I just need to find a way to display the current date (at a minimum) and the current time at the moment the page is loaded for viewing. It is not a requirement to be refreshing all the time. Just at the moment of access. I am not an confluence admin, only admin my organizations' space. So the solution should be at that level.

Thank you.


Answers:
author: Edgardo Roman
body: Some of my customers care.

If the page is a source of a report that the like to have in their hands (shock, some still like paper!) y it is useful to know when it was generated. Specially, if your page refreshes based on Jira macros (that looks at Jira issue fields that can change).

So to that effect, is there a way a pdf export date / time can be inserted in the page?


author: Dominic Lagger
body: I agree with [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) .

A good option would be a user macro, but since you are not the confluence administrator, you won't have access to write a user macro.

Perhaps you can contact your confluence administrator and suggest him to write a user macro for you.

Regards, Dominic


author: Nic Brough -Adaptavist-
body: I think you should be able to write a "user macro" that simply displays "now date and time" when it is rendered. It'll be accurate to a few seconds and stay displayed until the next refresh.

I suspect you found nothing about this because no-one really cares when they open a web page. I visit hundreds of pages a day nowadays, and would have a very long internet history if I didn't clear it (dating back a while before we even had browsers), and I've never had a need to think about when I opened any of them.


Tags: confluence-server

date

server

time
Confluence attachment restore
Asked by Anderson Hsu:

Dear all,

When deleted wrong attachment, would it be possible to restore it at trash? I try it, but I can not find the attachments in trash.


Answers:
author: repi
body: Yes, deleted attachments go to the trash.

It is always the trash of the respective space in which the attachment was originally.

comments: author: Anderson Hsu
body: The trash content is different by account or not, because I can not find it in trash by administrator account.


author: repi
body: As an administrator, you have access to all trash content.  
Has trash content already been deleted?


author: Anderson Hsu
body: I think at confluence 4.2.3, when deleted attachments, it will not be located in trash.

But I try at confluence 6.0.2 when deleted attachments, it will be located in trash.

Do you know which version have the function for trash in attachments?

Thanks for your kindly assistance.

Regards, Hsu Yao Chang


author: repi
body: No, unfortunately I cannot answer that.  
Please contact Atlassian Confluence Support!


author: Anderson Hsu
body: Would it be possible to get file in real path of confluence server? Thanks a lot.


author: Italo Qualisoni [e-Core]
body: This has been implemented in Confluence 5.8 and it cannot be at the version you are today.
Create from template not working
Asked by manoj.abraham:

Hello community.

When I try to create a new page based on a specific template (in this case, Product Requirements), the editor shows me a blank page (i.e., the same interface I would get if I chose the blank page option when creating a new page).

I checked my template settings and the Product Requirements template is indeed there, correct, and enabled. I tried toggling the template's enabled status off and on again, but that didn't change anything either.

Creating a new page from this specific template worked a couple of days ago.

I have no idea how to proceed. Any suggestions?

Thank you.


Answers:
author: Michael Lopez
body: I am experiencing the same issue. I thought this template is a standard template that comes with Confluence as I have used this template in multiple project spaces and Confluence instances. I was recently given access to my clients Confluence site and am receiving the same results as described in the post when creating a new page from Product Requirements template.


author: Dominic Lagger
body: Hi [@manoj.abraham](/t5/user/viewprofilepage/user-id/3570251)

I'm having the same issue. I found an open bug:

* [CONFCLOUD-69875](https://jira.atlassian.com/browse/CONFCLOUD-69875)

Feel free to vote for this issue.

For me, the workaround as described didn't work. Try to reload the page.

Perhaps, you could copy the content from the "Project Requirements" template and create your own one.

Regards, Dominic

comments: author: Dominic Lagger
body: I just found out, that you can add a page title, save the page. Then the content is there and you can edit the page again with the content. This sould be a working workaround.


author: John H
body: This workaround worked for me.


author: Bernie
body: This worked for me.


Tags: cloud
Is there a way to increase the number of Jira issues that a confiform can create?
Asked by Brian Karst:

I seem to have come to a threshold of 64 (When I need 86). After submission and some time passes I get the error: "Operation has failed. Error communicating with the server. Gateway Time-out (error). Please check Confluence server logs for more details." Looking into the project, I see that 64 of my 86 issues were created even though the error doesn't tell you that.


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Are you attempting to create 86 issues in Jira on ConfiForms form submit!?

ConfiForms has a limit of 200 IFTTTs per request / submission (which is really a lot and should never be exceeded or be even close).

If you exceed that then it will fail to process any other IFTTTs.

What happens in your case is like the timeout between front end server and Confluence (as it is running a very long and time consuming task)

Alex

comments: author: Brian Karst
body: Yes Alex I am. Technically I am creating 1 issue, pulling the key out and creating 85 sub tasks for that issue. The 200 IFTTTs limit is not a limit in the form/page is it? A little more detail into what I have been tasked to do, and knowing that my knowledge in Confluence, Jira, and ConfiForms could be termed barbaric. ie. there is 0 elegance to how I am accomplishing it I am sure.

We are exploring ways to utilize Confluence/Jira and are utilizing the "ticketing" nature of Jira and are going to utilize it to track the development of our people and others within our organization. I am looking at 7 different development programs with up to 85 items to be completed. Which will far exceed 200 IFTTTs in the form, but never that many submitted at once.

So far I have the ConfiForm submitting all the information without errors (finally, that was brutal) It creates the Parent Issue depending upon the entry category and creates 63 of the 85 sub tasks and I receive the error. Which I believe to be correct, it is a timeout error, even though only 15-20 seconds elapse; if it just gave it 30 seconds. Is there anything you would recommend other than finding someone who can look into gateway timing for me?


author: Alex Medved _ConfiForms_
body: ConfiForms has a 180 seconds timeout for the form submission

This cannot be changed (and in our opinion that should not be ever exceeded). The form shall submit in 2-5 seconds for good usability. If you form takes longer to submit it starts to feel like something is broken

I dont really know why there is a need to do what you do and cannot comment on that, but what you describe sounds like a timeout between app server and confluence.


author: Brian Karst
body: Alex, in case you would like to know, it was throwing a bad error. There was an extra quotation mark on a field in the JSON of the IFTTT it was failing at. Also, it takes approximately 2 minutes for the 86 issues to be created


author: Alex Medved _ConfiForms_
body: You should be using *escapeJSON* virtual function on all the fields that may contain characters that can break the JSON mapping


Tags: confiforms

confluence-server

jira

server
Is there a way to render a dynamic status macro in a Jira/Issue Filter macro
Asked by William_Griffin:

We have different statuses that we track like Risk status. This could be "Risk Identified", "Risk Confirmed", "High Risk", "Low Risk", etc. Based on JQL, we render the Jira Issue Filter results in a confluence page for the project/steerco page as appropriate.

I've created a scripted field to return html and can return color text that renders. The status macro would look much nicer.  

Any ideas on if/how this can be done?

Bill


Answers:
author: Fabian Lim
body: Hi William,

Unfortunately, I don't think it's possible to do that within the JIra/Issue Filter macro. You could submit a feature request here: <https://jira.atlassian.com/>

Thanks.


Tags: confluence-server

jira

macro

server
Why is my Gantt chart not showing the JIRA ticket names?
Asked by mattdarwin:

I have discovered the handy Gantt chart macro, and am trying to use it to track various tasks, some of which are JIRA tickets.

Here's an extract from the table of tasks in the macro:

![Screen Shot 2020-04-24 at 14.16.12.png](https://community.atlassian.com/t5/image/serverpage/image-id/92048i7DD949CC9D472EFF/image-size/large?v=v2&px=999 "Screen Shot 2020-04-24 at 14.16.12.png")

And here's how it is rendered :

![Screen Shot 2020-04-24 at 14.16.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/92049i915D797C2BF0738E/image-size/large?v=v2&px=999 "Screen Shot 2020-04-24 at 14.16.02.png")

As you can see, the ticket descriptions look great in the table, but are illegible in the actual chart.

We are using Confluence 6.13.4

Any ideas?


Answers:
author: Natalie Paramonova [Stiltsoft]
body: Hi [@mattdarwin](/t5/user/viewprofilepage/user-id/343104) ,

As I can see, you use the default Chart macro. This macro receives and displays only the issue key.

In case you use the [Chart from Table](https://docs.stiltsoft.com/display/TFAC/How+to+use+Chart+from+Table+macro?utm_source=community) macro (the [Gantt chart type](https://docs.stiltsoft.com/display/TFAC/Gantt+chart+type?utm_source=community)), you'll see the whole label:

![2020-04-24_17h35_00.png](https://community.atlassian.com/t5/image/serverpage/image-id/92063iB451658552BB8CF8/image-dimensions/671x256?v=v2 "2020-04-24_17h35_00.png")

comments: author: mattdarwin
body: thanks for your suggestion. I tried that macro, and it looked even worse:

![Screen Shot 2020-05-05 at 11.11.04.png](https://community.atlassian.com/t5/image/serverpage/image-id/93468i798DDA2219C3F977/image-size/large?v=v2&px=999 "Screen Shot 2020-05-05 at 11.11.04.png")


author: Natalie Paramonova [Stiltsoft]
body: Hi [@mattdarwin](/t5/user/viewprofilepage/user-id/343104) ,

For a better view, you can try to split the column and display issue summaries as a description on the bars:

1. Use the following macro combination:

![2020-05-05_16h00_24.png](https://community.atlassian.com/t5/image/serverpage/image-id/93483i6DEC98B98EA9FF00/image-dimensions/648x214?v=v2 "2020-05-05_16h00_24.png")

2. Try the following SQL query:

SELECT T1.'Task'-\>split(" - ")-\>0 AS 'Task',  
T1.'Task'-\>split(" - ")-\>1 AS 'Description',  
T1.'Start date',  
T1.'End date',  
T1.'Completed'  
FROM T\*

![2020-05-05_16h00_44.png](https://community.atlassian.com/t5/image/serverpage/image-id/93482i8E41A9D790763BD0/image-dimensions/649x353?v=v2 "2020-05-05_16h00_44.png")

3. Configure the Chart from Table macro:

![2020-05-05_15h59_42.png](https://community.atlassian.com/t5/image/serverpage/image-id/93484iB3F2F28332C6F995/image-dimensions/663x299?v=v2 "2020-05-05_15h59_42.png")


Tags: confluence-server

server
Create a custom Button on the Confluence Header
Asked by fkoehn:

Hey all!

i'm trying to create a new custom Button to create a blogpost in whatever space the user is currently visiting.

I have found:

    <script>AJS.toInit(function(){    AJS.$('.aui-header-primary .aui-nav').append('<li><a href="http://www.atlassian.com" class=" aui-nav-imagelink">Atlassian</a></li>');});</script>

wich does create a Button with a Link to Atlassian but what i try to reach is:

/pages/createblogpost.action?spaceKey=AJS.params.spaceKey

AJS.params.spaceKey is the Javascript part that gets the SpaceKey.

How can i combine the HTML href command with the Javascript ?

Thanks in advance


Answers:
author: Dominic Lagger
body: Hi [@fkoehn](/t5/user/viewprofilepage/user-id/3884364)

You almost gave yourself the answer :)

You have to concatenate the spacekey and the link:

```
<script>
AJS.toInit(function(){
AJS.$('.aui-header-primary .aui-nav').append('<li><a href="/pages/createblogpost.action?spaceKey='+AJS.params.spaceKey+'" class=" aui-nav-imagelink">Create Blog Post</a></li>');
});
</script>
```

Regards, Dominic

comments: author: fkoehn
body: Hey [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600)

I had the same exact answer figured out but i had to reload the page once to actually reach the site to create Blogposts. your Code works though.

Trying to figure out why now.

Thank you very much!


author: Michelle Rau HP
body: [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600) this is exciting, I was able to use this to add a "button" to a space header that creates a page from a specific template. Awesome!


Tags: confluence-server

server
Transform an url link in Confluence to an issue (Ticket)
Asked by fabrice:

Hi Guys,

I would like to know, how to transform a url link to bug issue.

Example :

- Transform this link <https://jira.worldline.com/browse/FPLBNPMCHB-9284>

TO

- Issue

![Issue.PNG](/t5/image/serverpage/image-id/92009iA3A90DDC4FFC0D3B/image-size/large?v=v2&px=999 "Issue.PNG")

Fabrice


Answers:
author: Manon Soubies-Camy
body: Hi [@fabrice](/t5/user/viewprofilepage/user-id/3818315) and welcome to Community!

This is a public forum so you may want to remove your Jira URL from your post :)

Here are a few things you can check:

1. Try to do it from several different browsers - I know there used to be an issue with Chrome a few months ago.
2. Check the application link for the Jira server, and ensure that the connection URL is the same as the application URL.
3. Verify if all users are experiencing this, across all browsers.

Hope this helps,

- Manon

comments: author: fabrice
body: Hi Manon,

Thanks for your answer. I resolved my problem.

Regards

Fabrice


Tags: cloud
Create a new space, i am the only user but not an admin, when i select "people" it shows wrong space
Asked by Esther Groenestein:

So, I am part of a confluence project from a client. which has multiple people, i am an admin in this space.

Now i created my own confluence project (free max 5 users) same email address.   
Within my own there are 0 spaces and 0 pages, this is logic, how ever when i try to create some it states I need to ask the admin for permission (I am the only user and owner).

When i navigate to "people" it shows the people of the other confluence space (this btw is a serious bug). When i select "contact admin" it states the admin didn't leave an email so i can't contact them.

Conclusion of current state: New confluence is un-usable as i can't create anything.


Answers:
author: Jack Brickey
body: Hi [@Esther Groenestein](/t5/user/viewprofilepage/user-id/3884315) ,

I realize this is very old post and I am hopeful that you resolved this issue. If not could you please update this post with what you were experiencing? I am rather confused by your original post I would like to assist if possible.


Tags: cloud
Use the new editor in cloud in hosted environment
Asked by Nicco_Borgioli:

At work we use Atlassian Cloud and the new editor is basically my favorite thing ever. now yesterday I installed confluence on my own server to test it out. But it's still the old editor. Is there any way to get the new editor on the self hosted versions?


Answers:
author: Manon Soubies-Camy
body: Hi [@Nicco_Borgioli](/t5/user/viewprofilepage/user-id/3884331) and welcome to Community!

You can't get the new editor on Confluence Server, but you can use Confluence Cloud for free (up to 10 users): [Confluence Cloud Free](https://www.atlassian.com/try/cloud/signup?bundle=confluence&edition=free)

Hope this helps,

- Manon

comments: author: Nicco_Borgioli
body: Thats a bummer :/ Are there any plans of trickling down cloud features into the server build? (maybe in the next version or something)


author: Nicco_Borgioli
body: Thanks for the quick reply :)


Tags: confluence-cloud

editor

server
Confluence version 7.2 crashing on startup during machine boot.
Asked by Rosie:

We startup our machine every morning. It is a Linux host running Confluence 7.2

Some mornings, the confluence process is not running. It appears to have crashed (ps -ef \| grep java --- shows no process). There is no sign in any log files of why this is or what has happened to the java JVM process. We can see from standard log files that the process is starting up to the point of:

catalina.out

24-Apr-2020 06:46:35.445 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'  
2020-04-24 06:46:36,787 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 7.2.0 \[build 8401 based on commit hash 912a577971fe711d4a876d9130277d03b009a0bf\] - synchrony version 3.1.0-master-0f086db5

There are no further logs. The process is not running.

Restarting confluence always works first time.

Why is this happening? Any pointers of how to debug this?

Thank you


Answers:
author: repi
body: Could the Confluence process be started too early? Maybe certain system processes (network, database ...) are not yet 100% up and running?

What is used systemd or init.d

comments: author: Rosie
body: Hi,

Thank you for the response.

This is something we are investigating. We are fairly certain it is coming up okay. However, we do use the network DHCP which may be causing an issue.


Tags: cloud
Auto create JSD ticket directly from Confluence
Asked by Stefan Minnaar:

Hi,

We are doing change control requirements documents in confluence, which will be approved by a number of stakeholders. Once approved, a JSD ticket must be opened for the change control process.

Is there any way i can auto create a JSD ticket from confluence through automation or any other means using some of the information in the confluence template like title, description and a link back to confluence.

Appreciate the feedback.

stefan


Answers:
author: Ang?lica Luz
body: Hello Stefan,

Thank you for reaching out to Atlassian Community!

Reading the details you provided, I believe that the best option, in this case, would be using an add-on like ScriptRunner.

Automation is a feature available only for Jira, so currently, it's not possible to create automation rules in Confluence to create Jira issues.

For more details, check the documentation below:

* [Automatically create Jira issues from approved Confluence pages](https://www.adaptavist.com/blog/automatically-create-jira-issues-from-approved-confluence-pages/)
* [Create a Jira issue when a page or blog post is approved - Comala Workflows integration](https://library.adaptavist.com/entity/create-a-jira-issue-when-a-page-or-blog-post-is-approved-comala-workflows-integration)
* [Create Jira issue when a page or blog post is approved](https://scriptrunner.adaptavist.com/latest/confluence/recipes/comala-workflows.html?_ga=2.114536071.1267174232.1588007049-268914752.1588007049)

Regards,  
Ang?lica


Tags: cloud
Unable to edit the pages after upgrading to 7.4.0 from 6.6.12
Asked by Abbas Khan:

Hi All,

Today we have upgraded our confluence version from 6.6.12 to latest version 7.0.4, after the upgrade I am unable to edit the pages which were already there. New pages can be created and edited.

I tried finding "Collaborative Editing" but couldn't find it in 7.4.0.

Any help would be really appreciated!!


Answers:
author: Abbas Khan
body: Ok resolved it as mentioned here --\> <https://community.atlassian.com/t5/Confluence-questions/Unable-to-edit-quot-old-quot-pages-after-upgrading-to-7-1-2/qaq-p/1287786>

Many thanks!

comments: author: repi
body: What does Atlassian Support say about this?  

This would be the best contact person also regarding the evaluation of the support ZIP file


Tags: confluence-server

server
How to upload excelsheet in to edit mode
Asked by venkat:

Hi All,

I want to upload a excel sheet with a edit mode, currently when i try to copy and paste the content it is saving in image format, but i am looking for editable format in Excel view. Please suggest.


Answers:
author: Moses Thomas
body: [@venkat](/t5/user/viewprofilepage/user-id/3849391)

You need to install the Atlassian companion app, this will allow you to edit excel in edit mode :) the app is currently available for( Windows, Mac), Linux not yet available.
> see here [Install Companion App](https://confluence.atlassian.com/doc/install-atlassian-companion-992678880.html)

Kind regards,

Mo


author: Shardul Juyal {Addteq}
body: You can either install the Atlassian companion app, but the file edits are made outside Confluence.  

If you are open to using Apps, you can try our app [Excellentable spreadsheets for Confluence](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence?hosting=cloud&tab=overview)  

comments: author: Moses Thomas
body: [@Shardul Juyal {Addteq}](/t5/user/viewprofilepage/user-id/1726272) The file edit are not out side Confluence, since your already uploaded the file to Confluence page


Tags: confluence-server

server
incorrect recording of user activities
Asked by EDV-Support:

```
Hello,I've been observing misconduct in Confluence for a few days now. Records of user activity that users have not made are made. Log Analyzer showed me 2 error messages:1. Getting Duplicate Attachment Errors: "findSingleObject Uh oh - found more than one object when single object requested" in the logs2. Getting a lot of HeartbeatAction errors in the logs
I read both of this Error-Articles, but i can't fix it. It is to much manual work to do an i have to do it each time. 
It is somehow related to the PlantUML macro we use. This PlantUML macro was used 2 days ago to draw large diagrams and the error has occurred since then.It is always displayed that one or another user has attached the attachments to this PlantUML, even though he / she was not even active in Confluence.Please helpThank you and best regardsIryna
```


Answers:
author: Nic Brough -Adaptavist-
body: I think you will need to talk to the people who are triggering these messages.

The software is not really a problem, but is telling you that there is a problem with your people that it cannot handle. Why is this app telling them that they are breaking each others work?

comments: author: EDV-Support
body: Hi, thank you for your answer.

I've switched all PlantUML diagramms from svg to png and the error has not occurred since.

But i still don't know how it connects (svg or png) to the error i've got. Do you have any idea?

Thanks :)