youngmon/atlassian-qna huggingface dataset:
Showing date of creation instead of date of upload with Confluence attachments.
Asked by Madeline Sault:

Hi Everyone!

I'm working on migrating my program's entire repository onto Confluence, and was presented with a question from my program manager that stumped me.

Is there any way to denote a document's date of creation as opposed to its upload date? The files we are moving span back to the early '00s, and I'd like to be able to show at least a little bit of a time span instead of having each of the hundreds of documents show Feb 28, 2019.

Thanks so much in advance for your help!


Answers:
author: Bill Bailey
body: I did a lot of research on this for doc list macro I wrote fpr a published document repository. Unfortunately, there is not a file creation date property for attachments. You can only do .getCreationDate, .getLastModificationDate.

And Creation date here refers to the date the attachment was first attached. I could find no way to access the file properties.

My only suggestion is that once you create the page, you write a one-time-use macro/script that does nothing but reset all of the attachment dates you want using .setCreationDate/.setLastModificationDate. Yes a royal pain but I don't know of any other way to do this.


author: James Dellow
body: If you upload a file through the user interface (i.e. the web browser), Confluence has no idea of the file's original creation date. So if you want retain those creation dates, you'll need to migrate the files in a different way or try making changes at a database level - I would suggest talking to an Atlassian partner with experience doing this.

However, if you have a relatively small number of files you could try editing the space xml export file to change the file creation dates. Each attachment object includes a creationDate property. You'll need to upload to Confluence, export the space, delete it, change the dates in the XML file, then reimport.

An alternative idea - can you add a hint about the creation date to the filename before upload?


Tags: confluence-server

server
How do you see all the pages with the given lables in Label by Content macro?
Asked by Ragini R. Sama:

I am not able to see all the pages with Content Label by macro even though I have given OR labels.


Answers:
author: Zak Laughton
body: Hi Ragini,

The content by label macro should show the pages, as long as they are viewable by the filters set in the macro options. If they are, could you please provide a screenshot of the macro options (e.g. "Label", "Sort By", etc.) as well as a screenshot of the label on a page you expect to show in the macro?

