youngmon/atlassian-qna huggingface dataset:
How to build a community page like Confluence
Asked by Richard:

Hi team

I am looking for a document on how to build a community page like

<https://community.atlassian.com/t5/Confluence/ct-p/confluence>

Will be great if you can redirect to correct Q \& A Page for help


Answers:
author: Nic Brough -Adaptavist-
body: The Community is based on Khoros, not Confluence, so there's not a lot of people who can help here.

If you were to use Khoros to do it, then it's probably worth looking in the Khoros community!


Tags: confluence-server

server
Confluence API: How to get a list of users with site access
Asked by Kirill Kireyev:

Using either Python or REST API, how can I get a list of users that have "Have access on site" enabled?

Or at least how can I query this for an individual user?

I'm referring to this setting:

![ca.png](https://community.atlassian.com/t5/image/serverpage/image-id/167060iA7BE28B7FF99F6D2/image-dimensions/283x113?v=v2 "ca.png")


Answers:
author: Fabian Lim
body: Hi [@Kirill Kireyev](/t5/user/viewprofilepage/user-id/4615548)

I recommend using scriptrunner console, which is a plugin.

Here is some sample code: <https://scriptrunner.adaptavist.com/5.0.8/confluence/ScriptConsole.html>


Tags: cloud

confluence-cloud
Page property list
Asked by kenficara:

I've added a page property in my decision template for Priority, and for the variable, chose "List" with four possible values (High,Medium,Low,Defer).

![insert-priority.png](/t5/image/serverpage/image-id/167058iFD1FBDFCA5CA8FCA/image-size/large?v=v2&px=999 "insert-priority.png")

When I preview the page, I see the dropdown menu as I expected:

![menu.png](/t5/image/serverpage/image-id/167059iE7DD18219DD87467/image-size/large?v=v2&px=999 "menu.png")

But when I create a decision, the table cell next to Priority is empty. Any text I type there is used as the property value, and no dropdown is visible.

Why isn't the dropdown displaying?


Answers:
author: Kishan Sharma
body: HI [@kenficara](/t5/user/viewprofilepage/user-id/1812042)  

Page templates are used only when adding a page. It is not possible to apply a template to an already-existing page. Once a page has been added using a template, the template is no longer linked to the page. All further editing is performed as if the template was never used. Some Marketplace apps provide enhanced template functionality. You can search the [Atlassian Marketplace](https://marketplace.atlassian.com/search?application=confluence&q=template) for template apps.  

So as per above description, when you create the page from template, you will be prompted to select the Priority from the options you mentioned in your decision template and is selectable only once when you create page from it. Hope this helps.


Tags: confluence-server

macro

server
Los productos de Atlassian Cloud estan suspendidos
Asked by Miguel Infante:

Tengo el servicio de atlassian suspendido , alguien me podria indicar el metodo para poder reactivar la cuenta.

He verificado los pagos y todos estan ok , pero el pago del mes anterior no figura y no me da saldo o deuda alguna.

Me figura como si no tuviera licencia alguna y no veo alguna opcion para poder reactivar mi cuenta.

Alguien que me pueda ayudar ,

Gracias.


Answers:
author: Fabian Lim
body: Hola [@Miguel Infante](/t5/user/viewprofilepage/user-id/1437255)

Mira este post con el mismo problema: <https://community.atlassian.com/t5/Jira-questions/COMO-ACTIVAR-PRODUCTO-SUSPENDIDO/qaq-p/1846228#M506546>

Tienes que contactar a atlassian


Tags: cloud

confluence-cloud
Confirm to send email upon form creation
Asked by Terrence Lennon:

Hi - I have used Confiforms to create a pretty basic action tracking tool and what I would like to do is have the form generate an email alert to the person assigned as Action Owner (field name in this case is User2). I have tried to use Confiforms IFTT Integration Rules as follows

* Event - OnCreated
* Choose Action To Perform - Send Email
* Recipients - User2

An error message displays saying that an email cannot be generated because recipient is blank. The User2 field has been populated with a valid user ID

Any ideas?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Could you share your form's configuration?

As if ConfiForms says the recipient is empty then it means it is... How is the recipients parameter is configured in particular?

Alex


Tags: cloud

confiforms

confluence-cloud

ifttt
Search confluence database for JIRA reference
Asked by ?????????:

Good afternoon. Would love to get some help on how Confluence Pages and Issues are "linked" in JIRA. In the interface of both systems, the linking occurs using a macro, but in the Confluence database I cannot find the data on the links to JIRA, please help with the question. Thank you in advance.


Answers:
author: Joshua Sneed Contegix
body: Hi,

The jira issues macro data is stored in a couple places. The data in the macro is stored in the bodycontent table. It looks something like:

    <p><ac:structured-macro ac:name="Jira"><ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter><ac:parameter ac:name="server">Jira Old</ac:parameter><ac:parameter ac:name="serverId">79f0263c-a3a5-323b-870c-aea1895cabeb</ac:parameter><ac:parameter ac:name="key">TST-1</ac:parameter></ac:structured-macro></p>

The plugin backing the macro lives elsewhere in the database and only converts/renders the above code block into something usable. The following links may give you something to go on.

* <https://confluence.atlassian.com/confkb/how-to-bulk-update-jira-issue-macro-to-point-to-a-different-jira-instance-596771463.html>
* <https://confluence.atlassian.com/confkb/how-to-find-all-pages-and-spaces-that-use-a-specific-macro-via-sql-747837116.html>

Cheers!


Tags: server
Users who have not created any content
Asked by Thor Henrik Nordvik:

Hi

Is there a way to find users who have not created any content in a time periode ?


Answers:
author: Nicolai Sibler
body: Hi [@Thor Henrik Nordvik](/t5/user/viewprofilepage/user-id/3567833)

try this SQL that I found in the Knowledge Base:

```
SELECT cu.user_name
FROM cwd_user cu
JOIN user_mapping um ON um.username = cu.user_name
WHERE um.user_key NOT IN
( SELECT CREATOR
FROM CONTENT
WHERE CONTENTTYPE IN ('PAGE','BLOGPOST','COMMENT')
AND CREATIONDATE > '2007-01-01' AND CREATOR IS NOT NULL)
AND cu.active = 'T';
```

Hope that helps!

Kind regards,

Nicolai


author: Mykenna Cepek
body: I can't think of an easy way to do this in the Confluence GUI (even in the admin area).

The [Confluence Cloud REST API](https://developer.atlassian.com/cloud/confluence/rest/intro/#about) can return this information. Use a [Search request](https://developer.atlassian.com/cloud/confluence/rest/api-group-search/#api-group-search) with the appropriate [CQL](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/) to locate the data you want.

Likely a little bit of scripting will be needed, if you want a repeatable and clean listing.

If you just need this once (or rarely), I'd figure out a command-line request to get a list of all users, and another one to return a list of who has created content in that timeframe.

Then I'd strip out anything but the users in the second output, sort both user lists (and remove duplicates from the second output), and then diff the result. I'm good at the unix command line, so things like sort -u and awk or sed would be handy here. If that's greek to you, maybe consult a nearby developer who is handy with scripting. Someone good at python or scripting would be a good choice.

Hope that helps!

comments: author: Kishan Sharma
body: I agree, Confluence REST API is the way to go here!


author: Thor Henrik Nordvik
body: How do I find the users that have created content, the unix commands I can, its the SQL and how the database is modeles that I am unsure of.


Tags: confluence-server

server
How to embed Jira Roadmaps in confluence page?
Asked by jeroen_wilmes:

And by that I mean embedding the roadmap in the page and NOT only a link.


Answers:
author: G subramanyam
body: Hi [@jeroen_wilmes](/t5/user/viewprofilepage/user-id/4606019) welcome to the Atlassian community.

Please be informed, you can embed the roadmaps through the Jira roadmap macro.

Here's the detailed [steps and screenshots](https://support.atlassian.com/confluence-cloud/docs/insert-the-jira-roadmap-macro/) for your reference.

comments: author: jeroen_wilmes
body: Thanks, this did the tric and helped me.


author: Marjorie
body: [@jeroen_wilmes](/t5/user/viewprofilepage/user-id/4606019)

/jira roadmap

or

/jira road map

comments: author: jeroen_wilmes
body: thanks, this helps a lot.


Tags: cloud

confluence-cloud
Link to JIRA Issues in Confluence Database
Asked by ?????????:

?????? ????. ???????? ?? ???????? ????????? ?????? ? ???, ??? ???????? ? ?????? Confluence \<\<???????\>\> ? JIRA. ? ?????????? ????? ?????? ?????????? ?????????? ? ??????? ???????, ?? ? ???? ?????? Confluence ? ?? ???? ????? ?????? ? ??????? ?? JIRA, ??????????, ???????? ? ????????. ??????? ???????.


Answers:
author: Gaurav
body: Hello [@?????????](/t5/user/viewprofilepage/user-id/4615125)

Welcome to the community!!

As you are using the Macros, the links would be found in the content of the COnfluence page. Sample query for Postgres DB is as:

SELECT c.CONTENTID, c.CONTENTTYPE, c.TITLE, s.SPACEKEY  
FROM CONTENT c  
JOIN BODYCONTENT bc  
ON c.CONTENTID = bc.CONTENTID  
JOIN SPACES s  
ON c.SPACEID = s.SPACEID  
WHERE c.PREVVER IS NULL  
AND c.CONTENTTYPE IN ('PAGE', 'BLOGPOST')  
AND bc.BODY LIKE '%\<INSERT_KEYWORD_HERE\>%';

Let me know if this helps.

Kindly accept the answer if this helps resolve the query.
Confluence API attachment upload
Asked by Felix K?hn:

Hey all,

I'm trying to load an attachment to a Confluence Space.

I'm using this:

```
USER_NAME=XXXXX
USER_PASSWORD=XXXXXX
CONFLUENCE_BASE_URL=http://<CONFL_URL>
ATTACHMENT_TYPE=file
ATTACHMENT_FILE_NAME=myfile2.txt
PAGE_ID=<PAGEID>

curl -u $USER_NAME:$USER_PASSWORD \
-X POST \
-H "X-Atlassian-Token: nocheck" -F "file=@${ATTACHMENT_FILE_NAME}" -F "comment=File attached via REST API" \
${CONFLUENCE_BASE_URL}/rest/api/content/${PAGE_ID}/child/attachment 2>/dev/null \
| jq -r '.results[].title'

REST_CONTENT_FULL_OUTPUT=$(curl -u ${USER_NAME}:${USER_PASSWORD} \
${CONFLUENCE_BASE_URL}'/rest/api/content/'${PAGE_ID}'?expand=body.storage,version,space' 2>/dev/null)

?

if [ ${ATTACHMENT_TYPE} = "image" ]; then
echo ${REST_CONTENT_FULL_OUTPUT} | \
jq '{body: {storage: {value: (.body.storage.value + "<p><ac:image ac:height=\"250\"><ri:attachment ri:filename=\"'${ATTACHMENT_FILE_NAME}'\" /></ac:image></p>"), representation: .body.storage.representation}}, id: .id, type: .type, title: .title, space: {key: .space.key}, version: {number: (.version.number + 1)}}' \
> modified-page-data.json
else
echo ${REST_CONTENT_FULL_OUTPUT} | \
jq '{body: {storage: {value: (.body.storage.value + "<ac:structured-macro ac:name=\"view-file\" ac:schema-version=\"1\" ac:macro-id=\"'${MACRO_UUID}'\"><ac:parameter ac:name=\"name\"><ri:attachment ri:filename=\"'${ATTACHMENT_FILE_NAME}'\" /></ac:parameter><ac:parameter ac:name=\"height\">250</ac:parameter></ac:structured-macro>"), representation: .body.storage.representation}}, id: .id, type: .type, title: .title, space: {key: .space.key}, version: {number: (.version.number + 1)}}' \
> modified-page-data.json
fi

curl -u ${USER_NAME}:${USER_PASSWORD} \
-X PUT \
-H 'Content-Type: application/json' \
--data @modified-page-data.json \
${CONFLUENCE_BASE_URL}'/rest/api/content/'${PAGE_ID} 2>/dev/null \
| jq -r '.id'
```

Everything works fine, as long as the Confluence Page \<PAGEID\> does not have a attachment called "myfile2.txt".

As soon as I upload the file and rerun the Script, I'd expect I would upload the file again as the newest version. The other myfile2.txt file would be the older version.

Instead, nothing happens and I get the error:

```
jq: error (at <stdin>:0): Cannot iterate over null (null)
```

Could anybody please help with that problem?

Thank you in advance!

Kind regards,

Felix


Answers:
author: Thomas Deiler
body: Dear [@Felix K?hn](/t5/user/viewprofilepage/user-id/4175348) ,

yes, you can! ;)

a) get the ID of your attachment to update:

```
GET /rest/content/{id}/child/attachment
```

b) update the [attachment data](https://docs.atlassian.com/ConfluenceServer/rest/latest/#api/content/{id}/child/attachment-updateData):

```
POST /rest/content/{id}/child/attachment/{attachmentId}/data
```

So long

Thomas D


Tags: api

confluence-server

server
Images
Asked by Cristina.paiu:

How can I display on header , 2 images, one in left and one in the right corner?

It displayed on 2 rows, not on the same row.

On header, section Look and feel :

!Documentation\^logo_1.gif\|align=left, width=150, height=60!  
!Documentation\^logo_2.gif\|align=right, width=150, height=60!

I want to have:

logo_1 logo_2

not both centered and on different rows:

logo_1

logo_2

Thank you!


Answers:
author: Marjorie
body: I would recommend using Paint and merging the two images and save as a new gif and upload.

comments: author: Marjorie
body: [@Cristina.paiu](/t5/user/viewprofilepage/user-id/4614900)


author: Cristina.paiu
body: Thank you, I thought of this work around too, but I needed to insert always a text, which is different for each page.

But for the moment, I'll use this tips.

Thanks again,

Have a great day!


Tags: cloud

confluence-cloud
Merge Jira issue filter result with a manual data table where manual table has merged rows
Asked by Manali Butey:

I am using the Table transformer macro to merge a Jira issue filter result table with a manual table.   
How do I achieve a merged column for certain rows for the manual column?  

e.g.  

Manual table

|-----|--------------|-------------------|
| Key | Comment      | Col c             |
| A-1 | Same comment | Additional data   |
| A-2 | Same comment | Additional data 2 |

However, in merged table output 'Same comment' appears in two separate rows instead of seeing merged column.

Have read through the [documentation](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro) but have not found anything on displaying merged rows in output  
TIA


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Manali Butey](/t5/user/viewprofilepage/user-id/4316996) ,

