youngmon/atlassian-qna huggingface dataset:
Can you concatenate strings in scriptrunner JQL query?
Asked by Omar Morales:

I have a merge check I am trying to setup that prevents a merge from happening if the target branch does not match a field found in an associated JIRA Issue.

I am using the "Require that a pull request is associated with a valid JIRA issue" merge check that comes with scriptrunner and am also using the following JQL which almost gives me what I want.

```
Target_Baseline ~ '${mergeRequest.pullRequest.toRef.displayId}
```

Target_Baseline is a free text custom field in JIRA. The problem is that the right side of the equation evaluates to something slightly different than the left (shown below) and it fails the check and does not allow the merge
> v1.0.0 \~ 'v1.0.0T'

that extra T at the end of the target branch is throwing a wrench in things. Is there any way to manually concatenate a string to the end of the Target_Baseline or perhaps even remove that character from the target branch?

Any and all help is appreciated!


Answers:
author: twozniak
body: Hi [@Omar Morales](/t5/user/viewprofilepage/user-id/4231786)

The JQL expression is an GString and it has two phases of execution:

1. In the first one, all Groovy expression are interpolated into String

2. In the second, interpolated string is passed to JIRA for execution

In the first phase in all expression which are in "${}" you have full power of Groovy language to do anything You would like to do, for example:

```
${mergeRequest.pullRequest.toRef.displayId.substring('T', '')}
```

more about GString interpolation You can read here: <https://groovy-lang.org/syntax.html#_string_interpolation>

I think also that You are missing closing ' char or the first one is redundant, it could be just

```
Target_Baseline ~ ${mergeRequest.pullRequest.toRef.displayId.substring('T', '')}
```

Kind Regards,

Tomasz Wozniak

Software Engineer - ScriptRunner for Bitbucket


Tags: bitbucket-server

scriptrunner

server
??????? ?????? ??????????
Asked by Narita:

??????? ????????????????????????????

?????????????????????


Answers:
author: Tobias H
body: Hello Narita!

When creating or editing a page you have the option to make the page full-width.

You can do it by clicking the \<- -\> icon in to the right of the page title in edit mode.

