youngmon/atlassian-qna huggingface dataset:
Confluence REST API unable to create Child page
Asked by Pooja Shirlal:

Hi,

I am trying to create a Child page in Confluence using restAPI but getting a *403* error response.  

**Request:**

{  
"type":"page",  
"title":"New child page",  
"ancestors":\[

{"id":206583541}

\],  
"space":{"key":"/rest/api/space/MySpace"},  
"body":  
{"storage":  
{"value":"\<p\>This is a new child page\</p\>",  
"representation":"storage"}  
}  
}

**Respone:**

{  
"statusCode": 403,  
"data": {  
"authorized": false,  
"valid": true,  
"errors": \[\],  
"successful": false  
},  
"message": "Could not create content with type page"  
}

++Note:++ I am able to run a GET and PUT (update the confluence pages) succesfully.


Answers:
author: Pooja Shirlal
body: I was able to resolve the issue by fixing my request.

The space key had to be updated from:  
"space": {  
"key": "/rest/api/space/MySpace"  
},

to

"space": {  
"key": "MySpace"  
},

comments: author: smitha
body: Hi Pooja,

How does PUT and GET working, can you please share an example?


author: Pavel Potcheptsov
body: Do you really pass "/rest/api/space/MySpace" string as a space key?

comments: author: Pooja Shirlal
body: Hi Pavel,  

Yes I do pass */rest/api/space/MySpace* as space key.  
Also, I am able to create the page **manually**in confluence, so I am guessing its not permission issue.


Tags: rest-api
How to remove the "issue" / "Issues" text from a Jira search in confluence?
Asked by Cristopher Hermansson:

How to remove the "issue" / "Issues" text from a Jira search in confluence?

When you do a JIRA Search in Confluence and chooses to present the total count, the text is:

\[count\] issue (or \[count\] issues)

We dont want the "Issue" text, just the number presented. Is there a way to do it?

I have total admin access to the server (both admin gui and access to the files).


Answers:
author: Shannon S
body: Hi Cristopher,

This would require that you edit the language pack files within Confluence. It's fairly deep within the files, and editing the actual JAR file is explained on this article:

* [How to Change Notification with English Translation When Using Non-English Language Pack](https://confluence.atlassian.com/confkb/how-to-change-notification-with-english-translation-when-using-non-english-language-pack-600871176.html)

See "Step-by-step guide" on how you would do that.

Let us know if you have any questions.

Kind Regards,  
Shannon

comments: author: Cristopher Hermansson
body: Hi, Thanks. Does not seem to find the right file to change. Have u done it so you now exacly what file to change?

best regards

cristopher


author: Shannon S
body: Hi Cristopher,

I haven't been able to modify this myself, but I confirmed with the Confluence Server team that you can do the modification here.

Are you having any trouble getting the change completed there?

Kind Regards,  
Shannon
Create anchor without the document name embedded?
Asked by klausfiend:

Is it possible to create an anchor in Confluence that **doesn't** include the document name? e.g., if I create 'myanchor' on 'MyPage', why is the anchor name transformed into '#MyPage-myanchor' instead of '#myanchor'?

This is really confusing and unnecessarily verbose, and kind of defeats the purpose of anchoring when a short and simple label gets mutated into something big, ugly, and dependent on the document name.

thanks,  
Klaus


Answers:
author: Shannon S
body: Hi Klaus,

This is indeed as intended from our [Anchors documentation](https://confluence.atlassian.com/doc/anchors-139442.html#Anchors-Step2Step2:Createalinktotheanchor):
> **Notes about the full URL:**
>
> The page name is repeated in the URL, after the # sign. The second occurrence of the page name is concatenated into a single word, with all spaces removed.

We do have a few feature requests to change this behavior, such as:

* [CONFSERVER-36940](https://jira.atlassian.com/browse/CONFSERVER-36940)
* [CONFSERVER-24452](https://jira.atlassian.com/browse/CONFSERVER-24452)

Please vote on and watch those requests to receive an update if this behavior changes. I would also recommend you state your usage case there to help with understanding as to why this change would be beneficial for Confluence users.

Thank you for your help!

Kind Regards,  
Shannon


Tags: macro

wiki
How to link JIRA features to versions of Draw.io diagram
Asked by meenal saxena:

I want to link various versions of Draw.io diagram to different JIRA Features.

e.g. TestFlow v0.1 to be linked with JIRA-1234 feature and TestFlow v0.2 to be linked with JIRA-1235 feature


Answers:
author: David Benson _draw_io_
body: I take it you mean you have different versions of a draw.io diagram on Confluence Server and want to link those version to different tickets on JIRA Server issues? That's not currently possible. However, we do have tighter integration between Confluence and JIRA Server on the roadmap.


Tags: draw.io
How to hide "created by" meta-info from Confluence Cloud pages?
Asked by David Hina:

Using the default template for all spaces on confluence cloud site, and need to hide or remove the "created by" meta-info from all pages. see attachment. Thanks!![Screen-Shot-last-modified.png](/t5/image/serverpage/image-id/5680i7B298C7B8B7207C0/image-size/large?v=v2&px=999 "Screen-Shot-last-modified.png")


Answers:
author: Bruno Miretti
body: Hi,

please have a look at this opened issue:

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

and vote...

comments: author: David Hina
body: Done. Thanks!


author: Nic Brough -Adaptavist-
body: It needs code to remove that, and you can't apply the code on Cloud. So I'm afraid you're stuck with it.


Tags: confluence-cloud
Inline comment won't save when the word 'remove' is highlighted.
Asked by Chris Mitchell:

Now this is a weird one. No one on my team can save an inline comment when the word 'remove' is highlighted for commenting. I created a new page, added only the word 'remove' and same thing happens: I select 'save' and receive the

"We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text." message.

Each and every time.

Is 'remove' considered a reserved word for inline comments? If so, are there other reserved words?


Answers:
author: Steven F Behnke
body: Confluence Server v6.1.0 doesn't suffer this problem. I can inline comment the word "remove" just fine. What version of Confluence are you using?

comments: author: Chris Mitchell
body: Hi Steven! - thank you for responding: 6.3.1: it really is a head scratcher -- more of an annoyance than anything substantive.
Confluence Rest API - How to connect with Node.js
Asked by Roberto L:

Hello Community,

I am having major issues trying to connect to Confluence via its REST API's.

I am utilizing Node.js as my language.

In order to connect to REST API's I am using node-rest-client dependency.

My code is as follows:

```
var Client = require('node-rest-client').Client;

//Credentials to log into Confluence
var loginArgs = {
 data: {
 "username": "myUser",
 "password": "myPassword"
 },
 headers: {
 "Content-Type": "application/json"
 } 
};

//REST call to my Confluence 
client.post("http://confluence_host.com:8080/api/session", loginArgs, function(data, response){
 
 if (response.statusCode == 200) {
 console.log('succesfully logged in, session:', data.session);

 var session = data.session;
}
});

```

I utlize the same code to extract data from Jira utilizing its REST API's. But Jira has a auth/1/session API and for somereason I cant seem to find any auth API for Confluence.

In Jira, the response from the session API would be cookies that I add to my header for me to validate my other REST API call's.

I cannot figure it out for Confluence.

Would anyone be able to point me in the right direction.

-Roberto


Answers:
author: Dario B
body: The session endpoint is not available for Confluence:  
- <https://jira.atlassian.com/browse/CONFCLOUD-57359>  
I hope this helps.

Cheers,  
Dario


Tags: node.js

rest-api
Server Maintenance
Asked by Ingrid Nicholls:

Hello,

We have been using Confluence for a couple years now, and we are just wondering if there is any sort of recommended maintenenance to Confluence or the Linux server that it resides on that we should be doing?

Thanks!


Answers:
author: Ana Retamal
body: Hi Ingrid, there's a very good answer for your question in this other [Community thread](https://community.atlassian.com/t5/Confluence-questions/Maintenance/qaq-p/166258) :)

Let us know if you need anything else!

Best regards,

Ana
Confluence : Migrate users from one directory to another
Asked by Siva Polamarasetti:

Hi,

I could see an option in Jira "Migrate users from one directory to another ", but I could not see similar one in Confluence. Do we have any suggestion how to migrate users from one directory to another directory.

Thank you,

Siva


Answers:
author: Shannon S
body: Hi Siva,

There is a feature request for this currently:

* [CONFSERVER-25630](https://jira.atlassian.com/browse/CONFSERVER-25630)

Deividi has a set of instructions on [another Community post](https://community.atlassian.com/t5/Confluence-questions/Migrate-users-to-new-user-directory-Confluence-5-4-4/qaq-p/106313) that could help you migrate your users across User Directories. Just please note it can be dangerous so you will want to test this before going through with it on your production instance. It's also likely that the tables have changed since then, so it may not work fully.

Let us know if you have any questions or get stuck.

Kind Regards,  
Shannon
Column widths and other end-user improvements for 6.2.3?
Asked by Michelle Rau HP:

Hi, my company is upgrading to 6.2.3 soon. I have seen the [release note page here](https://confluence.atlassian.com/doc/confluence-6-2-release-notes-894219485.html), but cannot find details about some specific improvements I was told would be in the release: software project space, resize table columns, audit log changes, auto row numbers in tables, restoring from trash, page restriction interface, file interface. Our end users will be interested in these.

Can someone provide a link to more specifics?


Answers:
author: Michelle Rau HP
body: I found answers to some of my questions in the release notes for versions prior to 6.2.3.


author: Nic Brough -Adaptavist-
body: Not really. We don't know who told you, or where you found, the information about what would be in the release.
user macro to inset confluence date picker
Asked by Ian Redman:

I have a confluence page where the user inputs the data a licence is due to expire. I'd like to have a macro that takes this date, knocks off 5 days and then puts that date into a task so I get a reminder before the license expires to do something about it.

I can get the date, I can take 5 days off fine and I can get this date displayed in a task next to my username. What I can't do is get the date to display in as the confluence date picker so the tasks pick up the due date.

Any Ideas?


Answers:
author: Roman Kirilenko
body: Hi Ian,

You can use [Handy Reminders](https://docs.stiltsoft.com/display/HMFC/How+to+use+Handy+Reminder+macro) from [Handy Macros](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.handy.macros/server/overview) for that. Also, you'll get an [interactivity for your dates](https://docs.stiltsoft.com/display/HMFC/How+to+use+Handy+Date) and other features. It's not free, but pretty convenient way to deal with the case described.
How can I add a empty editable column in a Pocket Query result
Asked by Joao Flavio Mendonca:

Hello,

Does someone knows how can I allow users to add more information in a table created by Pocketquery by editing the next colunm?

or

How can I add the pocket query results in a simple Confluence table which the user could add information.

thanks

Best Regards

Joao Flavio


Answers:
author: Sven Schatter _Lively Apps_
body: Hey Joao,

sorry that you didn't receive an answer yet. We have basically moved our support to **[our service desk for PocketQuery](https://help.scandio.de/servicedesk/customer/portal/5).**

---

Regarding your question:

I'm not quite sure if it's possible to achieve what you want.

So if you want the user to be able to edit the table and then also have this data stored in your database, you are out of luck. PocketQuery was designed to be a **read-only** tool. So it's just not intended to do this.

If you're just after the table though, what you could do, is just manually copy the table and add it as content into your page. Then everyone will be able to edit it.

---

Should you encounter any other problems using PocketQuery, please don't hesitate to raise a ticket at our service desk.

Thank you for using PocketQuery!

Best regards,  
Sven (Scandio)
Call Plugin from pocket query
Asked by Joao Flavio Mendonca:

Hello All I am trying to call the Tasklist plugin from a pocket query template. however I dont have any idea of how to do it.

I am trying to use the Velocity to call such plugin but it is not working.

The code that I am using can be seen below:

\<table class="aui confluenceTable pocketquery-table"\>  
\<thead\>  
\<tr\>  
#foreach ($column in $columns)  
\<th\>$!column\</th\>  
\<th\>Checked\</th\>  
#end  
\</tr\>  
\</thead\>  

\<tbody\>  
#foreach ($row in $result)  
\<tr\>  
#foreach ($column in $row)  
\<td\>$!column\</td\>  
\<td\>$action.helper.renderConfluenceMacro("{inline-task}")\</td\>  

<br />

#end  
\</tr\>  
#end  
\</tbody\>  
\</table\>

The error message is:

Unknow macro: {inline-macro}

What is the name of this plugin?

Can I call it from pocket query template?

How can I send some parameters to this plugin like user username?

Thanks a lot in advance

Regards

Joao Flavio


Answers:
author: Sven Schatter _Lively Apps_
body: Hey Joao,

sorry that you didn't receive an answer yet. We have basically moved our support to **[our service desk for PocketQuery](https://help.scandio.de/servicedesk/customer/portal/5).**

Have you already tried the other way to render macros, mentionend in the [documentation](https://help.scandio.de/documentation/display/PQDOC/Features+of+the+Administration+Interface#FeaturesoftheAdministrationInterface-Rendering)?

Should this still be a problem for you, please don't hesitate to raise a ticket at our service desk.

Thank you for using PocketQuery!

Best regards,  
Sven (Scandio)


Tags: macro
Increase size of Roadmap Planner
Asked by Timofey Sitnikov:

I can only see part of Roadmap planner in confluence, how can I increase the size of it vertically?


Answers:
author: Timofey Sitnikov
body: It is viewed partially only in edit mode. In view mode the whole schedule is visible

comments: author: adiedler
body: How I can increase the horizontal size. On my screen the horizontal size is only displayed as 30% of my screen , the Roadmap does not scale to use 100% of the width. How I can increase it manually? In the Source Code?


Tags: advanced-roadmaps
Logins - Confluence Cloud
Asked by Mike Lawson:

I am looking to roll out more complex passwords for our Confluence Cloud site. I have come across the password policy section, but I am unsure as to whether or not I need to verify our domain, and what impact that will have on the authentication?

Has anyone set this up before?

Thanks.


Answers:
author: Ana Retamal
body: Hi Mike! You'll need to verify your domain first, Password Policy is only manageable via domain verification. You can find the instructions for that at [Domain verification](https://confluence.atlassian.com/cloud/domain-verification-873871234.html).

Then, you'll be able to set your password requirements as explained at  
[Set password requirements](https://confluence.atlassian.com/cloud/set-password-requirements-744721633.html).

Let us know if you have any questions :)

Cheers,

Ana

comments: author: Mike Lawson
body: Hi Ana,

Thanks for you reply. in that case;

1) why do we need to verify our domain?

2) does confluence handle the policy? I have read conflicting information on it that it needs an external LDAP.

Thanks.

Regards,

Mike


Tags: confluence-cloud
How to update confluence macro parameter from page?
Asked by Slavomir Danas:

I have developed a Confluence macro that allows user input - it's generally a form/input. However during export only the initial value of the macro is rendered instead of user input because the export function runs at the server side.

Is it possible to write the parameter value back to the macro from the page to reflect user input inside the macro?

Or is there any other way to let Confluence page know the content has changed and needs to be rendered before export?


Answers:
author: Praveen
body: Hi , if you have figured out a way to do it please let me know


Tags: atlassian-sdk

developer

macro
How to change user display name on Confluence Team Calendars?
Asked by Shago:

We have some users with the same name (two pairs, actually), looking the calendar has become a little confusing.

We would like to use either last name, username, email, or even a custom property (like calendar-display-name).

Is it possible to change the displayed name of users on Team Calendars?


Answers:
author: Warren
body: Hi Santiago

The name that you see there is the Jira user's ***Full Name***, so if you want them to be different, a Jira global Admin can go into the users section and change them to be unique.

Hope this helps

Warren

comments: author: Shago
body: Thanks for your answer.

Full name is shown only when one person is assigned to the event.

When multiple are assigned it shows only the first name:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/5660i85D63874F3531FD5/image-size/large?v=v2&px=999 "image.png")

Also names comes from Active Directory, so it cannot be changed.


Tags: team-calendars-for-confluence
Link to page label
Asked by Andreas Johannessen:

Hi Is it possible to create a link that links to a label? Let say I have 10 pages with the label "technical". I want to create a "normal" link on the page so when I click it, it will open a new page with a table of all the pages with that label.

Is it possible without "hacking"?


Answers:
author: Thomas Schlegel
body: Hi Andreas,

yes, of course. Create a web link with that target:

http://\<your confluence url\>/label/\<your label\>

comments: author: Sandy Johnson
body: Hi Thomas

This is great. Is there a way to have the resulting page display more than 10 pages at a time? Can the number of pages be selectable?

Thanks, Sandy


author: Thomas Schlegel
body: Hi Sandy,

no, I don't think so. Not with such a simple link.

There' s a macro you can use for that: "Content by Label".

Using that macro, you can change the number of the results, but the label itself is fix.

If you want to know more about labels: I've written an article about them: [Fun with labels](https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-Fun-with-labels-not-with-flags/ba-p/591122)
Insert JIRA Project Backlog into Confluence Page
Asked by Christian Beckenkamp:

Hello all  

I would like to create a new page in Confluence, with a live-updated version of a JIRA Project Backlog. This is to increase the overall transparency behind what is being developed in our IT department, and a "What-is-next" overview.  

Normally I would simply use a "Insert JIRA Issue/Filter"-macro, which would be fine. My problem comes from wanting to insert the backlog from a board that includes several other projects.   

As an example:  

We have 4 projects

Project A has board A  
Project B has board B, but has its issues shown in board A as well.  
Project C has board C, but has its issues shown in board A as well.  
Project D has board D, but has its issues shown in board A as well.

We currently use board A as our main board, with all current projects in it.

We have then positioned its backlog to reflect a "What-is-next" overview.  

Would it be possible to create a Confluence page that reflects board A's backlog, with all the different projects, and positions them correctly?


Answers:
author: Warren
body: Hi Christian

When you say you've positioned the backlog, do you mean ordered (ranked / prioritised)?

So what happens if you set up a Confluence page with the filter being the same as the filter used for board A? I would have thought that's exactly what you want. What is wrong with it?

Regards

Warren

comments: author: Christian Beckenkamp
body: Hello Warren

After a second review of the issue, we found that it was an error on our part. Thank you for your quick reply, and my appologies for the late resolution.


author: Warren
body: That's fine. If you're happy, please mark this as answered


Tags: documentation

filter

issue

jira
How can I create new pages with dynamic content please?
Asked by Wael Darwich:

I need to create a template that allows users to select which sections to be used in the new page

Is this doable in Confluence please?

Thanks in advance


Answers:
author: Jeremy M
body: Dear Wael,

Just a suggestion.. this might not be for you in your use case.. but can you use the Create from Template macro for this?

<https://confluence.atlassian.com/doc/create-from-template-macro-317196995.html>

Kind Regards,

Jeremy


Tags: developer
upgrade path for confluence version 3.1.1 to 5.0.3
Asked by Divya Dangeti:

Dear Team,

We are going through the confluence upgrade from version 3.1.1 to 5.0.3.

Request you to suggest the upgrade path from confluence version 3.1.1 to 5.0.3, and also please give the links of the installers or binaries to download so that we can proceed for the upgrade activity.

Regards,

Divya Dangeti.


Answers:
author: Thomas Buchhorn
body: There are similiar questions which have been answered.

Best to take a look at: <https://community.atlassian.com/t5/Confluence-questions/Upgrade-Path-for-Confluence-3-1-1-to-5-4-4/qaq-p/140484>

Also read: <https://confluence.atlassian.com/doc/upgrading-confluence-4578.html>

The older binary files you can find here: <https://www.atlassian.com/software/confluence/download-archives>
ConfiForms - Calculated Form Field Type
Asked by Joel Lau:

Confluence Version: 6.1.3

Hi all,

I am using a Confiforms calculated form field to calculate a score based on user form input. The data is then viewed using an editable TableView macro.

My issue is that when the underlying scores are altered (i.e. data change), the calculated field is not updating.

Cheers,  
Joel

![SS.PNG](/t5/image/serverpage/image-id/5626i86F5D3CB3D5370C5/image-size/large?v=v2&px=999 "SS.PNG")


Answers:
author: Joel Lau
body: Alex from ConfiForms has been super helpful and answered my question.

Rather than use a calculated form field, use a "Formula" field type and the record will re-calculate when data is updated.

comments: author: Shannon S
body: Hi Joel,

Thank you for letting us know you were able to get a solution to your problem. I've marked your answer as the accepted solution so others will be able to find the answer in the future should they run into the same problem.

Kind Regards,  
Shannon


author: Alex Medved _ConfiForms_
body: Thanks, [@Joel Lau](/t5/user/viewprofilepage/user-id/1148850)

For others, looking to get quick help on [ConfiForms plugin](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=server&tab=overview), please either tag me directly in the question or use the [Support Request Form](https://wiki.vertuna.com/display/VERTUNA/Support+Request+Form) on our website


Tags: confiforms

vertuna