Unfortunately you won't be able to implement the case - the behavior of the Table Transformer macro is correct for this situation. As a macro developed for tabular data and Ala SQL queries, it specifically gets rid of the merged cells to work with them later.

We understand the visual appeal of the merged table cells for this case, but can't really come up with any suitable solution.

comments: author: Manali Butey
body: thanks for your response.


author: Megan
body: Is this still the case? Thanks!


author: Stiltsoft support
body: Hi [@Megan](/t5/user/viewprofilepage/user-id/5158774) ,

Yes, the internal logic of the Table Transformer macro remains the same.


author: Manali Butey
body: For any other members looking for the same thing, I went with a the workaround mentioned [here](https://community.atlassian.com/t5/Confluence-questions/Table-Transformer-Merge-Cells-with-Duplicate-Rows/qaq-p/1685132)


Tags: confluence-server

filter

server

stiltsoft

table
how to migrate MSSQL2016 data to PostgreSQL for large data set confluence
Asked by sreenivasulu vadde:

Hi,

We are planning to move from MSSQL2016 to PostgreSQL 11 and our Confluence instance is very large so XML backup is taking more than 15 hours and as per the Atlassian it is not recommend to take XML backup for large dataset confluence,

Any one have any third-party tool for this migration and also any known issues if anyone has already migrated.

Appreciate your help on this.


Answers:
author: Thomas Deiler
body: Dear [@sreenivasulu vadde](/t5/user/viewprofilepage/user-id/1050611) ,

when your attachments are located in the file system (and not inside DB), you can create the XML backup file without attachments. On restore, the attachments are already at the right place.

Please follow [Method Two](https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html#MigratingtoAnotherDatabase-Methodtwo%E2%80%93forinstallationswithalargevolumeofattachments) in the official instructions for the details.

So long

Thomas


Tags: confluence-server

server
Can not use Confluence
Asked by Oeun Sopheak:

![image_2021-10-28_13-24-50.png](https://community.atlassian.com/t5/image/serverpage/image-id/166925i71E4143C5CE64549/image-size/large?v=v2&px=999 "image_2021-10-28_13-24-50.png")  

Hello current i am using Jira annual plan, I wonder why i can not use confluence, Thanks.


Answers:
author: Kishan Sharma
body: Hi [@Oeun Sopheak](/t5/user/viewprofilepage/user-id/4614552) , Welcome to the Atlassian Community!  

Atlassian only offer Cloud Free products as monthly subscriptions. To add a Cloud Free product to an existing paid annual subscription, the subscription must be moved to monthly billing.

comments: author: Oeun Sopheak
body: I got it, thank you.


author: Kishan Sharma
body: You are welcome [@Oeun Sopheak](/t5/user/viewprofilepage/user-id/4614552) If my answer was helpful, please mark it as accepted, so that it will help other members having similar question.


Tags: cloud

confluence-cloud
Error when loading pages in Confluence
Asked by Anna Subbota:

We've hit a snag {#toc-hId--1212153841}
---------------------------------------

The issue should resolve on its own, but if it keeps happening, ask your admin to contact [our support team](https://support.atlassian.com/contact/#/) and give them:

* The URL of this page
* The code associated with this error: **oiu0d6**

* Refresh page


Answers:
author: Kishan Sharma
body: Welcome to the Atlassian Community [@Anna Subbota](/t5/user/viewprofilepage/user-id/4614618) [@Carlijn van Hassel](/t5/user/viewprofilepage/user-id/4614772) [@kgarridogonzalez](/t5/user/viewprofilepage/user-id/4614821) [@Victor Ivanchenko](/t5/user/viewprofilepage/user-id/4614659)

Between 28/Oct/21 5:00 AM to 28/Oct/21 10:40 AM, confluence cloud experienced errors on pages with excerpt include macros for Confluence. The issue has been resolved and the service is operating normally.  
You can refer details on below link-  
<https://confluence.status.atlassian.com/incidents/pv6w51zqr29x>

comments: author: Kishan Sharma
body: If you have found any of the answers on this thread useful, please mark them as accepted.


author: Olga Videc
body: Hello [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991)

Thank you for your quickly informing what happened :)


author: Kishan Sharma
body: Thank you [@Olga Videc](/t5/user/viewprofilepage/user-id/1156369) :-)


author: Carlijn van Hassel
body: Thanks [@Kishan Sharma](/t5/user/viewprofilepage/user-id/3398562) !


author: Paulius ?imkus
body: It still fails to load any Confluence page for me, it seems that this issue only happens to me, as it works well for my colleagues.

Any ideas on how to fix it?   

Already tried to clearing the cache, local \& session storage, restarting computer - nothing helped. Incognito mode didn't help either.

P.s.

This issue happens on Safari, while on Chrome it works well.


author: kgarridogonzalez
body: Same error ...


author: Alessandro Moffa
body: We have the same problem.  
The error would appear to be caused on pages with multiple "include excerpt"

comments: author: Victor Ivanchenko
body: true, removing "excerpt include" helps


author: Alessandro Moffa
body: <https://confluence.status.atlassian.com/incidents/pv6w51zqr29x>


author: Carlijn van Hassel
body: Same error, but there is not "excerpt include" on the page..?


author: Carlijn van Hassel
body: Fixed over here, looks like there was some sort of 'hidden' include excerpt, which was not visible in Edit mode.


author: Izabela Osiecka
body: We have the same error.


author: Admin
body: Same issue also :(!


author: Victor Ivanchenko
body: I have the same issue


Tags: cloud

confluence-cloud
Does Trello have a powerup that works similar to mirror by Unito?
Asked by Jason Michalak:

I don't want to pay for trello and pay for a 3rd party power up. If I upgrade to business team, does trello have a power up that works similar to mirror by unito?


Answers:
author: Iain Dooley
body: [@Jason Michalak](/t5/user/viewprofilepage/user-id/3801959) the power ups available on free accounts are the same as those available on paid accounts, it's just that on free accounts you can only have one power up per board. If you only want to use the mirror power up on your board, then you can use the free version of Trello and pay for the Unito powerup.

comments: author: Lee Allen
body: [@Jason Michalak](/t5/user/viewprofilepage/user-id/3801959) were you able to find a solution for this? My team is going to use the business account and I just realized that the unito power up which we are going to use heavily is not included as a free power up. I don't want to have to pay for it in addition to the business plan. Please let me know thanks


author: Iain Dooley
body: [@Lee Allen](/t5/user/viewprofilepage/user-id/3945001) getting a really solid 2 way mirror between cards is pretty intense, I haven't seen anything that does it as seamlessly as Unito. Do you really need full 2 way sync though? If you just need an overview of what's being done perhaps there is a lighter weight solution using the API that would save you some coin.


author: Lee Allen
body: Thanks for your reply on this..do you have any suggestions for the API solution? I will look into it with my team


author: Iain Dooley
body: [@Lee Allen](/t5/user/viewprofilepage/user-id/3945001) if you're on Business Class, then you'll have enough Trello quota to run basic synching, for example this would copy a linked card to a target board when you move the source card into the "Doing" list:

![2020-06-02 at 10.52 pm.png](https://community.atlassian.com/t5/image/serverpage/image-id/97403i66A039BEA270B2A8/image-size/large?v=v2&px=999 "2020-06-02 at 10.52 pm.png")You could then add similar commands to find the first card linked in the attachments and synch comments, add labels when cards are moved between lists and so on. You could do something similar directly with the API using Trellinator like this:

<https://gist.github.com/iaindooley/6c3e0364a60b4c11c4ce5cbdb2ab85fb>

You can read more about Trellinator here:

<https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271>
How does this integrate into Teams?
Asked by Jennifer Morris:

With Trello, there were boards and the application was easily added to the Teams. How do we do this for Atlassian or get the boards to post to Teams?


Answers:
author: Sajit Nair _Trundl_
body: For connecting MS Teams and JIRA, you can actually use native addons now.

Just click on '+' and select the required JIRA tab and follow the instructions to set it up on your channel. There's actually quite some documentation availale at - [Link](https://techcommunity.microsoft.com/t5/microsoft-teams-blog/new-jira-server-integration-for-microsoft-teams/ba-p/327688)

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/85940i4F9A86E4D28D1AC9/image-dimensions/389x159?v=v2 "Capture.PNG")

comments: author: Sajit Nair _Trundl_
body: [@Jennifer_Morris](/t5/user/viewprofilepage/user-id/3801612)- did you get a chance to check it out ?  
If it works, please accept the answer and feel free to let us know if you need more help.


author: Jennifer Morris
body: Thank you-I think I need more insight to the applications themselves. I had just started to become familiar with Trello and now do not know how to get boards etc. into Teams...I am not an IT person so this is very foreign to me in general.


Tags: off-topic