youngmon/atlassian-qna huggingface dataset:
How to pass variable across steps
Asked by t1279k:

I defined a variable in step1 **export val="test"** . I would like to used it in the next step2 **echo $val**. How can I access the variable in next step. Is there a special way I can declare variables so that they can persist across steps.


Answers:
author: Theodora Boudale
body: Hi [@t1279k](/t5/user/viewprofilepage/user-id/4306534) ,

It is possible to declare variables on the repository level and on the workspace level. If you want this variable only for one specific repo, you could define it as a repository variable and it will be available in all steps of this repo.

You can check our doc below, specifically the section **User-defined variables**:

* <https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/>

Another option would be to create a text file during the first step where you define the variable.  
E.g., you could create a file myfile.txt with content

```
val="test"
```

Then, define the file myfile.txt as an artifact, so that it becomes available to all following steps:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/>

In the second step, you can then run

```
source myfile.txt
```

and this command will set the variable for the second step where you run it, and you'll be able to use it.

Do any of these options work for you?

Kind regards,  
Theodora


Tags: bitbucket-pipelines

cloud
Is there a way to set App password complexity and expiry requirements
Asked by Luke Franzelas:

My environment requires the frequent change of passwords and keys. This includes bit bucket app passwords. Is there a way to force a user to change their password after a specified time period and force that password to meet password requirements.

I've done a few searches and keep coming up with this but it doesn't seem to indicate whether or not this impacts app passwords:  
<https://support.atlassian.com/security-and-access-policies/docs/manage-your-password-policy/>  


Answers:
author: Theodora Boudale
body: Hi Luke,

