youngmon/atlassian-qna huggingface dataset:
Conflicting regex not working
Asked by Srinath S:

I am facing a very weird issue with regex in my confiform. I am a beginner of Regex.

I have a text field in my confiform where I have put a rule below in the field definition's validation field itself to accept only two email ids and below is the rule which works fine and block if more than two email ids are entered:

\^(?=\[\^@\]\*(?:@\[\^@\]\*){0,2}$).\*$

In addition I was asked to enter a rule on the same field that only certain domains should be allowed so I inserted a new validation rule macro on this field separately within the form with below to say that apart from these two domains don't allow anything else:

\^.+?(@abc.com\|@xyz.com)$

Both of them works independently well but when I have both rules in place(one within the field definition and one as a separate rule definition macro)below is happening:

1. When some one enters some other domain(apart from the two I have configured) and three email ids, the error shows first is the one to say that there are more than two email ids and once I removed the third email id, the domain rule doesn't work

2. If I have only two email ids and if one of them is external domain then domain rule works and throws error stating there is an external domain as expected

Kindly help me on how I can combine and get both of them worked fine


Answers:
author: Alex Medved _ConfiForms_
body: Hi

This is really not a ConfiForms issue and to get your regular expressions working you can use something like <https://regex101.com/>

If a regular expression works on that site it will also work in ConfiForms

Alex

comments: author: Srinath S
body: Hi Alex,

I tried various regex but nothing that work on the site is working on confiform.

I am now trying to have a multi user field to allow members to select user ids and putting a entry.user.email to pick the email id of the user. I am having a requirement now where I should restrict the number of users selected is to just 2 users. Is that possible?


author: Alex Medved _ConfiForms_
body: Could you share the examples of what is working on a site and doe snot work in ConfiForms?

Not sure I understand the part about multi-user field - how is this connected to regexps?

I guess it is not... To check the number of selected users in a field you can use an asCount <https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions> and <https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules#ConfiFormsFieldDefinitionRules-Validationrule>

Setting the condition to be something like

```
mymultiuserfield.asCount:>2
```

And then put the parameter value in the "Message to show when validation fails"

Alex


author: Srinath S
body: You are an awesome person here Alex. Almost every solution for a complex problem comes from your. Your suggestion worked like a charm


Tags: confiforms

confluence-server

migration-customer-care

server
how to report the age of an issue (last time it was updated)? using jira/filter
Asked by Sandra Lawrence:

I am curious how to show/report/calculate the age of an issue (last time it was updated by # days)? using jira/filter

Any help would be appreciated.


Answers:
author: Jakub S?awi?ski
body: Hi [@Sandra Lawrence](/t5/user/viewprofilepage/user-id/4448641)

You can only display the "Updated" column in the JQL search results, which is a date field.

You can then export your results and do the calculations in excel. A little bit cumbersome but will do the trick.


author: Nic Brough -Adaptavist-
body: You don't. That data is not held on the issue (and you couldn't store it anyway, you'd have to update every issue every minute)

JQL is also a search, it actually says nothing about the format of what you get out of it. A filter result is simply a sorted list of issues that match the JQL.

When we look at a filter though, we're usually looking at it in the "issue navigator" - this allows you to choose what fields you want to display, and in this case, you probably want to tell it to show you created and/or updated.

These are both date and time stamps of when something happened, they're fixed points in time. You don't get "how long ago it was updated" because that changes every second...

comments: author: Sandra Lawrence
body: there is no way to calculate using dateentered and updated in some type of calculation to derive number of days old an issue?


author: Suvradip Paul
body: Hi [@Sandra Lawrence](/t5/user/viewprofilepage/user-id/4448641) ,

Thanks for posting in the community.

Could you please use 'updated' in your Jira filter to search the details - like last time updated with a date range? Please check the documentation with Jira Advanced Filters - <https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-fields/>.

Please accept the answer if it solves your query else respond and allow others to share input.

Stay safe and healthy.

Cheers

Suvradip


Tags: cloud

confluence-cloud
Free Version: Permissions
Asked by Anthony Hendriks:

Is it possible to assign permissions at the 'list' level? I have several workers on one board and just want them to have access to their own cards.

If not, is this possible on the Business Class Trello?

Thx.

Anthony


Answers:
author: Brant Schroeder
body: [@Anthony Hendriks](/t5/user/viewprofilepage/user-id/4483854) Welcome to the Atlassian Community.

Currently, Trello does not support per-card permissions. Once someone has access to a board they will be able to see and edit all cards.

<https://trello.com/en-US/guide/permissions-controls#workspace-administration>


Tags: confluence-server

permission

server
Show aged issues by employee. Rank by highest age to lowest for In Progress, In Review.
Asked by Sandra Lawrence:

How do I use the JIRA report filter to show issues that have not been updated for over 1 week? Over 2 weeks? Longer? By employee? and possibly show only those where status = in progress or review.


Answers:
author: Dillon
body: If I understand the request correctly, you could create a custom JQL Filter, and the plugin in confluence pull in the filter.

Your JQL search could look like this:

```
project = ab and updated >= -2w and assignee = is not EMPTY and status = "In Progress" 
```

comments: author: Sandra Lawrence
body: ok - getting somewhere! I tested the report by updating one of my issues (so that it would reflect update by today's date). The issue is not rolling off the report - what am I doing wrong?

Also - what is the best way to show issues that have not been updated between 1 and 2 weeks? And over 2 weeks old?


author: Sandra Lawrence
body: I changed the filter here: updated \<= -1w ....this shows all outstanding issues that have not been updated within 7 days. Would this be correct ( I am confused on the double negative here)


author: Nic Brough -Adaptavist-
body: "now" still matches "updated \>= -2w" - in English, that's "updated after 2 weeks ago"

You'll need to add an end clause like

"updated \>= -2w and updated \< -1w"

For the "over 2 weeks", you'll need another filter, with "updated \< -2w"


Tags: cloud

confluence-cloud
https://basproducts.atlassian.net keeps timing out
Asked by Michael Keller:

First I get this:

This page isn't working {#toc-hId--1239950640}
----------------------------------------------

**basproducts.atlassian.net** redirected you too many times.

* [Try clearing your cookies](https://support.google.com/chrome?p=rl_error&hl=en-US).

ERR_TOO_MANY_REDIRECTS

Then I get this:

You're almost there {#toc-hId-1247562193}
-----------------------------------------

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](https://support.atlassian.com/contact/)

Try again

This happens in both Chrome and Edge.


Answers:
author: edwin vasquez
body: Hello [@Michael Keller](/t5/user/viewprofilepage/user-id/4483818) and welcome to the Atlassian community.  

I was able to load up the site all the way up to the log on screen. If you are still having issues, I would suggest opening up a ticket with support.  

<https://support.atlassian.com/contact/>

comments: author: Michael Keller
body: The site refused to let me open a ticket. Posting here was all it offered.

I inquired internally, via Teams, and they fixed my access.


Tags: cloud

confluence-cloud
How do I limit email notifications I receive to every single little change
Asked by Michael Momperler:

How do I limit email notifications I receive to every single little change that is submitted in Confluence


Answers:
author: Michael Momperler
body: Turn off "auto-watch" and turn off the "watch page" option in the specific space or project


author: Michael Momperler
body: Turned off auto-watch option....hopefully that works

comments: author: Michael Momperler
body: Simply turning off auto-watch did not do it. I had to also turn off the "watch page" option in the specific Space I was receiving the notification from


Tags: cloud

confluence-cloud
Why does the @mention for the owner of a template not publish?
Asked by Kim Kraus:

![Meeting note owner is not displayed after publish.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/152063iA73894F583E90ED6/image-size/large?v=v2&px=999 "Meeting note owner is not displayed after publish.jpg")![Owner of meeting notes displays as @ mention before publishing.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/152064i0F59401C349F4E6A/image-size/large?v=v2&px=999 "Owner of meeting notes displays as @ mention before publishing.jpg")![@mentions do no display when published.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/152066iD7AAE8ECFFA11ECE/image-size/large?v=v2&px=999 "@mentions do no display when published.jpg")![can use @ mentions as expected.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/152065iCBA5E6359300E1CC/image-size/large?v=v2&px=999 "can use @ mentions as expected.jpg")We have created a template that is being used by several people. When a user fills out the template, he/her name is listed with the @ and the user can add others using @ as well. However, when published, the person whose name was listed by default (because he/she opened the item) does not display, but the other @ mentions do display.

We are having the same issue with Meeting Notes. When I start a meeting note, my name is prepopulated with @ . I can add others as expected, but when I publish the note, my name does not display but the other do.

This is happening when we use Chrome, Firefox and Edge.


Answers:
author: Brant Schroeder
body: [@Kim Kraus](/t5/user/viewprofilepage/user-id/4483758)

What version of Confluence are you on? Did this start happening after an upgrade or was a new app added recently?

comments: author: Kim Kraus
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) We are on 7.6.2 currently and I have noticed it happening from the time we first started using Confluence. Are there apps that are known to cause issues like that? Thank you!


author: Brant Schroeder
body: [@Kim Kraus](/t5/user/viewprofilepage/user-id/4483758) I do not know of any apps. Do you have a test instance that you could disable apps on and see if there is something impacting the application?


Tags: confluence-server

mention

server
Problem with content notifications
Asked by C_Dialogues Cusotmer Support:

On our Cloud Confluence site, my users are complaining that they're getting way too many content notifications. So I found this doc page and set out to fix it by disabling the relevant plugin modules.

<https://confluence.atlassian.com/confkb/how-to-globally-disable-e-mail-notifications-with-page-content-718670714.html>

However, all 110 modules under Content Page Notification Plugin have a "Module cannot be modified" tag.

Someone please help.


Answers:
author: Nic Brough -Adaptavist-
body: That doc is for Server/DC Confluence, a very different thing to Cloud Confluence.

The only way to reduce the notifications from Cloud is to get each person to stop watching pages (there is also a request for people to be able to be able to turn off notifications from @mentions)

comments: author: Valerie
body: Who on earth did come up with that idea? Being able to adjust notification is the very! basic setting of every tool on the planet :D   

[@nic](/t5/user/viewprofilepage/user-id/4208229) do you have the link for the request? I'd like to vote on it, if possible.


author: Nic Brough -Adaptavist-
body: I think the idea came from people who wanted to watch pages for changes. You can adjust the notifications by not watching changes.

I don't have the link for the request to ignore mentions, sorry.


Tags: cloud

confluence-cloud

notification
PDF Export not properly works with symbols
Asked by Donatella Bria:

Hi,  
I have a problem exporting in PDF a page with some symbols (ie arrow).  
Exported page not display properly the symbols but replace them with some chars.  
See attached file that shows confluence page and exported pdf page.

I tried to import some ttf file in order to extend the PDF Export Language but its doesn't works.

Are there other workarounds or can you tell me correct ttf file to install?

Thanks in advanced,  
Donatella

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


Answers:
author: Brant Schroeder
body: [@Donatella Bria](/t5/user/viewprofilepage/user-id/358987) - Please try this: <https://confluence.atlassian.com/conf76/advanced-pdf-export-customizations-1018768533.html>

comments: author: Donatella Bria
body: Hi Brant,

thanks for your reply, but this topic doesn't help me. I doesn't need to add title, header or footer to my export, but to allow to simbol exporting correctly.

I have tried to import some font (ttf file) but any has fixed my problem.


author: Brant Schroeder
body: [@Donatella Bria](/t5/user/viewprofilepage/user-id/358987) The article explains how to add custom fonts which is the issue you are having with the symbol.


Tags: confluence-server

server
Setting up HTTPS on Confluence
Asked by CGI:

Hi

I am trying to set up HTTPS on Confluence. I can create the certificates and am using Portecle software to create a keystore.   
The issue i am having is that chrome is ignoring the subject alternate name.

Is there a specific way to set up HTTPS on confluence such that it works with Chrome?

thanks


Answers:
author: Brant Schroeder
body: Chrome does not work self-signed certificates are you getting a certificate from a certificate authority?


Tags: confluence-server

server
How to solve issue with previewing docs. type of file?
Asked by olya_burak:

Hi,  

I receive such type of error even when I'm uploading docs. type not pdf.  
Can you advise please how properly upload file?  

(I tried incognito as well, using Chrome. Didn't help)

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


Answers:
author: Jessica
body: Hi Olya,

I hope you're having a nice day, besides the issue previewing the attachment.  

I did some tests previewing .doc and .docx files, along with PDF files, but none of them returned this error or similar to your image.  
Also, I was able to preview the .docx file without any problem, but this is a weird error.  

In this case, we would like to take a closer look at it, so I have raised a support ticket on your behalf, which you can access here: [JST-678807](https://getsupport.atlassian.com/servicedesk/customer/portal/23/JST-678807)

Feel free to update us there if there are any additional details for our investigation!  

Thanks!  
Jessica


Tags: cloud

confluence-cloud
Confluence migration from server to cloud
Asked by Moorad HEETUN:

Hello,

I need to migrate my Confluence which is hosted on a sever to Cloud.

Any idea how this has to be done ?

Best Regards  
Moorad.


Answers:
author: Cyrille Martin
body: hi [@Moorad HEETUN](/t5/user/viewprofilepage/user-id/3621865)

You can follow this page : <https://support.atlassian.com/migration/docs/confluence-cloud-migration-assistant/>

Regards,

Cyrille

comments: author: Moorad HEETUN
body: I need to install the plugin it on the server machine, is that correct?


author: Moorad HEETUN
body: I cannot find the app for the Cloud


author: Cyrille Martin
body: Yes you need to install the cloud migration app on your Confluence server


author: Moorad HEETUN
body: ok thank you!


Tags: cloud

confluence-cloud
How can I use a variable in the filter of Jira MACRO at Confluence Page?
Asked by Sangmesh:

Hello,

I am new to creating variables in templates.

I want to know how to create the variables in any templates and use it in the filter of Jira Macro on my confluence space.

Please help me with an example if it is possible.

I am using Confluence version 7.4.0.

Thanks,

Sangmesh


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

I can see my name among the tags, so I assume that you use our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview) app for your instance.

As usual, we suggest wrapping your Jira Issues macro into the Table Filter macro and add this combination to your template.

The Jira Issues macro should return all the basic data, its query should be a general one (like "project = project_name".

Then you'll be able to predefine the required filters on the filtering panel (for example, by statuses, assignees, etc.).

So after the creation of the page from such template, your user will be able to modify the general JQL query (change the project name, for example) and publish the page with the predefined filters. Then it will be easy for him/her to put different variables into the filtering panel and display only the specific issues.

Or you may even set the required variables yourself while creating a template, so that your colleagues will get a whole predefined table view.

You may also look into our documentation - [here are several use cases](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+the+app+with+Jira+Issues) about using the Jira Issues macro together with the Table Filter and Charts for Confluence macros.

Or maybe you can clarify your question, so we can come up with a more precise solution.


Tags: confluence-server

macro

server

variable
I am upgrading the confluence server from 6.15.4 to 7.12.0
Asked by Akshay Bhandakkar:

Hi team,

When I click on the plan the upgrade in confluence it is showing me it is ok to upgrade the confluence to 7.12.0, Please let me know it is ok to perform a major upgrade. Please refer to the below screenshot.

current Postgres version: 11.10

![Capture 2021-07-20 at 13.14.02.png](/t5/image/serverpage/image-id/152012i4B11B30A319734AA/image-size/large?v=v2&px=999 "Capture 2021-07-20 at 13.14.02.png")


Answers:
author: Caryn Ciampa
body: I just went through an upgrade two weeks ago from v6.8.2 to v7.12.2 without issue. We also had to upgrade our RHEL OS, Postgres DB version and JDK version.

You are on Postgres version 11 so that is compatible. Check out further compatibility here:

<https://confluence.atlassian.com/doc/supported-platforms-207488198.html>

Just make sure any add-ons you have are also supported by the version you are upgrading to.


author: Nic Brough -Adaptavist-
body: Yes, that jump in versions is fine to do in one go.


Tags: confluence-server

server

upgrade
Are there any APIs which can be used to archive confluence spaces in bulk
Asked by Joseph:

I have a list of confluence spaces which I want to Archive. Are there any APIs through which we can archive them?


Answers:
author: Joseph
body: I have tried to use below from one of the atlassian docs:

```
url --request PUT \
?--url 'https://your-domain.atlassian.net/wiki/rest/api/space/{spaceKey}' \
?--user 'email@example.com:' \
?--header 'Accept: application/json' \
?--header 'Content-Type: application/json' \
?--data '{"status": "archived"}'


But it is giving me 500 internal server error. However the GET request is working fine.
```

comments: author: Suleman Khan
body: Hi,

Were you able to find solution for this?

Thanks.


Tags: confluence-app

confluence-development

confluence-server

server
Version Upgarde for Comala Document Management app
Asked by Rishi Chaurasia:

Want to upgarde version of Comala Document Management app, but not able to find the options/steps. Kindly help how to proceed. Thanks in advance


Answers:
author: Rishi Chaurasia
body: If Updates thru UPM was disabled in the environment.

Kindly update the version Manually, by uploading the binaries. Thanks.


author: Pavel Junek
body: Hi [@Rishi Chaurasia](/t5/user/viewprofilepage/user-id/4476584),

Welcome to Atlassian community!

Documentation for using the Universal Plugin Manager can be found at [Manage your apps](https://support.atlassian.com/confluence-cloud/docs/manage-your-apps/).

I think for Atlassian Cloud applications there is an automatic apps update in UPM.

Pavel

comments: author: Rishi Chaurasia
body: Many Thanks Pavel.

My case was bit different, as online upgradation thru UPM was not allowed in my environment. Updates thru UPM was disabled in our environment. But now we have updated the version Manually, by uploading the binaries.

Issue is resolved now.

Once again, thanks for the information/inputs provided. It helps in some way or the other.


author: James Conway
body: [@Rishi Chaurasia](/t5/user/viewprofilepage/user-id/4476584)

Welcome to the community! You have tagged your question as related to Cloud. There is no need to manually update your app in cloud as you are always using the latest version.

If you are using Confluence Server or Data Center, please see our [documentation on updating to the latest version](http://Updating%20Comala Document Management for Confluence Server to the Latest Version).

If you are not sure what platform you are using, check the URL in your browser: if it is https://\<something\>.atlassian.net you are on Cloud, if it's not got the atlassian.net in it, then it's Server. (Thanks [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) for the tip!)

For further help with Comala Document Management or any other Comalatech app, please do not hesitate to contact our Customer Success team at <https://support.comalatech.com>

All the best

James  
Senior Product Manager


Tags: cloud

confluence-cloud
Comala States Report CQL Filter by stateexpiry
Asked by Gene McLay:

My clients want a report page on our confluence that shows all the pages that will expire in the next month, and I'm trying to use the CQL Filter parameter in the Document States Report macro to accomplish this.

Although I know how to do this with normal CQL (stateexpiry \<= now('1m')), I can't figure out how it would work with the 'FieldName:Value' system that their Macro uses for the CQL Filter parameter. I've tried a few tests where I new the expiry date exactly, and went stateexpiry:YYYY/MM/DD and stateexpiry:"YYYY/MM/DD", but that just chucks an error. I've also tried it with - instead of /, with no effect.

I feel like ServiceRocket's Reporting for Confluence would have an easy fix, but atm the team doesn't want to pay for it when there seems to be another solution.


Answers:
author: James Conway
body: Hello [@Gene McLay](/t5/user/viewprofilepage/user-id/4226395) and other community members.

This capability was released in autumn 2021.

For more detail, see our wiki: <https://wiki.comalatech.com/display/CDML/CQL+filter+-+reporting+pages+that+have+been+approved+or+expired+in+a+time+period>

All the best

James


author: James Conway
body: Hello [@Gene McLay](/t5/user/viewprofilepage/user-id/4226395)

We do not currently support these CQL expressions with the Document States Report Macro CQL filter. If you could contact me via <https://support.comalatech.com> I'll add your details to our internal feature request.

Thanks in advance

James  
Senior Product Manager


Tags: cloud

comala

comala-document-management

confluence-cloud

cql

report