![Screenshot 2023-02-27 at 12.20.58.png](https://community.atlassian.com/t5/image/serverpage/image-id/242544i0D7973826FBC3CF6/image-size/large?v=v2&px=999 "Screenshot 2023-02-27 at 12.20.58.png")

comments: author: Narita
body: Thanks for the answer!

But what I want to do is to fine-tune the width with CSS, etc.

That's what I'm trying to do.


Tags: confluence-cloud
How do we remove these racial emojis - this is discrimination
Asked by Mel Smith:

PLEASE REMOVE RACIAL EMOJIS!!!!! I DON'T WANT THE ON MY COMPUTER!!!!!!!!! STOP THE DIVIDING


Answers:
author: Nic Brough -Adaptavist-
body: Please STOP SHOUTING - it's hard to read and some find it rude.

What do you mean by "racial emojis"? Do you mean things like the hand emoji which comes in several different colours? So it can represent people who do have varying skin colours?

You'll need to talk to the unicode consortium if you want to change the way emojis work, not Atlassian.


author: Fabio Racobaldo _Herzum_
body: Hey [@Mel Smith](/t5/user/viewprofilepage/user-id/5156794) and welcome,

what are the racial emojis ?

Fabio
Confluence had problems starting up
Asked by liu mengtao:

BootstrapException: Unable to bootstrap application: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.


Answers:
author: Nic Brough -Adaptavist-
body: So the question becomes why you are deleting or emptying out your confluence.cfg.xml file when restarting the server?

Confluence doesn't do that, it has no functions that destroy the configuration files.

The only thing I can think of that might do this is if you ran an upgrade on your Confluence, and crashed out of it partway through the upgrade, or did it with the wrong user.


author: Brant Schroeder
body: [@liu mengtao](/t5/user/viewprofilepage/user-id/5156798) Welcome to the Atlassian community

Is that all you are seeing in the Confluence logs? Can you share more information? When did the issue start? Is this the first time you installed it or did you upgrade?

comments: author: liu mengtao
body: This is generated after my server is powered off and restarted.confluence.cfg.xml file becomes blank
Migration elements stuck at ready state
Asked by David Maurel:

Hi,

After several successufl tests, we are migrating live JIRA and Confluence from Server to Cloud this week-end. Everything went well for JIRA, but Confluence does not want to migrate anymore !...

Review is fine, I used the same version of the migration assistant as during the previous tests. After I hit the Run button, all the elements (users and groups, spaces) stay at "ready" state indefinitely, without budging an inch. I tried to select only one small space to migrate, same symptom. I tried to uninstall and reinstall the migration assistant, I purged the cache, I tried to run it in browser private mode... I am really out of options here !

Did someone encountered the same problem ? Any ideas ?


Answers:
author: Hana Ku?erov?
body: Hi [@David Maurel](/t5/user/viewprofilepage/user-id/4909270) ,

I recommend you to create [migration support issue](https://support.atlassian.com/contact/#/). You can look into logs, whether there is any detail, which can help identify, what happened. But probably some sort of Atlassian help will be needed.

comments: author: David Maurel
body: Hi,

I created a support ticket, but the answer was too long to come. I finally found the problem on my own, it was a problem of insufficient Java JVM memory available. After doubling the xvm memory, the migration went smoothly. Maybe Atlassian support could have found that, but I needed quick response, which didn't happen.


Tags: confluence-server

migration-customer-care

server
I have canceled my Confluence subscription and I couldn?t find my data and pages when I renewed it
Asked by Besher Aldabbagh:

I have canceled my Confluence subscription and I couldn't find my data and pages when I renewed it. is there any way I can retrieve the data or a way to find it? I have only cancelled the subscription for a week now.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Besher Aldabbagh](/t5/user/viewprofilepage/user-id/5156579) and welcome,

please take a look to the following [article](https://support.atlassian.com/security-and-access-policies/docs/track-storage-and-move-data-across-products/#DatastorageFAQ-WhathappensifIdeactivateoneofmyproductsWhathappensifIdeleteorunsubscribefromoneproductonanAtlassianCloudsubscription?)

What happens if I miss payment for my Atlassian product subscription? {#toc-hId--492884840}
-------------------------------------------------------------------------------------------

If payment fails for your Atlassian product subscription, you will be **unsubscribed** from all products **15 days after the payment due date**, at which point users will no longer be able to access the product.

### Data retention period {#toc-hId-197676634}

After you have been unsubscribed, the length of your product's data retention period will depend on its license or plan. For products with:

* **Evaluation licenses --**data is retained for 15 days

* **Free plans -**data is retained for 60 days

* **Standard and Premium plans --**data is retained for 60 days

At the end of this data retention period, your product's data will be permanently deleted and cannot be recovered.

Atlassian won't delete any of your data stored in the Google Apps Marketplace, such as users or information in your Google Apps database, Google Docs, Gmail messages, Google Calendar entries, Google Chat, or Google Sites.

Fabio

comments: author: Dave Mathijs
body: Thanks for confirming the policy [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) .


author: Dave Mathijs
body: Hi [@Besher Aldabbagh](/t5/user/viewprofilepage/user-id/5156579) welcome to the Atlassian Community!

What plan did you sign-up to? Free or Standard?

If you had a standard plan, I suggest to get in touch with Atlassian Support directly.

comments: author: Besher Aldabbagh
body: Hi [@Dave Mathijs](/t5/user/viewprofilepage/user-id/2662590) Thanks!

I had a standard plan and I canceled the subscription then renew it but I couldn't find any of the pages I had there when I got back to Confluence.

I would appreciate if you have a solution to my case, and I will be contacting the support directly.


author: Dave Mathijs
body: Please submit a support request directly with Atlassian, maybe they'll still be able to recover as normally, you site isn't deleted immediately.


Tags: cloud
LX2160A station in trouble
Asked by binderl:

when looking for sata drive or NVME M2 on uboot mmc list doesn't show sata drive only the ssd with the ubuntu core on it and a device where the os boot but it's not the sata or M2 (it appears it is a disk of at least 60GB) do you know what command I can use to list sata drive? I try nvme and mmc. After booting I try lsblk but no /dev/sda.


Answers:
author: Nic Brough -Adaptavist-
body: You are asking in the wrong place, we are here to talk about Atlassian stuff, not installing operating systems.

comments: author: binderl
body: you don't provide other way to ask that question dude


author: binderl
body: beside the manufacturer website redirect on that website


author: binderl
body: And an operating system is installing on the eMMC storage but I'm not able to find the sata drive so if LX2 manufacturer is part of altlassian community it deals with the hardware product so the question in that way is suitable for the community.


author: Nic Brough -Adaptavist-
body: No, I can't provide another way to ask - you're asking in the wrong place, and I don't know where you should be asking.

The manufacturer does not redirect you here. I suspect the that they might be using Confluence for their docs, and you've clicked on "help with Confluence" instead of "help with product.


author: binderl
body: sorry


author: binderl
body: I'm not sure I can delete it
Adding Revision Number and Date using Wiki Markup
Asked by Bradley Baker:

My company's version of Confluence doesn't allow users to create our own macros, and the process of requesting new macros is very tedious. Is there a way to use the wiki markup to display the version number and published date for a page?


Answers:
author: Dominic Lagger
body: Hi [@Bradley Baker](/t5/user/viewprofilepage/user-id/5156067)

This is not possible.

Here is the wiki [markup documentation](https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html).

Regards, Dominic

comments: author: Bradley Baker
body: RIP, oh well

Thanks for the response!


Tags: confluence-server

server
How to combine table transformer and pivot tables
Asked by Andy Knott:

I have a table that is on a page which is using that table toolbox macro and has a table nested within table transformer macro which in turn is nested within a filter macro - so I can colour the rows based on condition and then filter the results to enable users to select data items which is of interest to them.

What Im wanting to do is additionally provide some charts that provide visuals on the status of data within that table, specifically I want to see a chart of open actions versus closed actions.

I get that there is a pivot macro that should be used before using a charting macro, but I'm just unclear how to structure the nesting, if at all, in order to have the pivot table based on the data in the table that is already wrapped in the table transformer macro

Can someone please provide guidanc on how to provide this level of depth of dependencies based on the use of a single table, or else make a suggestion as to an alternative approach that I could follow.

Cheers


Answers:
author: Andy Knott
body: I found an approach to this so I'm good

comments: author: Jason Caldwell
body: Would you mind sharing? I am looking for something similar.


author: Katerina Rudkovskaya [Stiltsoft]
body: Hi @\[deleted\],  

Sorry I haven't come across the question earlier due to the weekend and time zones difference. Glad that you've found the solution yourself.  

For other people who may come across this question: in Confluence Cloud you need to use the [Table Toolbox](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-toolbox-macro-42245927.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro to nest several macros (just drag'n'drop other macros inside its shell and create whatever sequences you want).  

You may also reuse the source table with the help of the [Table Excerpt/Table Excerpt Include](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-excerpt-and-table-excerpt-include-macros-42241623.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macros and create several pivots, charts, transformed tables, etc. based on one source table (you'll get a kind of a dashboard).  

And if you are stuck with smth specific, you may always refer to [our support](https://jsd.stiltsoft.com/servicedesk/customer/portal/2). The portal is confidential, so you may share your source tables and macro settings, we'll be happy to guide you through the difficulties.


Tags: cloud

confluence-cloud

filter

table

table-filter

table-filter-and-charts
DOCUMENTAR
Asked by Pinkforcrazy:

Hola!! en mi equipo necesitamos documentar todo lo que se trabaja..necesito saber si se puede hacer en Jira o que aplicacion de ATLASSIAN recomiendan?


Answers:
author: Vronik
body: Hola

Para documentar la mejor herramienta de Atlassian, se llama Confluence, puedes hacer de todo, una wiki, un blog, lo que necesites, tiene un potencial incre?ble y dudo mucho que haya algo que no puedas realizar.

Puedes colocar etiquetas, im?genes, enlaces, lo que necesites.


Tags: jira
I cannot access my pages https://tinekl.atlassian: Your Atlassian Cloud site is currently unavailabl
Asked by Fabrice Kr?yer-Loudet:

Hello,

I cannot access my pages <https://tinekl.atlassian.net/>. I get the error "Your Atlassian Cloud site is currently unavailable."

It might be deactivated as I didn't use it for few months

Could you please help me to recover my pages ?

Many Thanks

Fabrice


Answers:
author: Esther Strom
body: Hi, [@Fabrice Kr?yer-Loudet](/t5/user/viewprofilepage/user-id/5156023) - welcome to the Community! Unfortunately, this is a user-supporting-user volunteer site; we can answer technical questions, but cannot help you recover your site.

You will need to contact Atlassian Support by submitting a ticket at <https://support.atlassian.com/contact>.

Good luck!


Tags: cloud

confluence-cloud
Smart value to get to the body of the page - possible?
Asked by Dylewski,Rafal:

Hi, I'm trying to use Confluence Automation for some auto-tagging. I want to tag the page when some keywords are added to the page's contents. I know I can use {{page.title} smart value to get the title of the page. Is there a way to get the body or contents of the page?

If not using smart values, do you have any other suggestions for analyzing the page's contents to determine if some keywords exist?


Answers:
author: Trev Angle
body: Hi [@Dylewski,Rafal](/t5/user/viewprofilepage/user-id/5073696), Trevor from the Confluence automation team here.

I have seen people access the page body in an automation rule by using the Confluence REST API together with the "Send web request" action. You can access the HTTP response in later components with the {{webRequest.body}} smart value. So you could potentially use that smart value in a comparison condition to achieve your use case. Check out the other accepted answers for a link explaining how to use the REST API to get a page body.

comments: author: Dave Davison
body: This feels like it would be a common requirement for many users and not having access to the page body feels like it would limit the practical use-cases for confluence automations. Are there any plans for Atlassian to include {{page.body}} as a smart variable?


author: Stefan Salzl
body: Hi [@Dylewski,Rafal](/t5/user/viewprofilepage/user-id/5073696) - welcome to the community,

this be done with confluence API. There was a similar post here in the community:

<https://community.atlassian.com/t5/Confluence-questions/how-to-get-full-content-body-html-using-confluence-REST-API/qaq-p/710532>

Best  
Stefan


author: Brant Schroeder
body: [@Dylewski,Rafal](/t5/user/viewprofilepage/user-id/5073696) Welcome to the Atlassian community

I am not aware of a smart value for the body or content of a page. More information about available smart values can be found here: <https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/>

comments: author: Dylewski,Rafal
body: Thank you. I studied it carefully. If not via smart values, what other approach do you suggest to scan through the page contents? I guess we would need to create some custom Forge app..?


author: Chris_Parkes
body: The smart values {{page.body}} or {{page.body.storage}} will retrieve the body or content of a page.


author: Ethan Vaughan
body: The question is why the hell is there no smart value to use that we can use to send the page content in an email as an example? This is ridiculous that this is kinda the entire freaking point of Confluence, the actual crap on the page, and that we cannot access it with automation for confluence is a complete waste of the purpose of this application. So dumb.

comments: author: Stefan Salzl
body: Actually it IS possible to access the content in your automation. See the provided answeres.

Best  
Stefan


Tags: automation

cloud

confluence-cloud
Event Reminder for Calendar not working
Asked by Vivek Sharma:

Hello Team,

I have created a Calendar for my team, set up Event Reminder but unable to get Notifications when any event occur. Any suggestion?

BR,

Vivek


Answers:
author: Brant Schroeder
body: [@Vivek Sharma](/t5/user/viewprofilepage/user-id/5155957) Welcome to the Atlassian community

Are you following the directions laid out in the KB? <https://support.atlassian.com/confluence-cloud/docs/add-reminders-to-events/> Are you sure it is not going to junk? Is it happing to you or multiple people?

comments: author: Vivek Sharma
body: Thanks [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) for the response.

We are using Data Center version of confluence (7.13.8) not cloud. Though i have followed <https://support.atlassian.com/confluence-cloud/docs/add-reminders-to-events/> as you suggested but no luck. I am using Mac FYI

Is the same feature not available in Data Center Version?


author: Brant Schroeder
body: [@Vivek Sharma](/t5/user/viewprofilepage/user-id/5155957) Sorry about that. Yes server does provide reminders. <https://confluence.atlassian.com/doc/reminders-1044780420.html> It should not matter what platform you are on. What browser are you using? Have you tried a different browser to see if that makes a difference?


author: Vivek Sharma
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) I am using chrome. I will try with other browsers but was wandering if there are any system or applications settings which might stop the reminders to get through.


author: Brant Schroeder
body: [@Vivek Sharma](/t5/user/viewprofilepage/user-id/5155957) No. I would suggest contacting your email system administrator. There might be a outgoing filter that is preventing it from being sent. They could do a trace to see if the email is even reaching the server and if it is where it is going.


author: Vivek Sharma
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) sure, I will try these and revert back with the findings.

Thanks


Tags: confluence-server

server
Issues accessing https://atlassian.github.io/data-center-helm-charts/
Asked by robert.haskins:

I am getting "This site can't provide a secure connectionatlassian.github.io sent an invalid response.  
ERR_SSL_PROTOCOL_ERROR"

when attempting to access "<https://atlassian.github.io/data-center-helm-charts/>". It happens when I use an incognito browser as well as from my CLI terraform play. Can someone from Atlassian please take a look?

Thanks!


Answers:
author: Craig Nodwell
body: Hi [@robert.haskins](/t5/user/viewprofilepage/user-id/5155881) welcome to the community. Have you logged a support ticket?

comments: author: robert.haskins
body: [@Craig Nodwell](/t5/user/viewprofilepage/user-id/3973516) Yes, see: <https://github.com/atlassian-labs/data-center-terraform/issues/310>


Tags: cloud

confluence-server

server
embed local html file
Asked by Jeremi Grosz:

I would like to embed a local html file into my confluence page. I am aware of the 'HTML include' macro and to embed raw html using the 'HTML' macro. The 'HTML include' does not work since my file is local, and the 'HTML' macro only works if I copy out the raw html. Since my html file is over 3.5Mb, it would be nice to directly upload the file instead.


Answers:
author: Jeremi Grosz
body: It should have security issue of brower for html macro, how about attachment preview macro?

comments: author: Jeremi Grosz
body: I see, although I don't really understand why its safe to include html as text but not as a file. The preview macro only shows a thumbnail or link unfortunately.


Tags: cloud

confluence-cloud

html
Why can't some of my customers access our linked confluence sites?
Asked by Patrick Gallagher:

I have customers how can see all their support requests in the Service desk but they can not see the linked confluence pages.   
All they get is "No access, you do not have permission to view this confluence article"  

We do have "Any active user can view this space" permission in the confluence site.


Answers:
author: Kris Dewachter
body: Hi [@Patrick Gallagher](/t5/user/viewprofilepage/user-id/4588248)

Does this Service Desk project have a linked Confluence Knowledge base?

Are the linked Confluence pages in the tickets, coming from this Knowledge base?

If so, what are your Knowledge base access settings?

Go to the Jira SD project --\> Settings --\> Knowledge base

comments: author: Patrick Gallagher
body: It looks like it should be ok to me.   
Who can view = All logged-in users  
Who can edit = Only Confluence users


author: Patrick Gallagher
body: I would also add they can navigate around the knowledge base and see all the titles, just they have no access to the individual pages


author: Kris Dewachter
body: [@Patrick Gallagher](/t5/user/viewprofilepage/user-id/4588248) ,

It's strange that they can see the titles, but not the individual pages. I was thinking about individual page permissions, but in that case they would also not be able to view the page titles.


Tags: cloud

confluence-cloud

jira-service-desk-cloud