Also, here is the related documentation, which may help for troubleshooting: [Content by Label macro](https://confluence.atlassian.com/doc/content-by-label-macro-145566.html).

I hope this helps!  
-- Zak


author: Dominic Lagger
body: Hi,

There are a few possibilities:

1. This is my favorite option: In the macro, there are a few options and there you can set the *Maximum Number of Pages
   ![Content by Label.png](https://community.atlassian.com/t5/image/serverpage/image-id/47377i3ACBAE39824270E3/image-dimensions/377x230?v=v2 "Content by Label.png")*
2. Or you do not have the permission to view the other pages which are labeld by your label
Do the license terms allow for external companies to be space admins?
Asked by Thomas Higson:

I want to use Confluence to create an information repository to be used by multiple companies coming together to develop apps and services for a bespoke network system.

Ideally, each app and service would have its own space, and that space would be maintained by the company developing the product. These users would have no admin rights for the overall Confluence instance and would only control their own space.

However, the licensing terms state:
> You may grant your own customers' end users (**"Secondary Users"** ) limited rights to use the Software solely so that they may view and interact with such resources. You may not permit Secondary Users to use the Software for purposes unrelated to supporting your own offerings or grant Secondary Users administrator, configuration or similar use of the Software.

Is this term referring to granting admin permissions to the entire Confluence instance or does it also restrict providing others with control over a space? Is what I'm trying to do possible in another way?


Answers:
author: Bill Bailey
body: Reading it carefully, secondary users could *not* be space admins as it would give them control over configuration. But you could grants someone rights up to that level for a space, i.e., designate a space champion who has rights to delete pages, attachments, comments, etc., but they could not change the stylesheet for example.


author: Brant Schroeder
body: Thomas - I am not an Atlassian employee and I am not a lawyer and I think what you are explaining could be interpreted either way. You should submit a support ticket to get a definitive answer. You can do that here: <https://support.atlassian.com/contact/>

I don't think they would need space admin access to do everything that you explained though and that might get you in compliance if being a space admin breaches licensing.


Tags: administration

confluence-server

licence

server

space
How can an OpenLDAP user change HIS own password?
Asked by Sergius Janik:

Dear community,

today I've managed to install a production ready Confluence. There is only one little itch I can't scratch:

I have an openLdap Server on the same system as the confluence server and I would like users who login through ldap to be able to change their password.

If I change the permisisons ![ldap1.png](/t5/image/serverpage/image-id/47295i6770B2F63F9CCE39/image-size/large?v=v2&px=999 "ldap1.png")

Users can login into the Confluence but can't do ANYTHING at all and only see a blank screen after authentication.

If I use the option "Read Only, with Local Groups" the login works fine but if a user tries to change his password an error occurs that the operation can't be done and the user has to contact the system administrator.

What do I need to change in Concluence OR the LDAP Config (I am using LDAP Account Manager), in order to be able to let users change their LDAP Passwords through Confluence?


Answers:
author: KentGran
body: Any wizards out there to help with this question?


Tags: ldap

password
How to avoid that a task is validated by someone else?
Asked by Anthony ALVEROLA:

Hi, I'm working on confluence and I need to create tasks that only one person is able to complete. I need to avoid that a task assigned to Mr A can be validated by Mr B. How can I do that in confluence?


Answers:
author: Dominic Lagger
body: Hi,

This are my suggestions:

* Make Mr. B the only person who can view and write the page
* Restrict the page, so that Mr. B has write permission, all other just view permission
* Let it be as it is and check your mails. You will be notified when and who checked the task

comments: author: Anthony ALVEROLA
body: Hi and thanks for your quick reply... appreciated

Let me explain my need in more details:

In that page i will need to implement up to 11 tasks to 11 different persons.

The need is that each one can only validate its task and not the one of the others.

Hope it is clearer.

Thanks once again for your support.


author: Dominic Lagger
body: Hi [@Anthony ALVEROLA](/t5/user/viewprofilepage/user-id/2791800)

The need you have can not be represented in confluence out of the box.

To tick a task (Mark it as Done), you need write permissions. So everybody of those 11 persons need write permission and so, they can check and uncheck every task.

Then, the only option I see is my last option, which is:
> Let it be as it is and check your mails. You will be notified when and who checked the task


Tags: confluence-server

server
numero de paginas espacio de confluence
Asked by estianton:

hola

tengo un espacio del confluence con bastantes paginas creadas y de un numero para ahora , se crean pero me dejan de aparecer en el ?rbol de paginas que tengo creado

Me podr?ais indicar que puede estar pasando y como solucioanrlo

gracias


Answers:
author: Bill Bailey
body: Well I would check under the space tools ([reorder pages](https://confluence.atlassian.com/doc/move-and-reorder-pages-146407727.html#MoveandReorderPages-moving)), to make sure you are not creating pages at root level. In other words, unless pages are children of your space's home page, they will *not* appear in the left-hand page tree.
linking confluence to an outsider folder
Asked by Alice Ferrari:

Hi there,

Sorry just a question I cannot found answer to..

Is there a way I can link a page to a certain shared folder?

Thanks

Alice


Answers:
author: Mikael Sandberg
body: You can use this format to link to a shared network folder, file://///unc/path/to/folder/. Note that only IE/MS Edge will automatically open the link. For Chrome or Firefox you need an additional plugin for it to work. I found these ones when my users asked about it:

Chrome: <https://chrome.google.com/webstore/detail/locallinks/jllpkdkcdjndhggodimiphkghogcpida> This plugin only works in ++non++-incognito mode.

Firefox: <https://addons.mozilla.org/en-US/firefox/addon/noscript/?src=search>, <https://addons.mozilla.org/en-US/firefox/addon/locallink/>

comments: author: Jared Brenner
body: Chrome/FF users can also right-click the link to copy it and then paste it into an Explorer window.


author: Alice Ferrari
body: Thank you guys for you help, much much appreciated :)

Alice
Can't Find Confluence Update Check Tool
Asked by Brad Lajoie:

The upgrade instructions here:

<https://confluence.atlassian.com/doc/upgrading-confluence-4578.html>

state to check the compatibility of your add-ons before upgrade. And that the update check tool should be at the bottom of the page after going to Settings-\>Manage Apps (or on the Confluence version we're using we suspect the equivalent is Settings-\>Add-Ons):

"scroll down to the **Confluence Update Check** to check the compatibility of your Marketplace apps."

But it's not there on version 6.6.0

After some googling, the next best article I found was this:

<https://confluence.atlassian.com/upm/checking-app-compatibility-with-application-updates-273875705.html>

And it said in Settings-\>Add-Ons to:

"Click **(Product name) update check** from the bottom of the page. For example, this might be **Confluence update check** or **JIRA update check**"

But again, there is no such thing at the bottom of the page on Confluence 6.6.0.

In short, where the heck do I find the Confluence Update Check feature in Confluence 6.6.0? Also, can the documentation be updated with perhaps some screenshots and/or more descriptive/accurate description on where to find this feature in 6.6.0?


Answers:
author: Shannon S
body: Brad,

The article you linked to is for the latest Confluence version (6.14). If you want the instructions for 6.6.0 then you need to select 6.6 from the top menu.

* [Upgrading Confluence 6.6](https://confluence.atlassian.com/conf66/upgrading-confluence-943962880.html)

The instructions on that article differ:
> 1. Go to ![](https://confluence.atlassian.com/conf66/files/943961250/943961251/1/1516596605868/Cog.png) \> **Add-ons** and scroll down to the **Confluence Update Check** to check the compatibility of your add-ons.  
>
> 2. Choose the version you plan to upgrade to then hit **Check**.

Can you have a look and see if that applies to your instance?

Regards,  
Shannon

comments: author: Shannon S
body: By the way, this is how it will look:

![Screen Shot 2019-03-04 at 1.01.14 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/47596i6FB4954E87A9E9B0/image-dimensions/644x263?v=v2 "Screen Shot 2019-03-04 at 1.01.14 PM.png")

If you don't see that, can you please show me what links you have at the bottom of your UPM? (This is the page you get to when you click Add-ons from the menu).

Regards,

Shannon


author: Brad Lajoie
body: Ah! Didn't realize there was a way to change versions of the article to match version of Confluence, makes sense. Thanks Sahnnon! We've already done the upgrade and no longer have 6.6.0 so can't check what it looks like on 6.6.0


author: Shannon S
body: Brad,

No worries, at least you can use this information in the future. :)

Take care,

Shannon


Tags: atlassian-support
Problem with license update
Asked by Zarko:

Hi,

I bought a new license and i am trying to upload it and this happens

Image removed to hide license key

error: That's not a valid license key


Answers:
author: Shannon S
body: Hello,

I've removed your screenshot because it contains a license key and you don't want to share this publicly because other users could use your key to license their Confluence instance.

Could you go to my.atlassian.com and re-obtain the license key from there and let me know if that one works?

Regards,

Shannon


Tags: confluence-server

server
I`ve attached some files to a Confluence page, how do I remove one of them ?
Asked by Nick H:

I\`ve attached some files to a Confluence page, how do I remove one of them ?


Answers:
author: Nic Brough -Adaptavist-
body: Go to the page, select "attachments" from the tools menu to get the list, and click "delete" to the right of the one(s) you want to remove.

If there is no delete option, then you need to ask the space admins to grant you "delete attachment" permission.

comments: author: Nick H
body: Thank you Nic Brough!

Asking for permission now .....
More details knowledge base report
Asked by Ronald Jakobs:

How can you get more information about the article usage on the knowledge base? At this moment there is a basic report, but you cannot click to get more specific information.

For example: which pages are most viewed and by who?

Please feedback


Answers:
author: Diego
body: Hello there Ronald! Thanks for sharing your needs.

Maybe **Confluence statistics** can help you out a little bit:

**[How do I get more statistics from Confluence?](https://confluence.atlassian.com/confkb/how-do-i-get-more-statistics-from-confluence-154239308.html)**

Further, you should be able to grab more detailed statistics directly from the database in Jira:

**[Locating Jira Service Desk's Knowledge Base search statistics through the database](https://confluence.atlassian.com/jirakb/locating-jira-service-desk-s-knowledge-base-search-statistics-through-the-database-957977997.html)**

While the date is not readily available, reaching to the database should provide you with that. Just be careful when touching your database. Sending SELECT queries should be no problem. However, if you plan in changing something, **always backup before** anything. Also make sure that your instance is down.

Let us know your thoughts Ronald.


Tags: jira

jira-server

jira-service-desk

knowledge-base

server
I am unable to create a Jira Issue from Confluence User Macro!
Asked by Spencer Robertson:

I am attempting to create a Jira Issue from the confluence user macro. In this macro I am using jQuery to post to my Jira Instance. I am using the application links to do this and when I do I get a 411 error (length required).

```
var baseUrl = "https://www.my-confluence.co.uk/plugins/servlet/applinks/proxy?appId=MY_ID_NUMBER&path="
var createIssue = "https://www.my-jira..co.uk/rest/api/2/issue";
var datos = {
 "fields": {
  "project":
  {
   "key": "TEST"
  },
  "summary": "Test Ticket",
  "reporter": "me.name",
  "issuetype": {
   "name": "Task"
  },
 }
 };

var parameters = JSON.stringify(datos);

jQuery.ajax({
 url: baseUrl + createIssue,
 type: 'POST',
 dataType: 'json',
 contentType: 'application/json',
 data: parameters ,
 processData: false,
 async: false,
 success: function (data) {
  alert(JSON.stringify(data));
 },
 error: function(error){
  alert(JSON.stringify(error));
 }
});?
```

I have tried many things to try to get this to work. I have use just basic authentication instead of the application link and that also does not work, however it raises a different error to 411. Any help would be greatly appreciated.


Answers:
author: Spencer Robertson
body: Figured it out in the end. Had to reverse engineer the confluence macro to add a Jira Issue, the application link URL in my old code does not work. The following code should work:

```
Query.ajax({
  url: 'https://my-confluence.co.uk/rest/jira-integration/1.0/issues?applicationId=YOUR_ID,
  type: 'POST',
  dataType: 'json',
  contentType: 'application/json',
  data: parameters,
  processData: false,
  async: false,
  success: function(data) {
    alert(JSON.stringify(data));
  }
  error: function(error) {
    console.log('Error');
  }
});
```

comments: author: thaipq
body: Hi

Please let me know how I can get applicationId = YOUR_ID

thank you


author: Haran Kumar
body: Hi [@Spencer Robertson](/t5/user/viewprofilepage/user-id/2789874)   

I'm not a coder \& I'm technically novice to coding. Yet I feel i can give you some points which might help you in attaining your requirements. Yet i'm not sure how good this will hold:   

The required fields Date of First Response and Time in Status are not available. If you can come up with some script to include these , I guess you might be able to take it up .   

Regards.


Tags: confluence-server

jira-core

jira-core-server

server
Edit Permission on a confluence site
Asked by Mee Azahar:

I am not able to modify on a confluence site after "Edit" permission has been granted to me. Any advice?


Answers:
author: Dominic Lagger
body: Hi,

Do you have permission to the global space or is there just a "restriction" on the page which is given to you?

There are 2 options for permissions:

* Space permission
* [Page restriction](https://confluence.atlassian.com/doc/page-restrictions-139414.html)
  * With page restriction, you can not overrule the space permission

comments: author: Zak Laughton
body: +1 to this. If you have edit permission to a space, but can't edit a page, it typically means there is an edit restriction on the page. [Permissions and restrictions](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html) provides a great overview of how these two access controls interact.
How to remove JIRA tags.
Asked by Aamir Farooqui:

We are storing JIRA data into SQL and when data is coming it is having JIRA tags like Panel, Color etc.

So when i am using this in my report it is giving me the same thing which we have got after migration.

i want to remove these tags so that my text is readable to end user properly.

Any help will be appreciated. TIA.


Answers:
author: Nic Brough -Adaptavist-
body: What do you mean by "when data is coming"? How are you getting the data and what are you getting?

comments: author: Aamir Farooqui
body: We are connecting JIRA db via Business Object reports and then transferring the data which we get from BO to SQL DB.


author: Nic Brough -Adaptavist-
body: Ah, I thought so. You're reading raw Jira data directly from the database, and run into one of the hundreds of reasons that this is the worst thing you can do.

Your choices are

* Write a translator for Business Objects so that it can read the raw data via SQL and understand it properly
* Move to using a proper sane way to access Jira data - do the reports in the UI or use the REST interface for example


Tags: jira
Is it possible to remove HTML tags from the comments on Confluence?
Asked by Tanu Ranjan Bharadwaj:

When we associate JIRA project with Confluence page for tracking of Issues which includes Key, Summary, IssueType, Assignee, Status \& Latest Comment etc. So the requirement here is that if the user comments on a JIRA issue in the comment section then it is dynamically getting updated on Confluence page but within HTML tags. Currently the comments are coming within \<p\> tags with date and time.

So is it possible to remove those tags and present the comment in Plain Text ?


Answers:
author: Shannon S
body: Tanu,

Is this something you already have set up on your instance and it's not working properly, or are you asking us how to have Jira comments update on the Confluence pages?

Is this an add-on you're using, or a user macro, or are you developing your own add-on?

If you can help us to understand exactly what you've done so far, it will help us to help you.

Regards,

Shannon

comments: author: Tanu Ranjan Bharadwaj
body: Currently, 1 Grip-JIRA project is already linked with Confluence page (existing) and whenever there is an addition of comment on an issue which is created under that project then that comment is getting reflected on the confluence page for the ease of tracking but the comments are getting reflected within the HTML tags ex. \<p\> which I think is an inbuilt functionality. So my query is that is it possible to remove those tags somehow by using macros or something?


author: Shannon S
body: Tanu,

I can confirm this is not a built-in functionality of Confluence and Jira.

There must be some script or add-on you're using to do this. Have you spoken with your administrators of the instance?

Are you able to show me any screenshots of the behavior? Maybe we can narrow down what is providing the functionality so we know how to fix it.

Regards

Shannon


author: Tanu Ranjan Bharadwaj
body: Hello Shannon,

I am attaching one screenshot, this is how it looks on Confluence. So my requirement is to remove html tags from the comment section, which is getting reflected whenever there is a comment on JIRA instance under that issue. So here I have hidden the comments.

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


author: Shannon S
body: Tanu,

Thank you for sharing that. It appears that there's some sort of add-on you're using in Jira to display this information, and then porting that over to the Confluence side.

Are you on Cloud? If so, I would recommend [reaching out to the Cloud Team](https://support.atlassian.com/contact/#). They can have a look at your instance if you raise a ticket and then they could tell you which add-on they think it is.

There's not much we could do to help you remove the HTML from the comment, but they'd at least be able to help you track down which add-on is doing this.

If you're not on Cloud, and you're on Server, you'll need to speak with your server admin and they can help you figure it out.

Regards,

Shannon
PlantUML rendering or saving fails with CORS error
Asked by Kirill Ivkushkin:

Any attempt to render a diagram or save gets a long waiting and fails either silently (on render button) or with "Error rendering diagram. Please check your syntax" message.

PlantUml example "class A" is valid and is properly rendered by planttext.com

Console shows CORS error:

"Failed to load resource: the server responded with a status of 503 (Service Unavailable)  
macroEditor-1-1-2.html?dialog=1\&simpleDialog=1\&user_id=_______\&user_key=_________\&tz=Europe%2FMoscow\&loc=en-US\&xdm_e=https%3A%2F%2Finsolar.atlassian.net\&xdm_c=channel-com.mxgraph.confluence.plugins.plantuml__plantumlcloud\&cp=%2Fwiki\&xdm_deprecated_addon_key_do_not_use=com.mxgraph.confluence.plugins.plantuml\&lic=active\&cv=1.296.0:1 Access to XMLHttpRequest at '<https://exp-plant.draw.io/plantuml4/png/Iyv9B2vM22ZDAKvrIIn91000>' from origin '<https://plant.draw.io>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

Applies for both Chrome and Firefox. For different users.

Any suggestions please?

Thank you


Answers:
author: Andy Nightingale
body: I'm getting the same error when trying to save or preview a PUML drawing in confluence:

Access to XMLHttpRequest at '<https://exp.stratus-addons.com/server-rest-1.2022.14/plantuml/svg>' from origin '<https://puml4cc.stratus-addons.com>' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'https://\*\*\*\*.atlassian.net' that is not equal to the supplied origin.


author: Kirill Ivkushkin
body: was fixed so far


Tags: addon-com.mxgraph.confluence.plugins.plantuml