The documentation you linked is applicable for Atlassian account (the ones for <https://id.atlassian.com/>, which are used for authentication to our Cloud products) passwords only and it doesn't impact Bitbucket app passwords.

I'm afraid that it is not possible to set and enforce an expiry date for app passwords. We have a feature request about this in our issue tracker:

* <https://jira.atlassian.com/browse/BCLOUD-15698>

I would suggest that you add your vote in that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

There is no option to set app password complexity either, however app passwords are not set by the user (like passwords), they are generated by Bitbucket and are quite complex. What kind of complexity requirements would you like to be able to set? Would it be minimum length of app-password? A requirement to include e.g. special characters? I could open a feature request for this if you'd like (please feel free to let me know), but it would be useful to know what kind of complexity requirements you're interested in.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket Approval form
Asked by Aron Felberbaum:

We are looking to add to the Bitbucket approve process a form with questions to the approver.

Any suggestions?


Answers:
author: Mikael Sandberg
body: The way I implemented this at my previous job was by adding tasks to the pull request that the reviewers had to check off before approving the request (I used scriptrunner to do this) and the merge policy to not allow the merge to happen until all tasks were checked. I know this does not prevent the author of the request to check the tasks off, but we could always hold the reviewers and authors accountable if during a review we found that they had not followed the approval process.


Tags: bitbucket-server

server
I can't receive invitation email
Asked by itmozaik:

Hi to all,

Can't receive invitation email for sotiris.valogiannis@mozaik.com  

Please unlock it in order to add this email to our team.

Thx


Answers:
author: Theodora Boudale
body: Hi [@itmozaik](/t5/user/viewprofilepage/user-id/824233) ,

I checked in our system and I saw a hard bounce event for this email that was created yesterday, with the message:
> 550: 550 5.4.1 Recipient address rejected: Access denied. AS({hex}) \[HE1EUR01FT046.eop-EUR01.prod.protection.outlook.com\]

It looks that the invitation may have been sent before the email was operational. The hard bounce informs us that the email does not exist and in this case it is placed in a suppression list, as we no longer try to resend to non-existing emails.

I went ahead and removed the email from the suppression list, could you please try resending the invitation now?

A new invitation needs to be sent, as the previous ones were dropped.

Please feel free to let me know if things are ok now and if you need anything further.

Kind regards,  
Theodora

comments: author: itmozaik
body: Thx Theodora

Case closed. successfully.  
Everything's ok


Tags: bitbucket-cloud

cloud
DIV ID not saving
Asked by Matt:

Hello,

I am creating a Confluence page via v2 API using XHTML div with IDs but after they're published, they're no longer there. Any reason why?


Answers:
author: Vronik
body: Hi

Look at this, maybe can help you

<https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/>


Tags: cloud

confluence-cloud
Block the Blue CREATE button
Asked by Tamara Witkowski:

Remove the BLUE CREATE BUTTON from the tool bar. But it under the Files because it drops that new page anywhere in the space. Or there needs to be a question on where they are adding a page. I find stuff allover the branch space because simple users dont want to use the system, but have to for specific tasks.


Answers:
author: Esther Strom
body: Hi, [@Tamara Witkowski](/t5/user/viewprofilepage/user-id/4589092) . This is a Community site; we are users like you who are here to support other users. We do not have access to make changes to the Confluence application itself.

To report a bug or make a suggestion, please open a ticket in the [CONFCLOUD project](https://jira.atlassian.com/browse/CONFCLOUD) on jira.atlassian.com, which is owned and monitored by Atlassian employees.


Tags: cloud

confluence-cloud
Are any versions of Confluence prior to version 8 going to upgrade to log4j version 2.17.x?
Asked by Bill Zakrzewski:

I see that version 8 includes log4j version 2, but will log4j in version 7.19.x be upgraded?


Answers:
author: Srinivas Sakali
body: Hi Bill,

Welcome to Atlassian Community.

It looks like log4j2 will not be back ported to 7.19.x LTS versions. We need to upgrade to 8.0 version only to have log4j2.

Please refer link for the same.

<https://jira.atlassian.com/browse/CONFSERVER-59742?src=confmacro>

Thank you,

Srinivas


Tags: confluence-server

server
User macro - Display current calendar week + n
Asked by Konrad Gora:

Hello,

I try to create user macro which display, as a number, current calendar week + n.

Where "n" is written in the @ param.

This is my code:

```
## @param Nextcw:title=Calendar week +n |type=int|required=true|desc="n" value
#set ($n = $paramNextcw)
#set($Integer = 0)
#set($Integer= $Integer.parseInt($n))

#set($calendar = $action.dateFormatter.calendar)
#set($cweek= $calendar.get(3)+$Integer)
$cweek

```

It's working almost good. But the problem is that variable $cweek is an integer.

I assume that I should convert it to the type "date"? In other way I'll get values above 52.

But I have no idea how to handle it. I would add that this is my first usermacro. So I'm total newbie.


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Konrad Gora](/t5/user/viewprofilepage/user-id/4677629),  

Please check if your company uses our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=datacenter&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app -- the case can be accomplished via its Table Transformer macro.  

Tell us if you see the [Table Transformer](https://docs.stiltsoft.com/tfac/dc-server/how-to-use-table-transformer-macro-42241552.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro among the available macros -- we'll be able to help you with the SQL query.

comments: author: Konrad Gora
body: Hello,

Thank you for answer. I know solution with Table filter macro but I'm not sure if it is for us. With this app I am limited to display CW only in table. I need more flexible way to show CW. That's why I chose the user macro solution.


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts

table-transformer
Multiple templates on one page
Asked by olga.mezhova:

Hello everyone!

I'm trying to create a multi-template page:

At step 1 a user would use template 1 to start the page.

Then as the process continues, he will add another template on the same page and fill it as well.

It would be really important to keep it on one page and to have an option to add sections later in the process from a template.

Any suggestions?


Answers:
author: Kris Dewachter
body: Hi [@olga.mezhova](/t5/user/viewprofilepage/user-id/5174583) ,

As far as i'm aware, you can not apply multiple templates on the same page.

I would add all the required page sections to the page template and clearly explain to the user when each section needs to be filled.

Best regards,

Kris

comments: author: olga.mezhova
body: Thanks, yeah, that what I was doing


Tags: cloud

confluence-cloud
Inactivating users from backend database
Asked by Charaniya Ganesh:

Can we inactivate users from CWD_user table by changing the "Active" flag to 'F'


Answers:
author: Barnali Putatunda
body: HI Charaniya,  

Yes , "Active" flag to 'F' is for inactive users.  
Please follow this Atlassian document for the exact details regarding disabling users via database query. You will find the reference based on your Confluence version \& database type.  
<https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html>  

Hope it helps you!

comments: author: Barnali Putatunda
body: But I highly recommend to check with Atlassian support before making any changes to database.


Tags: confluence-server

server
Problem with pdf export
Asked by Ammar Farra:

Hello everyone, when I'm exporting the whole space from exporting tool, the images in the exported pdf file are not showing well, for example, part of it is at the end of the page, and the next page is at the start of the next page, so the images not appearing full at all!

can anyone help me with it?

thanks in advance


Answers:
author: Brant Schroeder
body: [@Ammar Farra](/t5/user/viewprofilepage/user-id/4638792) Can you share a screenshot?


Tags: cloud

confluence-cloud

pdf-export

style
One update leads to hundreds of email notifications
Asked by Jason Liu:

We have a page including 100+ attachment pictures. Every single update about the page content will let the system send hundreds of email notifications to watchers. I want to know the logic of the email notification. May I know why this happens? How to avoid this?


Answers:
author: Brant Schroeder
body: [@Jason Liu](/t5/user/viewprofilepage/user-id/4567629) Do you have any apps installed on your server instance? How are you adding images to the page?

comments: author: Jason Liu
body: Hi, I'm the admin of our Confluence and the question is from a user. So I think that they were adding the images by copy/paste or upload. Does this matter? Maybe I will ask them. Please see our installed plug-ins list:

![Confluence plug-in 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/248076iA3188108E43F02BB/image-size/large?v=v2&px=999 "Confluence plug-in 1.png")![Confluence plug-in 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/248077iB6A3004BAEEE7EF9/image-size/large?v=v2&px=999 "Confluence plug-in 2.png")![Confluence plug-in 3.png](https://community.atlassian.com/t5/image/serverpage/image-id/248078i4F9AE8A4CC7D1719/image-size/large?v=v2&px=999 "Confluence plug-in 3.png")


author: Brant Schroeder
body: Yeah it would be interesting to see what they are doing. I am wondering if they are doing a bunch of attachments not in edit mode. Knowing the steps of what they are doing would be great.


Tags: confluence-server

server
How can I get a list of all the attachments linked to the children pages?
Asked by Corne Ackermann:

I want a list of all attachments (preferably per child page) of all the pages under the parent page. I don't want it per space (to many other pages and attachments).


Answers:
author: Summer Hogan
body: Hi [@Corne Ackermann](/t5/user/viewprofilepage/user-id/5174277) - welcome to the community!   
The only thing I can find for you is this <https://confluence.atlassian.com/display/DOC/Viewing+Attachment+Details>. Click on the details that most closely match the version of Confluence you are running and there are details for how to view attachments per page. I hope this helps you!

comments: author: Corne Ackermann
body: The link took me to a page with an error message.


author: Summer Hogan
body: Try this: <https://confluence.atlassian.com/display/CONF56/Viewing+Attachment+Details>
Confluence Error
Asked by Simge Tanr?bilir:

$soyTemplateRendererHelper.getRenderedTemplateHtml("com.atlassian.auiplugin:aui-experimental-soy-templates", "aui.page.header.soy", $templateParameters)  
I get this error. How can i solve this problem?


Answers:
author: Mirek
body: Hi [@Simge Tanr?bilir](/t5/user/viewprofilepage/user-id/5174218)

You might be hitting this

<https://confluence.atlassian.com/confkb/missing-buttons-or-the-entire-top-bar-with-soytemplaterendererhelper-getrenderedtemplatehtml-error-message-867358888.html>

related to this

<https://jira.atlassian.com/browse/CONFSERVER-22390>


Tags: confluence-server

server
Macro Date: change format
Asked by Moritz Conj?:

Hey,

how can I change the format of the "Date-Macro" (//Date)?

I changed the settings in "Global Configuration" and the sites are using the right date format.

But I can't change the format of the Inline-Macro!

Is there another option?

---

Seems still to be a problem -\> <https://jira.atlassian.com/browse/CONFSERVER-55188>

Did I need to change the "Indexing language" under General Configuration to get the wanted result, because the site is running on "Deutsch (Deutschland)" under "Language Configuration / Global Default Language"?


Answers:
author: Moritz Conj?
body: It's still an issue?

<https://community.atlassian.com/t5/Confluence-questions/How-can-I-modify-the-date-format-in-Confluence-s-quot-Date-quot/qaq-p/1344114>


Tags: cloud

confluence-cloud
Cannot edit settings for Create new from template macro
Asked by Peter Riches:

I have a space in Confluence that uses the Create new from template macro to create a number of child pages. I used the same macro within these child pages (that is, embeded into the template) to create the next level of child pages using a different page template.

I can edit the settings of this first Create new from template macro where it is used on the parent page, however when I go to a specific child page where I want to change the macro settings to use a different template from all of the other children, I cannot edit the macro, or delete it and insert the macro again. I can edit the settings of two other macros on this page (that is, when selected and I choose 'edit' the settings come up in the sidebar) but when I choose 'edit' for the Create new from template macro nothing happens.

I have check with some other child pages at the same level, and I have the same problem.


Answers:
author: Pankaj Jangid
body: I am just guessing here...

One possible solution to this issue could be to try editing the macro from the parent page. Since the child pages are using the macro embedded in the template, any changes you make to the macro on the parent page should be reflected in all of the child pages that use that template.

If this does not work, you can try deleting the macro from the parent page and then re-adding it with the desired settings. This should also update the macro on all of the child pages that use that template.

comments: author: Peter Riches
body: HI Pankaj, thanks for your reply. Unfortunately it is only one specific child page where I want the different behaviour (that is, to use a different template), so it wouldn't work to modify the macro on the parent page.


author: Peter Riches
body: UPDATE: After reloading the page a number of times, I appear to now be able to update the macro on the child page. Oddly it appears as a dialog box floating above the main page rather than to the side of the main page like the other macros. However, it does mean I was able to edit the settings as required so the issue is now solved.


Tags: cloud

confluence-cloud
Figma Preview always has the log in view
Asked by Sat Sharma:

I am tried using the SSO feature and the confluence-Figma macro does not reload.

Is there a way to just saw the link beside the preview button. Atleast this would let someone preview in figma directly!

I have not found a solution that has worked for me.


Answers:
author: Abhishek Thamman
body: Facing the same problem. Confluence keeps asking me to log in for every Figma live embed I am using on my page. And I need to do this every time I open or refresh my page.

![Screenshot 2024-04-02 at 3.37.20?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/315715i0CD3738DBEF288C8/image-size/large?v=v2&px=999 "Screenshot 2024-04-02 at 3.37.20?PM.png")


author: Eduardo Assun??o
body: Same here, hating every second of it!


author: Jerryton Surya
body: Hi [@Sat Sharma](/t5/user/viewprofilepage/user-id/5174131) welcome to the community   

Try these steps

1. Click on the Figma macro to select it.
2. Click on the "Edit" button (pencil icon) in the top right corner of the macro.
3. In the "Macro Browser" window that appears, click on the "Advanced" tab.
4. In the "Advanced" tab, locate the "Display Options" section.
5. In the "Display Options" section, enable the "Show Link to Figma File" option.
6. Click on the "Insert" button to save the changes and update the macro.  

   Let me know if this works for you  

   <br />

<br />

<br />

<br />

comments: author: Jeremy Martin
body: I am having the same problem and I don't see where to "select Figma macro". Could you provide any more information on where to start?  

![Screen Shot 2024-03-05 at 12.28.35 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/310334iABA227B320409191/image-size/large?v=v2&px=999 "Screen Shot 2024-03-05 at 12.28.35 PM.png")


author: Max Schorr
body: Same here


author: Eman
body: I am running to the same issue. I am still troubleshooting. Going to try to delete the figma app in jira and then re-add it.


author: Tara Price
body: Is there a solution to this problem, I'm still getting way to many sign in prompts.


Tags: figma
Behavior of images embedded in page
Asked by Martin Kniffin:

Hi --

I often take a lot of screenshots and paste them into a confluence page for documentation. It is friendly that I can set the width to keep the document somewhat neat, however this means that I'm sometimes making images too small to see well.

Sometimes in confluence, I can click an image and get a bigger version -- it treats the image as a preview / thumbnail and then you can "blow it up." This is desirable -- I can keep the document neat, and then users can click an image to see a larger version.

Is there a way to control this behavior?

Thanks,  
Martin


Answers:
author: Andy Gladstone
body: [@Martin Kniffin](/t5/user/viewprofilepage/user-id/5173847) Welcome to the Atlassian Community. Not all files that are able to be added to pages can be previewed in the way you describe. The documentation for this feature can be found here:

<https://support.atlassian.com/confluence-cloud/docs/display-files-and-images/>

Let me know if any of the image file types listed are giving you issues, otherwise this should be your guide for how to make the feature best work for you.

I hope this helps. Good luck!


Tags: confluence-server

server
"Page Comparison" Macro
Asked by Tulasi Sivanesan:

How to te get the "Page Comparison" Macro. It is not listed in the market place either


Answers:
author: Oday Rafeh
body: [@Tulasi Sivanesan](/t5/user/viewprofilepage/user-id/5173268)

The **"Page Comparison"** macro you are referring to may not exist as an out-of-the-box feature or a specific app in the Atlassian Marketplace. You can achieve similar functionality by using the **"Page History"** feature in **Confluence**.

**To compare different versions of a Confluence page:**

Navigate to the page you want to compare.

<br />

Click on the ellipsis (three dots) in the top-right corner of the page.

<br />

Select "Page History" from the dropdown menu.

<br />

In the "Page History" view, you will see a list of all the versions of the page.

<br />

Select the checkboxes next to the versions you want to compare and click the "Compare selected versions" button.

<br />

This will display a **side-by-side** comparison of the two selected versions, highlighting the differences between them.


Tags: cloud

confluence-cloud
Hi Atlassian Team! Can I please have the Legacy Editor added to my account?
Asked by D Richard:

From what I have researched it seems the features it offers would be more in line with what I am looking for


Answers:
author: Oday Rafeh
body: Hi [@D Richard](/t5/user/viewprofilepage/user-id/5173273)

To enable the **Legacy Editor** for your account, you need to contact Atlassian Support. Follow these steps:

Go to Atlassian [Support portal](https:%20//support. atlassian. com/contact/)

<br />

Select "Technical issues and bugs. "

<br />

Choose your product (e. g. , Confluence).

<br />

In the summary, write "Enable Legacy Editor for my account. "

<br />

Describe why you need the Legacy Editor.

<br />

Submit the request.

comments: author: D Richard
body: Thanks [@Oday Rafeh](/t5/user/viewprofilepage/user-id/5172837) but it seems I only get the opportunity to ask a question and not to make a request, with my Cloud free account. I am still evaluating the features to decide whether moving forward with a paid account would meet my needs.


author: D Richard
body: [@Jessica](/t5/user/viewprofilepage/user-id/3667333)is this something you can help with?


Tags: cloud

confluence-cloud
How do you embed a google calendar into a Confluence page?
Asked by Natalie Russell:

I would like it to display the events that will be/are scheduled on the calendar linked to a specific google account. How do I link that calendar to the page to actively show the calendar and the events happening during that week/month, etc.?


Answers:
author: Brant Schroeder
body: [@Natalie Russell](/t5/user/viewprofilepage/user-id/5173245) Welcome to the Atlassian community

You should be able to iframe the calendar into the page. <https://support.atlassian.com/confluence-cloud/docs/insert-the-iframe-macro/>

comments: author: Brant Schroeder
body: [@Natalie Russell](/t5/user/viewprofilepage/user-id/5173245) can you accept this answer to help others.


Tags: cloud

confluence-cloud