youngmon/atlassian-qna huggingface dataset:
How to add label from command line?
Asked by AJ_junichi:

I deleted a label by executing following from windows command line

curl -X DELETE -u myname@domain:aaaaJyjTW5ELIcZmZd1fQ6F65 "<https://domain.atlassian.net/wiki/rest/api/content/942768148/label?name=label_to_delete>

I want to add a label in a similar manner. My attempt was to execute following but this does not work.

curl -X POST -u myname@domain.com:aaaajTW5ELIcZmZd1fQ6F65 "<https://domain.atlassian.net/wiki/rest/api/content/1004568706/label>" --data "\[{"prefix":"global", "name": "section_a"}\]" -H "X-Atlassian-Token: no-check"


Answers:
author: Stephen Sifers
body: Hello,

Happy to help ensure the endpoint is accessible and returning the correct results. To understand what aspect isn't working, could you please either send over the error message to include a (sanitized) screenshot of the output?

Another option would be to run a GET on a page with labels to review the JSON formatting there to ensure what you have matches.

[GET /wiki/rest/api/content/{id}/label](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-labels/#api-api-content-id-label-get) OR [GET /wiki/rest/api/content \| See Expand metadata.labels](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-api-content-get)

Regards,  
Stephen Sifers


Tags: cloud

confluence-cloud
Error 403 when trying to create a user group
Asked by Mehdi:

Im using confluence cloud and i try to create new User group

i get the Authorization token from [https://id.atlassian.com/manage-profile/security/api-tokens](https://id.atlassian.com/manage-profile/security/api-tokens?) \<email\>:API_TOKEN coded base 64

and i add all scopes to atlassian-connect.js

    const bodyData2 = {        "name": "RS-managers"      };    AP.request({ url: "/rest/api/group",         type: 'PUT',        contentType: "application/json",        Accept: 'application/json',        Authorization: "bWJvdWF6emEuc3BlY3RydW1ncm91cGVAZ21haWwuY29tOnd6UGhpRXBWd1JTN0E0aDhrRVRyODhGRg==",        data: JSON.stringify(bodyData2),        success: function (data) {             console.log(data)        }    }).catch(function (error) {        console.log(error)    });


Answers:
author: David Bakkers
body: Hello [@Mehdi](/t5/user/viewprofilepage/user-id/4405152)

You code has the same mistake in it [this other question you asked](https://community.atlassian.com/t5/Confluence-questions/403-Forbidden-while-getting-email-user/qaq-p/1749265). You're not providing the [API version number in the request URL:](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#version)
> The URIs for resources have this structure:
>
> `https://<site-url>/rest/api/3/<resource-name>`
>
> For example, <https://your-domain.atlassian.net/rest/api/3/issue/DEMO-1>


author: Niranjan
body: [@Mehdi](/t5/user/viewprofilepage/user-id/4405152) - Could you try using POST method? PUT is generally used for update.

comments: author: Mehdi
body: i try both and it generate the same error :(


Tags: cloud

confluence-cloud

javascript
Is this a bug?
Asked by Buze Andrei:

![Screen Shot 2021-06-26 at 9.46.47 AM.png](/t5/image/serverpage/image-id/149001iE043E5AA60027431/image-size/large?v=v2&px=999 "Screen Shot 2021-06-26 at 9.46.47 AM.png")


Answers:
author: Nic Brough -Adaptavist-
body: Probably, but there's a lot of places it could be a bug, and you'll need to do some tracing.

For a start, try a different browser - does that look the same?

comments: author: Buze Andrei
body: Yes, it looked the same, but I think it's system related. After a reboot all was good.


author: G subramanyam
body: Hi [@Buze Andrei](/t5/user/viewprofilepage/user-id/4453942) welcome to the Atlassian community.

To me it seems like a system display or battery issue, given the same happened to my laptop. The hardware engineer has troubleshooted and replaced the battery to solve that color blur issue.

Stay safe and stay healthy.


Tags: atl-gruland

cloud

confluence-cloud
Any tip sheets on how to navigate this website?
Asked by Sonia M Agosto:

I've visited the website and I am new to Confluence, I would like to know if there are any tip sheets to more easily find something on the website? It seems there is lots we can do with it, but I'm trying to figure out if there is a easier way to jump directly to whatever topic I want to learn about or something specific I would like to do like for example: create a page and being able to share with my teammates. Thank you, Sonia Agosto


Answers:
author: Stephen Sifers
body: Hello Sonia and welcome to the Community!

Very glad to hear you're getting started with Confluence and looking for tips early on to make your experience better!

We have many resources available to get started and understand some of the best ideas on how to use the products, please see the following:

* [New To Confluence? Here are some tips to help with your first steps.](https://community.atlassian.com/t5/Confluence-articles/New-To-Confluence-Here-are-some-tips-to-help-with-your-first/ba-p/991488)
* [How to use Confluence: guides, tutorials, and demos](https://www.atlassian.com/software/confluence/guides)
* [(Video) How to get the most of Confluence \| Atlassian](https://www.youtube.com/watch?v=sQD9HUvFjSo)
* [(Video) Build beautiful \& smart pages \| Confluence \| Atlassian](https://www.youtube.com/watch?v=MCmzzpfUbDU)

If you're needing more help around Confluence we do have a Community group just for you: [New to Confluence](https://community.atlassian.com/t5/New-to-Confluence/ct-p/new-to-confluence)

If you're looking for more information around the Community jump into our welcome center for a bunch of great information: [Community Welcome Center](https://community.atlassian.com/t5/Welcome-Center/gh-p/WelcomeCenter)

Regards,  
Stephen Sifers


Tags: cloud

confluence-cloud
add link to private external website via rest API
Asked by TJ:

Hello,

I am inserting Confluence pages via Rest API, but when I try to include links to external private content, the page creation fails. I am just inserting links using plain html (\<a href=".."\>\</a\>). Page creation works fine if I instead link to something public like Google. Also, the private links work fine if I add them manually via the Confluence editor.

Thanks for your help,

T


Answers:
author: TJ
body: Turns out there was an ampersand in the link... All is working well when replaced with \&amp;

Cheers!  
T


Tags: cloud

confluence-cloud
Page History: Original version not available anymore after first changes are made
Asked by Gabriel Aklin:

Hello

I have the following Issue and would be greatful for any help on how to solve this:

I uploaded multiple pdf-documents onto our Confluence space. After uploading, the content has been changed on many pages. Now I would like to track what changes were made on each page. However, even though changes were made on a page, the Page History-feature only shows one version: The one whith the changes already applied - and the original version from the upload is missing, so there is no version to compare the current version to.

I also noticed the following behaviour: When I check the Page History on a page that has not been touched since the original upload, it show only one version (Current Version, v1) from May 19. Then, when I apply some changes and go back to the Page History, it will still only show one version (Current Version, v1), but the date has changed from May 19 to June 25.

Does someone know why this occurs and maybe have any advice on how to fix this?

We are using the Scroll Viewport add-in in case this matters.

Thanks a lot in advance and best

Gabriel


Answers:
author: Brant Schroeder
body: [@Gabriel Aklin](/t5/user/viewprofilepage/user-id/4294534) I am unable to recreate the issue in my cloud instance. Can you provide more detailed steps about how you are successfully getting pages to have no history?


Tags: cloud

confluence-cloud

document-management

import

page-history

upload

version
Enable old editor
Asked by Matteo Bragagnini:

Hello,

could you please enable the old page editor for our cloud instance?

The new one is breaking our user experience.


Answers:
author: Stephen Sifers
body: Hello Matteo and welcome to the Community.

Glad to have you in the Community, with this said I've gone ahead and opened a support case for you with support to enable the legacy editor.

Your case is [JST-672353](https://getsupport.atlassian.com/servicedesk/customer/portal/23/JST-672353)

Regards,  
Stephen Sifers


Tags: cloud

confluence-cloud
Can't insert Excel file to template
Asked by Tak S.:

I would like to create a confluence template with Excel file attached.

But even if I try to insert a excel file, I can't achieve it.

Can somebody give me a good advice to me?

Steps I tried:

1. Save a certain Confluence page with Excel file attached.

2. Create template from "Content Tools" tab in "Space Settings" of Confluence.

3. Press \[+\] button -\> Select "View more" -\> Select "Office Excel" macro.

4. Specify the page prepared in step 1 in "Page Name" box and choose the intended Excel file in "File Name" box.

Result:

Although "Save" button becomes valid, nothing happens even if I press the "Save" button.

Is this caused by same reason as issue [CONFCLOUD-66471](https://jira.atlassian.com/browse/CONFCLOUD-66471) ?

Are there any workaround so far?

Any advice would be very appreciated!

Thank you in advance.


Answers:
author: Brant Schroeder
body: [@Tak S.](/t5/user/viewprofilepage/user-id/4198757)

I was able to recreate the same issue and not able to attach an excel file to a template in Confluence cloud. I think the issue you referenced is a separate issue. I was not able to find anything in the documentation stating that this could not be done. I would suggest submitting a support issue to Atlassian.


Tags: cloud

confluence-cloud
How to export HTML macros to PDF and word documents.
Asked by numberbusy:

I have a confluence page using multiple HTML macros. These macros are generating graphs etc.

When I try to export this page to PDF or word, the macro related part of the page comes out to be blank. I would like to know how can I include these parts in the exported page (PDF or word).

I have seen this link: <https://developer.atlassian.com/server/confluence/how-do-i-get-my-macro-output-exported-to-html-and-pdf/>, but I am unsure how to put all this together. Does it mean, to export the above said page, I need to write another plugin? Any help or pointers are appreciated.


Answers:
author: Brant Schroeder
body: [@numberbusy](/t5/user/viewprofilepage/user-id/3447340) I know that some HTML content embedded through the delivered HTML macro does not render on export. Have you tried printing to PDF as a work around? I believe this will work.


Tags: confluence-server

server
Possible to render a Markdown Content with Forge
Asked by Gernot Grames:

Hi,

i am developing a plugin with the possibility to load a remote README.md file.

But i can't find a Forge Component to render the Markdown content correctly.

Is it possible to load a 3rd Party react Module to render this?

For example <https://github.com/remarkjs/react-markdown>

Any ideas

Thanks


Answers:
author: Dugald Morrow
body: Hi [@Gernot Grames](/t5/user/viewprofilepage/user-id/4435742) ,

Forge functions execute in a custom NodeJS runtime which supports most NodeJS libraries. So whilst your Forge app function can include the library and convert markdown to HTML, this is all happening within the function and not the browser. If you need the HTML rendered in a browser, you'll need to use Forge's custom UI capability. <https://developer.atlassian.com/platform/forge/custom-ui/>

For further questions about Forge, you're better off asking our developer community at <https://community.developer.atlassian.com/c/forge/45>.

Regards,

Dugald


Tags: cloud

confluence-cloud
Pricing Enquiry
Asked by Jeffrey Poon:

What is the definition of a user? Is a person that only has read access considered a user?

Thanks


Answers:
author: Ollie Guan
body: Hi [@Jeffrey Poon](/t5/user/viewprofilepage/user-id/4439196) ,

As long as the user logs in with an independent account and password, whether it has read-only or read-write permissions, it will be counted as a valid user.

You can enable anonymous (also known as public) access to your Confluence site by granting the "Use Confluence" permission to anonymous users. An "anonymous" user is someone who hasn't logged in to your Confluence site.

BTW: The option for anonymous users does not apply to Free Plan.

<https://support.atlassian.com/confluence-cloud/docs/set-up-public-access/>


Tags: cloud

confluence-cloud
Content macro question, include content
Asked by Lynette Perkins:

I have 4 sections (highlights, lowlights, risks, dependencies) on 6 different pages. I need to push the content from each individual section on each of those 6 pages to a master page. So all 6 pages highlights get pushed to the "highlights" section on the master page. All 6 pages lowlights get pushed to the lowlights section on the master page. There is more content on these pages I do NOT want pushed, just these 4 sections. I tried to make each section an excerpt and then use the excerpt include macro but it will only include the top excerpt on a page, not multiple. Any other macros and tools I can use to do this? Thank you!


Answers:
author: Brant Schroeder
body: [@Lynette Perkins](/t5/user/viewprofilepage/user-id/4186792)

There is not a great way to do this. Excerpts is what I would have recommended but it has its limitations and would be cumbersome to maintain. There is this app but I am not sure this would work for you either. [https://marketplace.atlassian.com/apps/1224009/content-mirror-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1224009/content-mirror-for-confluence?hosting=cloud&tab=overview)


Tags: cloud

confluence-cloud
Confluence Server URL to use for Madcap Flare import
Asked by Ryan Hargreaves:

I'm trying to use the Confluence import option in Madcap Flare which asks for the Confluence Server URL. I have tried using the same URL that we use to access the site but it always says it's invalid.


Answers:
author: Brant Schroeder
body: [@Ryan Hargreaves](/t5/user/viewprofilepage/user-id/2807909) Is your server instance behind a proxy?


Tags: confluence-server

server
Unable to authenticate to any atlassian products after server patch and change to MFA
Asked by Trevor Wood:

We currently use Active Directory to authenticate our Confluence, Jira, Bitbucket, Bamboo and Crowd instances. Two things happened this week, and I am not sure which one or if both had to do with this issue. One was a routine patch to our server, and the other is our systems team implemented MFA for O365 products. Now, we cannot log into any of our Atlassian services, getting a rather generic message:

![Screen Shot 2021-06-24 at 3.46.34 PM.png](/t5/image/serverpage/image-id/148856iFFBDFEE6E8C0A539/image-size/large?v=v2&px=999 "Screen Shot 2021-06-24 at 3.46.34 PM.png")

A colleague who was already logged in is currently the only one able to access any content. An error he encountered is more verbose and begins with:

com.atlassian.crowd.exception.runtime.OperationFailedException: The following URL does not specify a valid Crowd User Management REST servi...


Answers:
author: Brant Schroeder
body: [@Trevor Wood](/t5/user/viewprofilepage/user-id/3566329)

I would suspect that it is the MFA. Have you checked the server logs what are you seeing there? You should also be able to login as an admin to make adjustments to the settings by doing this [https://confluence.atlassian.com/jirakb/restore-passwords-to-recover-admin-user-rights-972329273.html#:\~:text=To%20recover%20administrator%20user%20rights%3A\&text=Start%20your%20Jira%20nodes.,specified%20in%20the%20system%20property.](https://confluence.atlassian.com/jirakb/restore-passwords-to-recover-admin-user-rights-972329273.html#:~:text=To%20recover%20administrator%20user%20rights%3A&text=Start%20your%20Jira%20nodes.,specified%20in%20the%20system%20property.)


Tags: confluence-server

server
First accesss problem
Asked by Robson Garcia:

Hi. I'm having issues with some users accessing confluence for the first time.  
I'm getting "you are almost there" error message It looks like our database is taking a little longer than usual to sync up. Wait a few moments then try again. if you continue to see this error, raise a support request".

can you help me?


Answers:
author: Hyrum Steffensen _Appfire_
body: Hello Robson,

Please post the following:

* A screenshot of your database configuration (remove any sensitive information).
* Any errors you see in the Jira system logs found at \<JIRA_HOME\>/logs

Regards,

Hyrum

comments: author: Robson Garcia
body: Hello Hyrum! Thanks for your answer.  
I have no access to this information. I have only the user message that they are trying to access. That user is from safari browser and is her first access.


author: Hyrum Steffensen _Appfire_
body: Hello Robson!

I would take this up with your Confluence administrator. There seems to be something going on behind the scenes.

Regards,

Hyrum


author: Robson Garcia
body: Hi Hyrum, I had talked to Administrator and I solved it.

thank you a lot.

Regards.

Robson


author: Hyrum Steffensen _Appfire_
body: Sure thing, Robson! Hope you are having a great day!

Hyrum


Tags: cloud

questions-for-confluence
Picture markup
Asked by Debbie Britton:

Would appreciate some advice on what is the best app to get for marking up images in Confluence server. We are looking to add a lot of instructional content within our space with images taken from different systems, marked up with arrows, text boxes, shapes etc, so need the ability to create content that consists of multiple layers (similar to what can be done in Powerpoint) but creatable and modifiable from within Confluence. I have been looking at Draw.io and Gliffy but the examples tend to show flowchart style diagrams. Is anyone able to offer any suggestions? Thanks!


Answers:
author: Samie Kaufman - Your Gal at Gliffy
body: Hi Debbie!   

I think both apps, even though they're "diagramming," would work great for this.  

In Gliffy, you can drag an image from your desktop into the editor. (Pro tip: you can put that image on its own layer and lock the layer so you don't accidentally move it around. I think that's what you're looking for?)  

Then, you can just drag and drop you shapes/arrows on the next layer overtop of the image. I made a super fast example for you.

![Screen Shot 2021-06-24 at 1.07.11 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/148842i9F2FAAD4F81737EF/image-size/large?v=v2&px=999 "Screen Shot 2021-06-24 at 1.07.11 PM.png")

We recently did this with our new office's floor plan to map out what areas people should sit in based on their department. :)

If you decide to start an eval of Gliffy in Confluence, here are a few quick video tutorials that can help you get started with this type of thing:  
- [How to add a diagram in Confluence](https://www.youtube.com/watch?v=XxX8iyWzydg&ab_channel=GliffyDiagramSoftware)  
- [Using Layers in Gliffy](https://www.youtube.com/watch?v=ZZTrYYBYvFo&ab_channel=GliffyDiagramSoftware)  
- [How to add your own shapes to Gliffy](https://www.youtube.com/watch?v=tIXDUT2dliU&ab_channel=GliffyDiagramSoftware) (which can include product screenshots like I added above)  

Other folks might have their own suggestions or there might be a more specific documentation solution, but I do also think Gliffy will work great for this!  

Let me know if you have questions,  

Samie

comments: author: Debbie Britton
body: Thank you Samie, appreciate you responding so fast. As soon as you have created the diagram in Gliffy, does it just integrate straight to Confluence i.e. the file doesn't get stored in another location does it? We are wanting everything to literally be created and stored within the Confluence Space so no more documents stored in multiple locations. Thanks!


author: Samie Kaufman - Your Gal at Gliffy
body: That's correct --- it's all created and stored within Confluence. You don't need to log into anything extra or save files in multiple places. :)


Tags: confluence-server

server
Anchor macro
Asked by Gilles Falcon:

Is there a place where a real documentation exist?

i find <https://confluence.atlassian.com/conf59/anchor-macro-792499068.html> which is very light

Thanks in advance


Answers:
author: Naveen Kumar_Appfire
body: Hi,

Refer to the following articles for the Anchor macro.

<https://confluence.atlassian.com/doc/anchors-139442.html>

<https://confluence.atlassian.com/doc/anchor-macro-182682072.html>


Tags: cloud

confluence-cloud
Include cards with NO due date in search results?
Asked by Matt Coysten:

Is there a way of including cards without a due date in search results?

I want to see all cards due today and no due date (as some cards simply don't need a specific due date).

Thanks


Answers:
author: Iain Dooley
body: [@Matt Coysten](/t5/user/viewprofilepage/user-id/2929713) this isn't exactly a published strategy but the search parameter:

-due:incomplete

appears to do it. This says "items without an incomplete due date", which appears to apply to cards that don't have a due date at all. It will probably also catch cards that have a completed due date.

comments: author: Matt Coysten
body: That appears to do the trick, thank you.

Now I just need to find a way to combine it with due today (which I think is beyond the capabilities of Trello search, unfortunately).


author: Iain Dooley
body: [@Matt Coysten](/t5/user/viewprofilepage/user-id/2929713) yep, looks like those two searches combine to zero. Here's a Trellinator script that will create a combined array of all open cards on a board either due within 24 hours or with no due date, and then add them to a Google Sheet with a link to the card:

<https://gist.github.com/iaindooley/3b6e08acf049479640600f4504b0eea9>

You can see how to install Trellinator here:

<https://community.atlassian.com/t5/Marketplace-Apps-articles/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271>


author: Matt Coysten
body: That's peaked my interest... I've never heard of Trellinator before... I'll have to put aside some time to have a ready through the links. Thank you.


author: Katrin Anger
body: [@Matt Coysten](/t5/user/viewprofilepage/user-id/2929713)

Hi Matt,

when you click on the filter icon next to the search bar, you get a menu what you can filter.

Scroll down, and there are options for due dates for cards. You can select "due in the next day" and "has no due date" at the same time. - Does that answer your question?

![Bildschirmfoto 2019-03-26 um 17.14.15.png](https://community.atlassian.com/t5/image/serverpage/image-id/49597i572FF93639156CD3/image-size/large?v=v2&px=999 "Bildschirmfoto 2019-03-26 um 17.14.15.png")

comments: author: Matt Coysten
body: Thank you. That's not quite what I was looking for. I want to incorporate it into a search rather than a filter.