youngmon/atlassian-qna huggingface dataset:
Confluence API - Permission IDs
Asked by Rory Strickler:

Hey all,

We at Jamf are doing some large scale user/space access management and have been leveraging the API for much of our work. While the documentation for adding permissions is quite straightforward the docs to delete perms are rather spartan.

The specific part we are unable to figure out is regarding permission IDs as mentioned [here](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions/#api-wiki-rest-api-space-spacekey-permission-id-delete). There do not appear to be any examples in the documentation and looking through various web forums provided little information on the topic. Does anyone here know where we might be able to query the specific permission IDs for confluence? Owning to permissions in Confluence being standard issue and lacking schemes like Jira I would imagine the IDs for each permission would be standardized as well, but I could be wrong.

Any guidance or help on this would be greatly appreciated.

Thanks!

(Please don't recommend we buy an add-on as the solution. We are looking to solve this with the tools available)


Answers:
author: Gonchik Tsymzhitov
body: Nice question,

v1 does not include get persmission

<https://developer.atlassian.com/cloud/confluence/rest/v1/intro/#about>

but you can find in v2:

<https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions/#api-spaces-id-permissions-get>


Tags: api

cloud

confluence-cloud

rest-api
Help setting up automation to remove a label from a Confluence page when another label is present.
Asked by Jolie:

I'm attempting to establish an audit process for our Confluence space to ensure our content remains current. The objective is to create a list within Confluence that identifies content that hasn't been updated in the last 6 months. However, I also want to exclude certain articles from this list, specifically those that don't require review or modification.

Part 1.

Automation 1: Add automation to automatically add label "ts-review" to content that hasn't been updated within the last 6 months.  
\*This is working as intended.

![Screenshot 2023-06-13 at 8.57.28 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/262944iEDCF337E3494D256/image-size/large?v=v2&px=999 "Screenshot 2023-06-13 at 8.57.28 AM.png")

Automation 2: Add automation for content we don't want to be flagged for review, remove tag "ts-review" on any article with the tag "ts-review-skip."  
\*This part returns the following error in the audit log: *No CQL-compatible content found in the rule context; there is nothing to check against the CQL query. The CQL condition component can only follow components that involve CQL-compatible content, such as the blogpost published trigger, the publish new page action, or the related entities branch.*

![Screenshot 2023-06-13 at 9.11.40 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/262959i025C782A3E95ABBB/image-size/large?v=v2&px=999 "Screenshot 2023-06-13 at 9.11.40 AM.png")

Part 2: Use "Content By Label" macro to pull all content with the label "review" in our Confluence Space.

**Open questions**

1. Why am I receiving an error in my audit log for the second automation?
2. If there isn't a way to remove a label with automation, would there be a way to set up alternative automation to achieve the same behavior? Not ideal, but for example, could we set up an automation to automatically re-publish content with a skip label so it gets excluded from the audit?
3. This could also be achieved without automation by using the "Content By Label" macro if there was the ability to exclude labels. Currently, there is only the ability to include. Is this something that is being looked into as a feature improvement?


Answers:
author: Avinoam
body: Hi [@Jolie](/t5/user/viewprofilepage/user-id/4984508) !

My name is Avinoam and I'm a product manager on Confluence Automation.

Referring to this [support document](https://support.atlassian.com/cloud-automation/docs/branches-in-confluence-automation/) and what you're describing, looks like what you need is the CQL branch which will use that cql to find and loop over all pages and perform those actions.

So, if you use the "related entities" branch for both rules, and consolidate all your conditions into the CQL for that branch component it should work.

Please let me know if this helped!

Thanks

Avinoam

comments: author: Jolie
body: Thanks, Avinoan! Appreciate the help.


Tags: automation

cloud

confluence-cloud
Status 401 ? Unauthorized, trying to get information using Python API
Asked by Javier Lopez:

Hello guys.

I want to access Confluence (Cloud) using Python.

These are the steps I'm following:

* Installed the Python API using pip.
* Created my personal access token in Confluence.
* from atlassian import Confluence
* Created the Python script like this:

```
confluence = Confluence(
url='https://xxxxx.xxxx.net',
username='<my_user>',
password='<my_token>',
verify_ssl=False,
cloud=True
)


def main_process():
    nRet = 0
    cInp = ''

    os.system('clear')

    try:
        cPage = confluence.page_exists('DBM', 'General', type=None)

        print(cPage)
    
    except Exception as e:
        logging.error(e)
```

And the error log shows this:

```
DEBUG :06/13/2023 05:39:05 curl --silent -X GET -H 'Content-Type: application/json' -H 'Accept: application/json' 'https://xxxxx.xxx.net/rest/api/content?spaceKey=DBM&title=General'
DEBUG :06/13/2023 05:39:05 Starting new HTTPS connection (1): xxxxx.xxx.net:443
DEBUG :06/13/2023 05:39:09 https://xxxxx.xxx.net:443 "GET /rest/api/content?spaceKey=DBM&title=General HTTP/1.1" 401 751
DEBUG :06/13/2023 05:39:09 HTTP: GET rest/api/content -> 401 
DEBUG :06/13/2023 05:39:09 HTTP: Response text -> <!doctype html><html lang="en"><head><title>HTTP Status 401 ? Unauthorized</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 401 ? Unauthorized</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Basic Authentication Failure - Reason : AUTHENTICATED_FAILED</p><p><b>Description</b> The request has not been applied because it lacks valid authentication credentials for the target resource.</p><hr class="line" /><h3>Apache Tomcat/9.0.71</h3></body></html>
ERROR :06/13/2023 05:39:09 Expecting value: line 1 column 1 (char 0)
ERROR :06/13/2023 05:39:09 401 Client Error: for url: https://xxxxx.xxx.net/rest/api/content?spaceKey=DBM&title=General
```

It looks like even with the PTA I still need something else or there is a kind of restriction that I do not understand.

Any help will be much appreciated.

Regards

Javier


Answers:
author: Javier Lopez
body: Hello.

Forgot to add my installation ...

* Windows-11
* WSL2 with Ubuntu 22.
* Using Ubuntu for this process (from WSL2).

Regards

Javier


Tags: cloud

confluence-cloud
How to automatically update a page with info from another Confluence page?
Asked by Razvan Bobeica:

Hi, Community!

When I update a page, I want the info to also update on another page. How can I achieve this?  
What can I use besides the [Table Excerpt/Table Excerpt Include](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-excerpt-and-table-excerpt-include-macros-42241623.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) or [Excerpt Include](https://support.atlassian.com/confluence-cloud/docs/insert-the-excerpt-include-macro/) macro?

Thanks for your help!


Answers:
author: Stiltsoft support
body: Hi [@Razvan Bobeica](/t5/user/viewprofilepage/user-id/1806066) ,

You may also try the [Include Page](https://confluence.atlassian.com/doc/include-page-macro-139514.html) macro.

comments: author: Razvan Bobeica
body: Thank you!


Tags: confluence-server

server
Confluence Date
Asked by Saumil_Shah:

I have a form and I have a date options.

I am looking for two things -

* How to do calculation for due date from \[entry.date\]
* Is there any way to get timestamp in confluence data. - Entry date and time

Thank you.


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Saumil_Shah](/t5/user/viewprofilepage/user-id/5172998)

You can take a look at [this page that shows how to add 15 days to a date in ConfiForms](https://wiki.vertuna.com/display/TEST/Using+ConfiForms+Field+Definition+Rule+to+set+the+date+to+15+days+after+the+date+the+user+has+selected)

Alex

comments: author: Saumil_Shah
body: It worked. Thank you


Tags: cloud

confiforms

confluence-cloud
How to delete ACTIVE requirement from deleted page?
Asked by Yulia Stephansky:

Hi,

In Requirements Yogi search I see some requirements that are not linked to any Confluence page.

When I click those requirements, the page is displayed with the following information:

**Requirement \<RY\>**

**The requirement is ACTIVE. The page was deleted. See below for the deleted requirement.**

**Details of \<RY\>**

* **ORIGINAL Unknown document**

**This requirement cannot be purged. Only deleted requirements, or requirements with no parent page and no links, can be purged.**

How can I delete these requirements?


Answers:
author: Mileva Briand
body: Hi Yulia,

Thanks for reaching out. Just got your support request but I'll answer here too for any user who come across this issue as well ?.

You can purge requirements that are deleted, or not associated with any page or link when you go into **Space tools** -\> **Content Tools** -\> **RY Trash.**

Let me know if this works for you, and if you have more questions.

Bests,

Mileva

comments: author: Yulia Stephansky
body: Hi Mileva,

Thank you for your response.

My requirements are not deleted therefore are not in the trash.

They appear in the requirements search but no page is associated with them.


author: Mileva Briand
body: Okay thank you for the clarifications ?

I have created a bug for our devs to fix and will let you know when it is fixed, I will also update here.

This is something that did not occur before so if any other user has the same issue, please raise a ticket on our [support](https://requirementyogi.atlassian.net/servicedesk/customer/portal/1/group/1/create/9).

Best regards,

Mileva


author: Mileva Briand
body: Hey [@Yulia Stephansky](/t5/user/viewprofilepage/user-id/5242265) and others trying to find answers for this.

We have fixed this issue and released it in 3.5.5. As an administrator, there is now a button to set a requirement as deleted, that will then allow you to purge requirements.

Bests,

Mileva


Tags: confluence-server

server
Created a free plan Confluence but it's not initiating
Asked by Jean-Marc Lemay:

Hi,

I've registered today for a free plan Confluence, waited 10 minutes for the Space to create and ended up with a "Oups it is taking longer than expected, you will get an email." Anyone experiencing similar issues right now?

I tried creating it again, but now the name is used.

It's a free product so I don't have access to support, I'm kinda stuck here.

Thank you if you can help or advise.


Answers:
author: Jean-Marc Lemay
body: It was apparently a global issue. It is now resolved and I can access my newly created org in Confluence.


author: Barbara Szczesniak
body: [@Jean-Marc Lemay](/t5/user/viewprofilepage/user-id/5242147) Welcome to the community.

If you look at this page (<https://status.atlassian.com/> ) and click the Confluence tile, you'll see that an issue has been identified with new product activations.

You can sign up to receive emails when issues occur with Confluence (and any of the other products you may use).

comments: author: Jean-Marc Lemay
body: Yes thank you Barbara. I noticed the status changed a couple minutes after I've created this post. Fingers crossed!


Tags: cloud

confluence-cloud
Confiforms
Asked by The Yazzywazzy:

For Confiforms date picker I only want user to select Monday or Wednesdays. Is there a way for me to achieve that?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@The Yazzywazzy](/t5/user/viewprofilepage/user-id/5242144) and welcome to this community

You cannot disable selections in a picker, but you can set up a ConfiForms Field Definition Rule that will validate your form on submit and ensure only Monday or Wednesday is selected

Little demo: <http://recordit.co/ZQ5kyPUK0D>

Alex

comments: author: The Yazzywazzy
body: Perfect answer! I was looking for documentation on manipulating days but could not find any. Thanks!


Tags: cloud

confiforms

confluence-cloud
power ups
Asked by Jasmine Ghazarian:

Hello everyone,  

As you know trello has its own checklist in every card, in checklist you can only tick, but we need also "x", for example we have 10 task to do, 6 are done, we tick, 5 is not done, and we dont need it we should add "x"  

Is there any addon or power ups that can give me this all?  

Thanks in advance


Answers:
author: Rafael Dill
body: Hi Jasmine, welcome to the community! I don't think there's a Power-up that could do that, but there's a workaround that might do the trick for you.  

When you click on a checklist item, you have the buttons "Assign", "Due Date" and there's a smiling face right beside it that is for emojis you can use.  

If you write X on there, you can find an emoji that you can use on these items that you don't need. Like this:

![Screen Shot 2022-09-29 at 12.00.48.png](https://community.atlassian.com/t5/image/serverpage/image-id/218474i6DA81BAF5C2BA7DD/image-size/large?v=v2&px=999 "Screen Shot 2022-09-29 at 12.00.48.png")  

Hope that information helps!


Tags: checklist

power-up

task
Synchro
Asked by laurie lajoie:

Bonsoir.   
J aimerai savoir comment synchroniser Trello et Google agenda sur iPhone.   

?a fonctionne sur mon mac sans probl?me mais pas sur le t?l?phone.   
merci de votre aide


Answers:
author: Violetta Chernobuk
body: Salut [@laurie lajoie](/t5/user/viewprofilepage/user-id/5039183)

C'est Violetta de Planyway :)

Malheureusement, je ne vois aucune information sur la synchronisation de l'application Trello avec Google sur iPhone.

Mais vous pouvez utiliser l'application [Planyway pour Trello](https://apps.apple.com/ru/app/planyway-trello-calendar/id1398708038), qui est un calendrier qui visualise la carte Trello. Voici les instructions pour connecter votre autre calendrier ? Google sur iOS : <https://planyway.com/help/mobile-apps/calendar-integrations-on-mobile#add-calendars-to-planyway-on-mobile>
How to use automation to create a new card, everytime I create a list.
Asked by Mat Clasen:

Hello everyone,

whenever I create a new list, I would like Butler to create one or more cards in that list, each with a specific label as well as a start date and a due date.

The problem is, that the rule for autocreating a card demands the name of the list the card shall appear in. When creating the automation, though, I don't yet know the names of the lists I might create.

That was the easy version of the problem and I would be happy to get an answer for that!

Best Mat

The more complicated version includes me creating a trello lists within pipedrive via a pipedrive integration. In this case list will be created and named within pipedrive. There are several scenario that create list names that include the project name and the word "promotion" or "todo". ideally I would like to have Butler create different cards depending whether the list name contains the word "promotion" or "todo". Is that possible within Trello or do I have to use API for that?


Answers:
author: ManuR
body: Hi [@Mat Clasen](/t5/user/viewprofilepage/user-id/5039075) ,

In your situation, you could use the variable {listname} in the field where you're asked for a list name in the "create card" action.

This will automatically fetch the name of the new list that has been created and will add cards to it.

You can review all the variables available with automations on <https://support.atlassian.com/trello/docs/butler-variables/> :)

For your other query, it wouldn't be possible via the built-in automations but it could be achievable via the API and webhooks (<https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-post> \& <https://developer.atlassian.com/cloud/trello/guides/rest-api/webhooks/>).

Cheers,   
Manu \| The Trello Team
Card repeater - how to use and remove cards when done?
Asked by Cynthia Honomichl:

I use Trello as a To-do list. I'd like to add repeating cards (things I should monthly, yearly, weekly, etc). However, if I delete my card after I finished that project, the card repeater doesn't repeat the card. How is this suppose to repeat if I delete a card (aka task) when it's done?


Answers:
author: Lara
body: Hi Cynthia,

Thanks for reaching out!

Just to confirm, are you permanently deleting those cards, or archiving? (<https://support.atlassian.com/trello/docs/archiving-and-deleting-cards/>)

If you are permanently deleting those cards, the Card Repeater Power-Up will no longer on those cards. However, if those cards are *archived* instead, they'll still repeat.

You can read more about how to use the Power-Up here: <https://support.atlassian.com/trello/docs/using-the-card-repeater-power-up/>

Please let us know if you have any other questions, and we'll be happy to help.

All the best,

Lara  
The Trello Team


Tags: account
Question On Two Boards And Board Header
Asked by Larry:

Is it possible to create a button on top of my board that can switch easily to a second board.

I want to use the suggestion of an IMPLEMENTATION BOARD and a DEVELOPMENT BOARD but it would be nice to have button at top to switch back and forth more easily. Possible?

Also, can you remove the power ups, automation buttons? Hide them? Just trying to clean up my workspace boards


Answers:
author: Lara
body: Hi Larry,

Thanks for reaching out!

While there isn't a way to create a button to switch to another board, you could create a Board card instead (<https://support.atlassian.com/trello/docs/card-types/#Board-cards>).

A board card is a card that strictly acts as a visual preview and link to another board. To create a Board card, simply copy the link to the other board, paste the board link as the card name, and press enter.

As for removing the Automation and Power-Up buttons, I'm afraid that's not possible at the moment. I definitely understand how this could be helpful, so I've flagged this as a feature request with the product team.

Please let us know if you have any other questions, and we'll be happy to help.

All the best,

Lara  
The Trello Team
Trello Project management software
Asked by Sagar_Gupta:

Dear sir,

We are looking for trello Project management software for our organization.

Kindly provide us contact person details so we can discuss for its features .


Answers:
author: Violetta Chernobuk
body: Hi [@Sagar_Gupta](/t5/user/viewprofilepage/user-id/5038746)   
It's Violetta from Planyway:)

It depends on what kind of PM features you're looking for.

But I believe it makes sense to test [Planyway power-up](https://trello.com/power-ups/58bd1f9aca72f48c8900574f/planyway-calendar-and-timeline-for-trello&utm_medium=referral&utm_source=atlassiancommunity).

You'll be able to do resource planning, build roadmaps, use calendar views and also there is time tracking capability.

![Case image](https://files.planyway.com/assets/3.0.429/img/main/cases/resource-planning.png)

Let me know if you need any help:)

comments: author: Sagar_Gupta
body: We are automotive organization using Predictive approach in projects.

so we are looking for project management software which help for smooth tracking of project.


author: milynnus
body: [@Sagar_Gupta](/t5/user/viewprofilepage/user-id/5038746)

There are power ups available or you and DIY. Trello is flexible enough for you to build some like this.

![Screen Shot 2022-09-25 at 6.21.09 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/217646iE20BAD74CEEE3244/image-size/large?v=v2&px=999 "Screen Shot 2022-09-25 at 6.21.09 PM.jpg")

This incorporates the use of dashcards and Blue Cat Swim Lanes


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

What do you think you need to discuss?

comments: author: Sagar_Gupta
body: I want to discuss Trello project management features , demo \& it is compatible to our organization need.

I want some sale person contact number to whome i can connect

Location - India.
I am not able to add a card to the calendar power-up in my second board
Asked by giuliano ricciardi:

In my first board I can do everything regularly with my calendar power-up, but now I created a second board, and when I add the calendar power-up, I am not able to add cards. The only thing I can do is setting the hour; nothing else.

Why? Somone help me please.


Answers:
author: Violetta Chernobuk
body: Hi [@giuliano ricciardi](/t5/user/viewprofilepage/user-id/5038727)

It's Violetta from [Planyway](https://trello.com/power-ups/58bd1f9aca72f48c8900574f/planyway-calendar-and-timeline-for-trello&utm_medium=referral&utm_source=atlassiancommunity):)

Are you on the free or premium Trello plan?

comments: author: giuliano ricciardi
body: I solved my issue just using e pre-made template and after setting my power-up calendar.

Cheers ?
Creating a new card from a comment using automate
Asked by Brian De Hayr:

Hello is there a way to create a new card from a comment.

E.g the comment says: @user Your new job is. Getting the answer to the question.

So the Trigger is: [@user](/t5/user/viewprofilepage/user-id/4652557)

The action is: Create a new card using the name: Your new job is.

Description in the new card is: Getting the answer to the question.

Put the new card in another Board under the @user's list


Answers:
author: Rafael Dill
body: Hi Brian, thanks for writing to us.  

Yes, you can create a card from a comment. I've tested here on my end and from what you want, it would be something like this:  

![Screen Shot 2022-09-26 at 15.54.49.png](https://community.atlassian.com/t5/image/serverpage/image-id/217828iBD074F7A6DE84120/image-size/large?v=v2&px=999 "Screen Shot 2022-09-26 at 15.54.49.png")  

I created this by doing the following:

1. Go for your automations
2. On the trigger, select Card Content
3. Go for "when a comment" and write how the comment should begin, end, or contain.
4. Then select Add/Remove, and select the title, comment, and location of the new card that comes from it.

<br />

Keep in mind that we can use variables when using our automations, so feel free to take a look here - <https://support.atlassian.com/trello/docs/butler-variables/>  

Hope that information helps!

comments: author: Brian De Hayr
body: Thank you for replying but unfortunately I don't think explained my self properly.

E.g the comment says: [@User](/t5/user/viewprofilepage/user-id/115298)(the user is the trigger to make a new card and the)

Your new job is: (This what comes after the [@username](/t5/user/viewprofilepage/user-id/1677494) and it will vary all the time so it will have to be a wildcard)

Getting the answer to the question. (This is what is after the Your new job is: So will need another wildcard as this will be different all the time as well.

So the Trigger is: The user name and I will have to make a action for every user I suppose.

The action is: Create a new card using the name: (wildcard). Which is after the username and before the Colin (:)

Description in the new card is: (Wildcard). Which is after the Colin (:)

Put the new card in another Board under the [@User](/t5/user/viewprofilepage/user-id/115298)'s list

I hope this explains it better. I will probably have to set up an action for every user so when that user is mentioned it will go to their list but that is ok.


author: Rafael Dill
body: Hi Brian,  

Got it. I think that if you create a separate automation for each user will do the trick.   

We don't usually create things for our users because our idea is to get you on the right track and learn with the process, so please, feel free to continue to explore our automations and if you have any additional queries, let us know!