youngmon/atlassian-qna huggingface dataset:
Limit edit possibilities
Asked by Josefina Johansson:

We have a space at Confluence that everyone with access to our Company Confluence can read and comment but not edit. Now I want to add the possibility to edit existing pages for a group of people. But I don't want them to be able to create new pages. Is that possible?


Answers:
author: Josefina Johansson
body: I think it should like page restriction, when you have edit permission, you should have add permission.

comments: author: Josefina Johansson
body: I was afraid that it was so :(


author: Jack Brickey
body: Hi [@Josefina Johansson](/t5/user/viewprofilepage/user-id/5057926) , in Cloud the create new content and edit existing content are under a single permission.

**Add**   
Required for users to create ***++OR++*** edit content within a space. This permission is assigned separately for each content type (pages, blog posts, comments, and attachments).

providing users with the Add permission will give them the ability to add new pages and edit existing content.

I am not aware of a way to alter this. Maybe someone else has a better answer for you.

comments: author: Josefina Johansson
body: I was afraid that it was so. And normally I would agree that this is the best way to do it. But for this space it would have been great to give people the opportunity to contribute but not to create new pages.


author: Jack Brickey
body: Hi [@Josefina Johansson](/t5/user/viewprofilepage/user-id/5057926) , here is an open issue - [CONFCLOUD-38722 Not possible to restrict users to edit page contents without grant add permission in all the space](https://jira.atlassian.com/browse/CONFCLOUD-38722)

You may wish to vote/watch.


Tags: cloud

confluence-cloud
Where are these tools on the page from?(Confluence)
Asked by Alex:

Hi! Please tell me where these tools from the cap come from? (a screenshot was sent to us by the customer)

<br />

is it possible how to do sorting in the columns without them (tools from the screen) ?

Thanks)![photo_2023-02-03_11-45-14.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/238072i8B67C4B51E16DFBD/image-size/large?v=v2&px=999 "photo_2023-02-03_11-45-14.jpg")


Answers:
author: Nic Brough -Adaptavist-
body: They have the [Table filter and charts macro](https://docs.stiltsoft.com/tfac/cloud/welcome-to-table-filter-and-charts-for-confluence-42239760.html) installed. If you click on one of the icons, it will pop a macro entry box up, which includes a link to the docs at the bottom.

Confluence does not natively support table sorting (it's always been weak on tables, leaving it to partners to provide apps that can do it better)


Tags: jira-service-desk-server

jira-service-management

jira-service-management-server
Automation rule
Asked by Nazokat Mirkhosilova:

Hello all, I've created an automation rule and it works only when the recipient contains personal corporate email. Seems like it doesn't recognize general distribution email addresses that belong to the group of people. Could you advise if there is an option to make it come to general inbox?

Thank you in advance!

Nazokat Mirkhosilova

nazokat.mirkhosilova@bertelsmann.de


Answers:
author: Kian Stack Mumo Systems
body: [@Nazokat Mirkhosilova](/t5/user/viewprofilepage/user-id/5137701)

I can't find anything in the official documentation indicating if it supposed to be able to email distribution lists, but I'm fairly certain Automation for Jira is able to.   

Another user was facing a similar issue -https://community.atlassian.com/t5/Jira-Service-Management/Automation-rule-sending-email-to-distribution-list-problems/qaq-p/1890673 - and it turned out it was a problem on the mail server side. Perhaps you could check there to see if the message is being blocked somehow?

Thanks!

Kian


Tags: cloud

confluence-cloud
Advanced Roadmap Macro is linked but why not automaticlly updated in Confluence
Asked by Stephanie Plambech:

Hello out there

You always have some good advice and knowledge. So hope you can help me here.

I have linked my Jira Roadmap to my Confluence page via Advanced Roadmap Macro - but when I update my Jira Roadmap it does not update automatically - only when I go in and generate/update the link. And that's waiting time in my opinion.

Can some of you enlighten me on how to do it smarter ?


Answers:
author: Dave Mathijs
body: Hi [@Stephanie Plambech](/t5/user/viewprofilepage/user-id/3983495)

Just to be sure: Are you talking about the **Roadmap Planner Macro** or the **Advanced Roadmaps Macro**?

comments: author: Stephanie Plambech
body: Hi Dave   
It is Advanced Roadmap - I can see there is a differece :D


author: Stephanie Plambech
body: Hi Dave,   
Did you have some good advice for the Advanved Roadmaps ?


Tags: confluence-server

data-center

roadmap

server
Unable to open the gliffy diagrams in edit mode for one of the user in my instance .
Asked by Gorrepati Satyavani:

Hello Experts..

Unable to open the gliffy diagrams in edit mode for one of the user in my instance .

What should we do..

Thanks


Answers:
author: Samie Kaufman - Your Gal at Gliffy
body: Hi [@Gorrepati Satyavani](/t5/user/viewprofilepage/user-id/4632520) !

Please email our support team at support@gliffy.com if you haven't yet. To help trouble-shoot, we'll want some info about your account that you probably don't want to post publicly (like your Entitlement Number or SEN).

Thanks so much!

Samie


Tags: cloud

confluence-cloud
Needing assistance with image alignment in Confluence Cloud
Asked by Sarah Wilson-Rei?mann:

Hi [@Stephen Sifers](/t5/user/viewprofilepage/user-id/2145523) I know this is an old one, but I am not currently able to horizontally align images in the cell of a table. I can resize them to make them small enough to all fit on one line, but I can't put them on the same line. This is super annoying because it now pushes the row all the way down, there's tons of white space, and I need the reader to see all three images in one view along with the copy in the other columns. Please help! Thank you.

The question was moved from the original post [How to align and resize images in tables?](https://community.atlassian.com/t5/Confluence-Cloud-questions/How-to-align-and-resize-images-in-tables/qaq-p/1246603)


Answers:
author: Ruby
body: This is really frustrating. Using Layout does not work if you are already working within a layout column. And Layout only allows for up to 3 columns.

In this example I tried aligning them all to the right or the left but the first one is always out of alignment.

![Screenshot 2023-10-23 at 5.53.15 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/287849i56C943A96389760B/image-size/large?v=v2&px=999 "Screenshot 2023-10-23 at 5.53.15 PM.png")


author: Jessica
body: Hello [@Sarah Wilson-Rei?mann](/t5/user/viewprofilepage/user-id/5137687)

The option to add images on the same line are only possible if they are added through the /layout macro, where you can choose up to 3 tiles and add an image in each one of those tiles.

Adding images inline, in the same line next to another or choosing the alignment of the same in the page, is not something possible with the current editor.

We have a few feature requests create to address it:

* [Allow Images to be inserted inline or in a sentence in the New Editor](https://jira.atlassian.com/browse/CONFCLOUD-68501)
* [No longer able to align images](https://jira.atlassian.com/browse/CONFCLOUD-68805)
* [Issues with Images using new Confluence editor](https://jira.atlassian.com/browse/CONFCLOUD-65597)

Depending on your use case and the size of images to be used, you can create Emojis to added them next to your text or side by side in the same line.

<br />

We understand this is not the ideal scenario, but we hope helps clarifying and the workaround can help depending on the case.

Regards,  
Jessica

comments: author: Sarah Wilson-Rei?mann
body: Thanks [@Jessica](/t5/user/viewprofilepage/user-id/3667333) , I'll check the other feature requests out.


author: Jessica
body: No worries, Sarah-Wilson.  

Hope this at least helps clarifying some things, and I hope the layout can helps as a workaround.

Regards,  
Jessica


author: Christi Brooks
body: Emojis are not a solution as you cannot add ALT text to an emoji.


author: Cory Carpenter
body: You also cannot left align an image when it is within an expand macro. This is also pretty frustrating.  

And tables apparently have to be full width of the page if you want it aligned to the left. This leaves a lot of weird whitespace as well.


Tags: atl-rvw

cloud

confluence-cloud

table
Link Training Documents f?r Astras Grid
Asked by Hosse Osse:

The Link f?r German Grid does not go


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Hosse Osse](/t5/user/viewprofilepage/user-id/5137599) and welcome to the community,

I'm afraid we are gong to need a bit more information to be able to help you :/


Tags: cloud

confluence-cloud
How to use the SET function in table transformer
Asked by Bart Hoegaerts:

I'm trying to use the SET function in table transformer as described on  
**Using multiple SQL statements. Inserting new rows**   
[Custom Transformation - use cases with advanced SQL queries (stiltsoft.com)](https://docs.stiltsoft.com/tfac/cloud/custom-transformation-use-cases-with-advanced-sql-queries-42241587.html#CustomTransformationusecaseswithadvancedSQLqueries-UsingmultipleSQLstatements)   

I have created a simple table and where I want to add up 1 year per row on the date start; the added date to be set as end year.  

this is the statement:  
SET @count = 0,  
SET @date = (SELECT T1.'Start' FROM T1),  
WHILE @count \< 15  
BEGIN  
SET @count = @count + 1,  
SET @date = DATEADD(YEAR,1, @date),  
INSERT INTO T1(T1.'End') VALUES (@date),  
END  
SELECT \* FROM T1  

but it returns an syntax error  
SyntaxError: Parse error on line 1: SET @count = 0, SET @date -----\^ Expecting 'LITERAL', 'BRALITERAL', got 'COUNT'  

How do I use the SET function in table transformer?   
thanks!


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Bart Hoegaerts](/t5/user/viewprofilepage/user-id/4977940),  

Please note some differences between your query and the query from our documentation:  

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

SET @cnt = 0;  
SET @date = (SELECT T1.'Start' FROM T1);  
WHILE @cnt \< 15  
BEGIN  
SET @cnt = @cnt + 1;  
SET @date = FORMATDATE(DATEADD(YEAR,1,@date));  
INSERT INTO T1 (T1.'End') VALUES (@date)  
END;  
SELECT \* FROM T1  

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

Here we use @cnt, not @count because COUNT is a special function and there may happen a conflict within the query. Also pay attention on the semicolons at the end of the lines (not commas).  

Also here is a variant of a slightly more complex query to get rid of an empty cell in the result table:  

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

UPDATE T1  
SET T1.'End'=FORMATDATE(DATEADD(YEAR,1,'Start')) WHERE 'Start Mark'="Start";  
SET @cnt = 0;  
SET @date = (SELECT T1.'End' FROM T1);  
WHILE @cnt \< 15  
BEGIN  
SET @cnt = @cnt + 1;  
SET @date = FORMATDATE(DATEADD(YEAR,1,@date));  
INSERT INTO T1 (T1.'End') VALUES (@date)  
END;  
SELECT T1.'Start', T1.'End' FROM T1  

![Fri 8-4.png](https://community.atlassian.com/t5/image/serverpage/image-id/238103iBA1BB3E414D22BA1/image-size/large?v=v2&px=999 "Fri 8-4.png")  
Hope it helps.

comments: author: Bart Hoegaerts
body: Perfect ! this works well ! Thanks a lot !


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts

table-transformer
Outlook email alias integration with Confluence
Asked by Dabin Daniel Sundaram:

Hi Community,

I would like to know about the outlook alias integration with the Confluence. We are receiving many requests to add the outlook email alias to the confluence spaces, watchers list, etc. Each time we are doing it manually, there is no real time sync. Do Atlassian provides any feature for integrating the outlook alias with Confluence where we can add the email alias directly into the spaces, watchers list, etc..?

Regards,  
Dabin


Answers:
author: Asha Goyal
body: Hello [@Dabin Daniel Sundaram](/t5/user/viewprofilepage/user-id/4622843)

Better you can use the Atlassian REST API to automate this process. You can write a script that retrieves the email alias from Outlook, and then uses the REST API to add the email alias to Confluence.

Thanks


author: Mahesh Shinde
body: Hi [@Dabin Daniel Sundaram](/t5/user/viewprofilepage/user-id/4622843) :

May I Know, what is the purpose behind this request?

If you are talking about the getting notification to the users whenever updates in content, then please refer this document: <https://confluence.atlassian.com/doc/email-notifications-145162.html>

Regards,  
Mahesh Shinde

comments: author: Dabin Daniel Sundaram
body: Hi [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848)

I have an email alias consist 100 emails in it. I want to add that outlook email alias in the space permission. As the confluence is not integrated with the outlook I couldn't add the email alias in the space permission. I'm adding the email of the user individually or by creating the group in the space permission. I want to integrate outlook email alias with confluence. Do confluence provide any feature for the outlook email alias with the confluence?

Regards,  
Dabin


Tags: confluence-server

server
Need Admin permission.
Asked by Ashwini Singh:

Team, I need Admin permission to secure our existing page: <https://confluence.honeywell.com/display/ACSWIKI/ACS+VECE+Home>

It was created by my previous boss, and he left the organization now. We just observed that the page is not secure and can be modified by anyone, which is big risk with our all-existing contents.

How Can I get Admin role / access to restrict our page to get modified by anyone. I need full control on the same. Please suggest...


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Ashwini Singh](/t5/user/viewprofilepage/user-id/5137514) and welcome to the community,

You have to impose page restriction about editing the page. You don't need to be an admin of the space, or confluence admin. You just have to speak to your admin about granting you the permission to restrict pages. Read more about them here <https://support.atlassian.com/confluence-cloud/docs/add-or-remove-page-restrictions/>

To contact your admin, if they have setup the contact form go here: <https://YOURDOMAIN.atlassian.net/wiki/contactadministrators.action>

If you happen to have Jira as well, then go here <https://YOURDOMAIN.atlassian.net/jira/contact-administrator>

Let me know if the above helps.


author: Mahesh Shinde
body: Hi Ashwini,

You can check with Confluence Site Admin to provide you the admin permission for this affected space. Once you got access then please check in permission, if there is any global group have access or else other users access and from there you can revoked the access for invalid users.

Please, refer this article to get the more information: <https://support.atlassian.com/confluence-cloud/docs/assign-space-permissions/>

Regards,

Mahesh Shinde


Tags: cloud

confluence-cloud
How to specify file name of viewpdf macro
Asked by GordonS:

How do I create a page using Python API create_page() with embedded PDF? I'm formatting the body of the page as XHTML, however, I could not find out how to embed PDF file.

<https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html>

does not go into detail about embedding pdf.

Here's the content of body:  

```
<ac:link>
 <ri:attachment ri:filename="report.pdf" />
 <ac:plain-text-link-body>
   <![CDATA[Link to a report.pdf Attachment]]>
 </ac:plain-text-link-body>
</ac:link>
<hr />
<ac:structured-macro ac:name="viewpdf" ac:schema-version="1" >
 <ac:parameter ac:name="filename">report.pdf</ac:parameter>
</ac:structured-macro>
```

The first link works and I can open the attachment. However, the viewpdf does not find the report.pdf file.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@GordonS](/t5/user/viewprofilepage/user-id/5137449) ,

welcome to the Atlassian community!

PDF macro structure at storage format level is the following :

```
<ac:structured-macro ac:name="viewpdf" ac:schema-version="1" data-layout="default" ac:local-id="7be9d23b-d502-4bae-9de0-8d8f26d02898" ac:macro-id="852d4900-52ce-4967-9c7c-26493c4973e8">
<ac:parameter ac:name="name">
<ri:attachment ri:filename="YOUR_FILE_NAME_HERE.pdf" ri:version-at-save="1" />
</ac:parameter>
</ac:structured-macro>
```

Hope this helps,

Fabio

comments: author: GordonS
body: Thank you Fabio for quick reply:

In the end I got it to work, however, I have a question that needs clarification  

```
 <ac:structured-macro ac:name="viewpdf" ac:schema-version="1"
 data-layout="default" 
 ac:local-id="xxxxxxxx-32ea-4827-b4ce-xxxxxxxxxxxx"
 ac:macro-id="852d4900-52ce-4967-9c7c-26493c4973e8" >
   <ac:parameter ac:name="name">
     <ri:attachment ri:filename="report.pdf" ri:version-at-save="1" />
   </ac:parameter>
 </ac:structured-macro>
```

I generated my own random GUID for local-id and copied your macro-id. Is that what I was supposed to do? Should the local-id match the attachment? The following command  

```
attach_file('report.pdf', page_id = pageID, content_type='application/pdf')
```

returns structure with  

```
"extensions" {
  "mediaType": "application/pdf",
  "fileSize": 5384227,
  "comment": "Uploaded report.pdf.",
  "mediaTypeDescription": "PDF Document",
  "fileId": "xxxxxxxx-3f69-4d8a-ae3c-eef4c2a928aa",
...
```

However, I do the attach_file() after I do the create_page() since I need the page_id from the return value of create_page(). Was I supposed to go back to the page and edit it?

By the way, I did not include content_type to attach_file() at first and got the following message. The correct content_type fixed it. Yay!

![Screen Shot 2023-02-03 at 11.22.38 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/238198i8C9534FB127765BE/image-size/large?v=v2&px=999 "Screen Shot 2023-02-03 at 11.22.38 AM.png")


Tags: cloud

confluence-cloud

macro

pdf

xthml
Conditions and status
Asked by Julia.Checchia:

I want to change the color of a date field depending on specific conditions : example if date is less than 2 months from today, color it amber, if less than 1 month color it red, no other color is necessary.

Is there such a feature in Confluence ?

Looking forward to ideas.


Answers:
author: Julia.Checchia
body: [@Anastasia Bek _Stiltsoft_](/t5/user/viewprofilepage/user-id/5133158) I will certainly try, it will partially fulfill my requirement. You are amazing, thanks!


author: Anastasia Bek _Stiltsoft_
body: Hi [@Julia.Checchia](/t5/user/viewprofilepage/user-id/5137280) ,

Thanks for sharing your use case. Unfortunately, there's no way to change the colour of a date field depending on specific conditions in Confluence out of the box. If you're thinking of a workaround, we can suggest using our [Handy Macros for the Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=create_download_button) app.

With this app, you can get a better date visualization with the [Handy Date macro colouring feature](https://docs.stiltsoft.com/hmfc/cloud/handy-date/how-to-use-handy-date) available on Cloud. Please note, that the date colouring changes according to these rules:

* the current date - red
* all dates before the current date - red
* a week after the current date - yellow
* more than a week after the current date - grey

See the example below:

![Date+coloring.gif](https://community.atlassian.com/t5/image/serverpage/image-id/239021iDE57971F39883DC6/image-size/large?v=v2&px=999 "Date+coloring.gif")

[Handy Macros for the Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=Conditions_and_status) has a set of other macros for multiple use cases. Particularly, try to combine [Handy Date](https://docs.stiltsoft.com/hmfc/cloud/handy-date/how-to-use-handy-date) with the [Handy Status](https://docs.stiltsoft.com/hmfc/cloud/handy-status/before-you-start) to create dropdowns in Confluence and change statuses without page edits.

You can try the [Handy Macros for the Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=date_colouring) app on the Atlassian Marketplace for free to see if it works for you. [Our support](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Handy%20Macros%20for%20Confluence) is always happy to assist with any concerns.

Have a good day!

Warmest regards,

Anastasia


author: Anastasia Bek _Stiltsoft_
body: [@Julia.Checchia](/t5/user/viewprofilepage/user-id/5137280) My pleasure, happy to help!
Table adding new columns after saved
Asked by Tiago Silva:

Hi,

I'm updating a table that has had to many columns in Confluence Cloud using MS Edge.  

This is the table formatted and ready to be saved:

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

And this is the table after I hit save:

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

I included the table in a section, put more space between the tables and saved, same problem.

I've searched in the internet but seems I'm not describing the issue correctly, since I didn't find a similar issue.

Thanks for your time!


Answers:
author: Brant Schroeder
body: [@Tiago Silva](/t5/user/viewprofilepage/user-id/4209956) Was the original table pasted in from Word?

comments: author: Tiago Silva
body: Hi Brant, thanks for your answer.  
No, it was a original Jira table.  
I just started fresh and my problem was solved.


Tags: cloud

confluence-cloud

table
Can't mention or or post profile
Asked by Jamie G.:

I am trying to create a team page but I can't mention or create a profile layout because it states there are no option.

![user.png](/t5/image/serverpage/image-id/237956i2BEA3063483FB17B/image-size/large?v=v2&px=999 "user.png")


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Jamie G.](/t5/user/viewprofilepage/user-id/5136851) [@Jamie G.](/t5/user/viewprofilepage/user-id/5136851) and welcome to the community,

Do you have invited other users in your instance? Did you start typing to see if you get any results?

comments: author: Jamie G.
body: Oh my, I feel silly. I just needed to start typing the names and I got it to work. I figured there would be a dropdown of names. Thank you! [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197)


author: Alex Koxaras _Relational_
body: No prob [@Jamie G.](/t5/user/viewprofilepage/user-id/5136851) !

Kindly mark my answer as accepted in order to help others with similar questions. Thank you!


Tags: cloud

confluence-cloud
Is it possible to create a custom field in jira that pulls information from a custom ratio?
Asked by trevor thenga:

I am trying to create a new field on my jira issues that shows a custom ratio i created which shows that issues completion percentage.


Answers:
author: Nic Brough -Adaptavist-
body: You will need to create a script or automation that can calculate your new field from others. What scripting or automations tools do you have available? Automation in Jira?


Tags: cloud

confluence-cloud

custom-field