youngmon/atlassian-qna huggingface dataset:
Error caused by atlas-create-jira-plugin
Asked by Shinal Pala:

I have just started working my way through Create a HelloWorld plugin project - <https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/>

I have just installed Atlassian SDK and added it to my classpath and I Java 8 on my machine.

When I type atlas-create-jira-plugin it returns the following error in the command prompt:

\[ERROR\] Failed to execute goal com.atlassian.maven.plugins:jira-maven-plugin:8.0.2:create (default-cli) on project standalone-pom: Execution default-cli of goal com.atlassian.maven.plugins:jira-maven-plugin:8.0.2:create failed: Plugin com.atlassian.maven.plugins:jira-maven-plugin:8.0.2 or one of its dependencies could not be resolved: Failed to collect dependencies at com.atlassian.maven.plugins:jira-maven-plugin:jar:8.0.2 -\> com.atlassian.maven.archetypes:jira-plugin-archetype:jar:8.0.2 -\> org.twdata.maven:mojo-executor:jar:2.3.0 -\> org.apache.maven:maven-core:jar:3.5.4 -\> org.apache.maven:maven-model:jar:3.5.4 -\> org.apache.commons:commons-lang3:jar:3.8.1: Failed to read artifact descriptor for org.apache.commons:commons-lang3:jar:3.8.1: Could not transfer artifact org.apache.commons:commons-lang3:pom:3.8.1 from/to atlassian-public (<https://maven.atlassian.com/repository/public>): Not authorized by proxy , ReasonPhrase:Proxy Authorization Required. -\> \[Help 1\]  
\[ERROR\]  
\[ERROR\] To see the full stack trace of the errors, re-run Maven with the -e switch.  
\[ERROR\] Re-run Maven using the -X switch to enable full debug logging.  
\[ERROR\]  
\[ERROR\] For more information about the errors and possible solutions, please read the following articles:  
\[ERROR\] \[Help 1\] <http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException>

Any idea why this is the case?


Answers:
author: repi
body: [@Shinal Pala](/t5/user/viewprofilepage/user-id/3948738)

"Any idea why this is the case?"
> **Not authorized by proxy , ReasonPhrase:Proxy Authorization Required.** -\> \[Help 1\]  
> \[ERROR\]  
> \[ERROR\] To see the full stack trace of the errors, re-run Maven with the -e switch.  
> \[ERROR\] Re-run Maven using the -X switch to enable full debug logging.  
> \[ERROR\]  
> \[ERROR\] For more information about the errors and possible solutions, please read the following articles:  
> \[ERROR\] \[Help 1\] <http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException>


author: Ivana Srebrenova
body: Is there any solution on the problem above?

Thank you
Version number
Asked by SimonT:

I am using the new editor within the cloud and I would just like to write the version and date of when a document was last edited.

The change history macro works but I just don't want to see every version, There appears to be a value that you could pass to just show 1 or 2 versions but that appears to have been removed.   

There are a few postings that talk about using User Macro's but are these available with in the native cloud and not using a 3rd partly plugin ?   

<https://community.atlassian.com/t5/Confluence-questions/Documentation-Version-Numbers/qaq-p/1336601>


Answers:
author: marc -Collabello--Phase Locked-
body: Hi [@SimonT](/t5/user/viewprofilepage/user-id/3898565) ,

We have released a (paid) Confluence app, [Document Metadata for Confluence Cloud](https://marketplace.atlassian.com/apps/1228316/document-metadata-for-confluence-cloud).

This allows you to e.g. show the last edit date and version number.


author: repi
body: [@SimonT](/t5/user/viewprofilepage/user-id/3898565)

The macro change history in the cloud version does not have the "limit" option. However, this is available in the server version.

comments: author: SimonT
body: Thanks that would explain why in some documentation I saw "{change-history:limit=2}" as a fix but in the cloud documentation it listed that a parameter could not be passed.

<br />

Are custom macro's supported on the cloud ? As I saw another fix was to use   

generalUtil.versionNumber


author: repi
body: I have not seen any way, to set user macros in the cloud version.


Tags: cloud
How do I organise chart data such that it will show for each sprint estimated Vs actual?
Asked by Francis Kinsler:

Don't have access to Jira yet and want to produce a velocity chart column headings are Sprint/Estimate/Actual

Thanks


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Francis Kinsler](/t5/user/viewprofilepage/user-id/3893786) ,

There is a workaround to show velocity chart in Confluence: use the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app and follow [this instruction](https://docs.stiltsoft.com/display/public/TFAC/Calculating+Velocity).

Note that your Confluence and Jira instances should be connected (you can ask your Confluence administrator for the details) because you'll need to use the Jira Issues macro to get all the required information about your sprints.

P.S. As your deployment type is Cloud, use the [Table Toolbox](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Toolbox+macro) macro to nest several macros.


Tags: cloud
I want to paste a preformatted table in confluence
Asked by Divya Jain:

I have a table created in outlook. It has a format defined already, merged cells and rows, pictures within the table, formats, cell/ row color etc. I want to paste it as is on confluence page. How do I do that?


Answers:
author: repi
body: [@Divya Jain](/t5/user/viewprofilepage/user-id/3948473)

Load the Excel file as an attachment to the confluence page.  
Use the macro Office Excel to display the Excel table on the Confluence page
Backend Name of the below field(insert text) for HTML Macro
Asked by Venkatesh:

Hi i tried with HTML Macro, can you tell me the backend Name of the below field(insert text), so that i can push my html code inside this field from different tool through REST Message

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/97254iA20F6BF74EDA86C3/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Nic Brough -Adaptavist-
body: It's not a field, it's a chunk of body text you get to insert when you wrap the macro around it.

comments: author: Venkatesh
body: Hi Nic, Thanks for the response

before i was trying with this content Type, so it will create a new page by adding content with html tag, (i need with the exact content format)

{  
"type":"page",  
"title":"${title}",  
"space":{"key":"${key}"},  
"body":{  
"storage":{  
"value":"${body}",  
"representation":"storage"  
}  
}  
}

so can you please suggest me what should i change in that content type to push the values in that html macro? or anything else can i do


Tags: cloud

macro

user-macro
Backups accumulating space
Asked by Harsha Suresh:

Dear All,

I have come across an issue where in the backups have accumulating causing disk space to run out. Our backups are stored in

/opt/atlassian/application-data/confluence/backups

is it safe to delete old backups ? OR is there any pre-work to be done ?

Files here are in the .zip format.


Answers:
author: Amith Mathur _Appfire_
body: Hi [@Harsha Suresh](/t5/user/viewprofilepage/user-id/3948330)

Welcome to Atlassian Community!

Yes, the regular daily backups will fill up the disk space depending upon how large the confluence is. You can delete the old ones which are more than one month old as they may not be required for you to restore those backups unless you are running into any issues.

However, Atlassian has a [Production Backup Strategy](https://confluence.atlassian.com/conf610/production-backup-strategy-952623095.html) which you can review and set it up.

The best way is to take the home directory and database dump as a recommended option.

Thanks,  
Amith Mathur  

comments: author: Harsha Suresh
body: thanks much for the quick response Amith, Much appreciated. Will go through the production back up strategy, for now doing some rotation as a quick fix.


author: repi
body: [@Harsha Suresh](/t5/user/viewprofilepage/user-id/3948330)

Only the last backup is always interesting.  
All others could be deleted if there was no way to back up an error for a longer period of time and thus have a corrupt backup.  
You can also move this zip file to another data store.

I have a batch file, which automatically backs up these backups and then deletes them, so that only the last 5 executions remain.

comments: author: Harsha Suresh
body: thanks much for the response. Since this is on a Linux machine i am planning to set up log rotation on this folder so that i don't store anything over a month.


Tags: confluence-server

server
Can you bring multiple confluence cloud sites under a single licence?
Asked by Daniel Park:

if you have more than one confluence cloud site in your organisation can you bring them together under a single licence and administration structure?

e.g. you have

* org1.atlassian.net
* org2.atlassian.net

Both the sites have a different set of addons but serve the same organisation and have about a 10% membership overlap.

Can you bring them together under a single licence and administrative umbrella without merging the site or the pages?

If so how and what do you need to think about?


Answers:
author: Ste Wright
body: Hi [@Daniel Park](/t5/user/viewprofilepage/user-id/1136037)

Not that I know of.

Your organisation allows for multiple Confluence instances to exist under one organisation - likewise, users have just one Atlassian user account with access to multiple sites (and the Community!)

But these are still two separate instances - you're paying for two separate cloud sites so two licences are required to access them. Likewise, each has its own individual administration.

If there is a need to merge membership of both sites, I would consider the need for two separate instances - and whether you could achieve the same outcomes on just one instance!

Ste


Tags: cloud

page
I unable to login to Jira Concluence Server
Asked by Kenneth_Ombati:

Hi Team,

I am currently unable to login to my Jira Confluence Server web page.

When i enter the local administrator username and password which i am sure are very correct i get the following error when i try from the local host server or from another network computer:

Log in

<br />

The following error(s) occurred:  
Sorry, an error occurred trying to log you in. Please try again.

![Jira Confluence Error.jpg](/t5/image/serverpage/image-id/97240iA8882873A062EEF9/image-size/large?v=v2&px=999 "Jira Confluence Error.jpg")


Answers:
author: Nic Brough -Adaptavist-
body: You will need to read the log file for Confluence (not Jira Confluence - Jira and Confluence are totally separate services).

Should be \<your confluence home directory\>/logs/atlassian-confluence.log - read the part where you try to log in and it should throw a load of errors when this message pops up.

comments: author: Kenneth_Ombati
body: Hi Nic

Apologies the issue i have is with the Confluence server.

The log file that i have is located at C:\\Program Files\\Atlassian\\Application Data\\Confluence\\logs\\atlassian-confluence.log.

I am not so that technical so i cant easily locate the exact error.

I would like to send you this file for you to check the exact issue or i give you a remote session to my server you check.

Please see how to assist on this.

Kenneth


author: Nic Brough -Adaptavist-
body: We don't scan logs for other people, it's time consuming and often lands in the wrong place because we don't have the same information they do.

Log into the server, and watch the log file. Once watching it, try to log in the browser, and you'll see a handful of text written to the log. That will tell you what is going wrong.
What is the maximum size for a JSON in Confluence?
Asked by Daniel Armishaw:

I am having issues with Confluence and my firewall. It appears that I need to tell it the maximum length of JSON data for Confluence.

From the reading online I have done the best i can come up with is 32KB (<https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/>)

Would anyone know what the value should be?


Answers:
author: Moses Thomas
body: [@Daniel Armishaw](/t5/user/viewprofilepage/user-id/1563637) What are you trying to do ?


Tags: confluence-server

server
Suggesting Confluence articles in JIRA Software issue based on custom fields keywords
Asked by Meital:

Hey,

I'm new with Confluence and have a question. I would like to integrate Confluence with JIRA Software and would like to know if the below is possible:

I would like to have Knowledge Sharing Space in Confluence. Can I suggest 'recommended articles/page' from Confluence in JIRA Software issue based on issue custom fields content?

For example, if custom field contains a key of 'XXX' then Confluence articles that maybe tagged with XXX will be presented in JIRA. Is something like that or similar to that possible?

Thank you

Meital


Answers:
author: repi
body: [@Meital](/t5/user/viewprofilepage/user-id/3762017)

Here you should find something on the topic:  

<https://confluence.atlassian.com/applinks/link-atlassian-applications-to-work-together-785449117.html>

comments: author: Meital
body: Thank you, the article explains on how to link between JIRA and Confluence applications, I'm looking for a more detailed explanation on how to implement the 'recommended articles' section in JIRA based on Confluence content. Any idea where I can find information on that?


author: Meital
body: I found something similar but it looks like it's JIRA service desk capability (see step 3-5). I'm looking for something similar for JIRA Software:

<https://www.atlassian.com/blog/jira-service-desk/6-steps-to-create-knowledge-base-jira-service-desk-confluence>


Tags: confluence-server

server
Creating a new Confluence Space with Postman API
Asked by Benjamin Meier:

Hello Community,

I am trying to create a new Space in my Confluence using REST API. I am using the following commands:

POST: https://\<\<my Confluence\>\>.atlassian.net/wiki/rest/api/content/

```
JSON Body:

{ 
"key":"MKT",
"name":"Marketing",
"homepage":{ 
"body":{ 
"storage":{ 
"value":"<p>This is the updated text for the new page</p>",
"representation":"storage"
}
}
},
"metadata":{}
}
```

I am using basic Authentification. Unfortunately, Postman returns the following:

```
{    "statusCode": 400,    "data": {        "authorized": true,        "valid": false,        "errors": [            {                "message": {                    "key": "type is required to create content",                    "args": []                }            }        ],        "successful": false    },    "message": "com.atlassian.confluence.api.service.exceptions.BadRequestException: Could not create content with type null"}
```

Unfortunately I cannot see which kind of "type" is required and where I can set it.

Thank you very much for your help and have a nice day.


Answers:
author: Daniel Eads
body: Hi Benjamin,

The endpoint you're hitting is to create a page (or some other single piece of content) vs a space (the container that content sits in). For that endpoint, the **type** field specifies if it's a regular page, a blogpost, etc. From the [API documentation](https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-post):

```
type REQUIRED

string

The type of the new content. Custom content types defined by apps are also supported.
Valid values: `page`, `blogpost`, `comment`, `attachment`

```

If you're trying to create a **space** and not a **page** (as I suspect you are, from what's in your current call), you'll instead want to use the /wiki/rest/api/space endpoint. [Documentation for that endpoint is available here](https://developer.atlassian.com/cloud/confluence/rest/#api-api-space-post) and it looks like your request contains all the required parameters.

Cheers,  
Daniel

comments: author: Benjamin Meier
body: Hello Daniel,

thank you very much for your answer.

Best regards,  
Benjamin


Tags: cloud
confluence space usage
Asked by Anderson Hsu:

Hi Support Team,  
Would it be possible disk usage by space in confluence by sql in confluence 4.2.3? Thanks a lot.


Answers:
author: Yoga Reddy {Appfire}
body: Hi [@Anderson Hsu](/t5/user/viewprofilepage/user-id/626040)   

Please review the following article and it may helpful for your requirement.  
[How to find the largest Confluence pages by storage size in the database](https://confluence.atlassian.com/confkb/how-to-find-the-largest-confluence-pages-by-storage-size-in-the-database-800862464.html)  

[How to find the total size of Attachments per space](https://confluence.atlassian.com/confkb/how-to-find-the-total-size-of-attachments-per-space-798884670.html)

Thanks  
Yoga
atlassian access & Anonymous users
Asked by Tony Lockard:

We use Access to restrict users to only our SSO domain. if we want to allow any user in domain to access spaces via Anonymous does this also open it up to any one on internet with the URL or can we still restrict to only people within our organization -- just don't require a user license for our specific site? We don't want to have to have 5000 licenses just for our employees to see our "public" spaces but don't want non-employees to see them. This is for Confluence Cloud.


Answers:
author: repi
body: [@Tony Lockard](/t5/user/viewprofilepage/user-id/3946610)

Anonymous is anonymous. You cannot make a personalized control here.  
You can only make space or pages invisible to anonymous users via restrictions.

What sso functionality do you use?


Tags: cloud
Page Tree
Asked by Indira Damavajhala:

Hi,

I am the Confluence admin for our Line of Business (LoB) and we currently have two Confluence spaces viz., Internal-facing and External-facing. One of my colleagues recently highlighted an issue with Confluence. Please see the details below:

Confluence has this left hand side navigation feature which makes it quite easy for user to navigate to any page he desires. My colleague shared with me a confluence page link which when clicked opens up as a new confluence space. In this new space are several parent and child pages. When I click on a child page in this new space, the page tree for that space collapses and I am redirected to the page desired but on the left hand side the page tree we see is the page tree of the external facing Confluence space which I mentioned in the beginning of my message.

I think that since this new space is not part of already existing internal-facing or external-facing spaces, the page tree collapses and we loose the navigation functionality. Moving this new space under already existing spaces should solve this problem. Can someone please confirm? If this is not correct, can someone please advise how to resolve this issue?

Thank you,

Indira


Answers:
author: Jack Brickey
body: Hi [@Indira Damavajhala](/t5/user/viewprofilepage/user-id/3416379) , I realize this is a rather old post and I was interested to understand what you finally concluded here if anything? Could you please share the latest findings or solution for this?
Atlassian Companion App not working
Asked by Keea Raymond:

I used to use the companion app every day for my work flow in sharing excel and word files and editing them with my team and able to share the one file. Opening in confluence and saving back into confluence once I was done. Several months ago it stopped working. Every time I go to click the edit button associated with this function, it just gives the pop up window to down load the app. I have tried about 20 times to do this process and to no effect. I tried to launch it on my computer, and then refresh the page in confluence. But not working. Can anyone help me get this going again as it is a great addition to confluence? Much thanks, Keea


Answers:
author: Alex K
body: Hi [@Keea Raymond](/t5/user/viewprofilepage/user-id/3679556) ,

Which version of Confluence are you using? Which web browser are you using?

For Confluence versions 6.11-7.2 (inclusive), Companion is no longer compatible with certain browsers. We have a knowledge base article explaining this issue:

[Can't edit files in Confluence Server using Atlassian Companion app in Internet Explorer, Edge, Firefox, or Safari](https://confluence.atlassian.com/confkb/cant-edit-files-in-confluence-server-using-atlassian-companion-app-in-internet-explorer-edge-firefox-or-safari-981152695.html "Can?t edit files in Confluence Server using Atlassian Companion app in Internet Explorer, Edge, Firefox, or Safari")

This issue is fixed in Confluence 7.3+ (with Companion 1.0.0+)

comments: author: Keea Raymond
body: Well I just used Chrome instead of Safari and it worked. Why would Confluence limit browsers for this function? I use Safari primarily. Thanks so much for your help. At least now I can go to Chrome and make it work. thanks, Keea


author: Alex K
body: [@Keea Raymond](/t5/user/viewprofilepage/user-id/3679556) ,

Sadly, this was a compromise that we had to make to resolve [CVE-2019-12-18](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-12-18-982324349.html) . As of Confluence 7.3, the way Confluence and Companion connect to each other has been completely overhauled and will work in all modern browsers.


author: Allie King
body: [@Alex K](/t5/user/viewprofilepage/user-id/1882108) I am using Chrome and I am unable to get the application to work these are the versions that I have installed:

Confluence: 7.4.3 (node4: 3c2320ca)

When I click on the document and hit edit i get a message telling me I need to install the app, though the app is installed and running. Once in a while I notice that a new version is created which tells me that the site thinks it's actually opening the file for editing

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/156637iED30CB65F8109C3B/image-size/large?v=v2&px=999 "Capture.PNG")


author: Fadoua
body: [@Keea Raymond](/t5/user/viewprofilepage/user-id/3679556)

If you are the Confluence System Admin, please take a look at the logs to see what error is being thrown that could be behind this misbehaviour.

Please share the errors here by copying/pasting after hiding any confidential information.

Best,

Fadoua
Where in Confluence do I set the option for Google to "No Follow" that page?
Asked by Mark Bonham:

Hello! I need help and am not familiar with Confluence. I am helping a documentation writer with her Confluence site that she wants Google to index. Confluence is setting the menu links in the navigation bar to "No Follow" which is causing Google to ignore and not crawl most of the pages on our site. Can anyone tell me how to remove these "no follow" tags from the page? I can't figure out where in Confluence this option is set. Thank you!


Answers:
author: Matt Reiner [K15t]
body: Hey [@Mark Bonham](/t5/user/viewprofilepage/user-id/3946233)

I don't believe there is a setting for this in Confluence, though creating a robots.txt file on the server might help solve the issue. [Here's an example](https://www.mos-eisley.dk/display/ATLASSIAN/Confluence+SEO+robots.txt).

As an alternative, you could try out my team's app [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=server&tab=overview), which allows full Google indexing and can be integrated with Google Analytics, Search Console, etc.


Tags: confluence-server

server