youngmon/atlassian-qna huggingface dataset:
Repository variable Vs For Loop Index
Asked by Midhun Mohan:

```
for i in {1..$SCALE_N}; do (docker container rm -f $SERVICE_NAME-$ENV_NAME_$i || true) && docker run --name $SERVICE_NAME-$ENV_NAME_$i -d $IMAGE_NAME:$BITBUCKET_BUILD_NUMBER ;done'
```

Say we have repository variables and index variable (**$i** ) in the script , pipeline does not executed as expected.

Will this **$i** be also considered as a repository/deployment variable ? or if any other way to do this so that the index will be appended to the container name


Answers:
author: ktomk
body: Heja [@Midhun Mohan](/t5/user/viewprofilepage/user-id/4316367) , from your question it remains a bit unclear to me what you did expect to happen and what happened instead.

Just guessing here: was your intention to have $SCALE_N variables with the names $ENV_NAME_1 , $ENV_NAME_2, .... $ENV_NAME_N ?

If so this depends on the shell the pipeline script makes use of: For /bin/sh this is [eval](https://pubs.opengroup.org/onlinepubs/009695399/utilities/eval.html) (see EXAMPLES there) and for /bin/bash this is [indirection](https://wiki.bash-hackers.org/syntax/pe?s[]=variable&s[]=variables#indirection).

> Will this **$i** be also considered as a repository/deployment variable ?

No.


Tags: bitbucket-pipelines
new comer doesnt receive invitation email from bitbucket
Asked by Stanislav Demianets:

Hi, we have a new comer with email vadym@filmsolutions.com He doesn't receive any emails from bitbucket, and that's why I can't invite him to our workspace/project


Answers:
author: Theodora Boudale
body: Hi [@Stanislav Demianets](/t5/user/viewprofilepage/user-id/4339116) ,

I checked in our system and I saw a hard bounce event for this email created about a week ago, with the message:

```
550: 550 5.4.1 Recipient address rejected: Access denied.
```

There might have been an attempt to create an account or send an invitation 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 any invitations 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: Stanislav Demianets
body: Thanks for a so quick response! Yes, he received an email. Thanks a lot for your help!


author: Theodora Boudale
body: You are very welcome, glad to hear that the issue is resolved!


Tags: bitbucket-cloud

cloud
Notify when specific code lines changes
Asked by barakb:

Hi to all Atlasssian community!

I was wondering if bitbucket has any tool/extension to follow specific code changes in my code repository? Moreover, I need this tool/extension have a Jira integration so that when the code changes I will be able to see it in a specific Jira ticket somehow.

My final goal is to have a Jira ticket that has integrated tracking of specific code lines in the repository.

Thank you all in advance for you help!


Answers:
author: Aron Gombas _Midori_
body: I don't think it is available.

Can you elaborate the problem? (Maybe you're asking about a sub-optimal solution...)


Tags: bitbucket-cloud

cloud
How do I configure bitbucket pipeline for Flutter app
Asked by Priyadarshini Chettiar:

I have already integrated github with Jira and I want to create a bitbucket pipeline for deploying and releasing the Flutter mobile app


Answers:
author: Przemyslaw Szlufinski
body: Hi [Priyadarshini Chettiar](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4338995)  

We finished our set up and we used the code magic (all in one platform). You can set up CI/CD for flutter using bitbucket and bitbucket runners with an external mac cloud environment.


Tags: bitbucket-cloud

bitbucket-pipelines
How to merge conflict pull requests using api
Asked by ???????? ?????:

Is there any possible way to merge pull requests with conflicts using Bitbucket api? Or maybe there is a way to resolve conflicts using api?

For example i'm using "git merge -s recursive -X ours" in linux terminal.


Answers:
author: Theodora Boudale
body: Hi [@???????? ?????](/t5/user/viewprofilepage/user-id/4338960) and welcome to the community.

I believe that it is not possible to merge a PR with conflicts or resolve the conflicts with an API call, the same way you can do with a git merge command.

If you'd like, I can open a feature request in our issue tracker to provide an option to resolve a conflict with a specific strategy chosen by the user, for our development team to consider. Please feel free to let me know if you'd like me to do that.

Kind regards,  
Theodora

comments: author: Alex_Cohn
body: This is exactly what I need! Please add such feature!!


author: Theodora Boudale
body: Hi Alex,

Thank you for the feedback.

I created a feature request for the ability to merge a PR with conflicts using our API:

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

We already have two similar feature requests for the ability to do so via the UI:

* <https://jira.atlassian.com/browse/BCLOUD-19568> (resolve conflicts with an inline editor)
* <https://jira.atlassian.com/browse/BCLOUD-12935> (resolve conflicts with .gitattributes file)

Please make sure you add your vote to the feature requests you are interested in (by selecting the **Vote for this issue** link in the respective request), as the number of votes helps our product managers better understand the demand for new features. You are more than welcome to leave 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 requests.

Kind regards,  
Theodora


author: Alex_Cohn
body: Thanks [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086), I believe that when <https://jira.atlassian.com/browse/BCLOUD-12935> is ready, my team will be glad to adopt this feature.


Tags: bitbucket-cloud

cloud
Verification email not received
Asked by Elena Mor?n Vidal:

Good morning!

I tried to create a new Bitbucket account for my job (different email account from this) and I've never received my email verification. I have asked for it several times but mail never arrives.

I don't know what to do. Thanks in advance!


Answers:
author: Theodora Boudale
body: Hi [@Elena Mor?n Vidal](/t5/user/viewprofilepage/user-id/4338745) ,

The most likely reason is that the email has ended up in a suppression list, if you attempted to create an account before the email was operational.

I would suggest to first double check if your job email is working and if you can receive emails from others now (e.g. send a test email from your personal email to your job one).

If this is ok, we'll still need to remove your job email from the suppression list from our side, but we'll need to know what the email is.

If you don't want to share it here publicly, then you can do either of the following:

**1.** If you are able to log in to <https://community.atlassian.com/> with your job email, you can leave a comment in this post from that account and I'll be able to see its email, check if it is in any suppression list and remove it if that's the case.

**2.** Alternatively, you can open a ticket with Bitbucket Cloud support team and request assistance with this issue. The support ticket will be visible only to you and Atlassian staff, so you can share the email in the ticket and it won't be publicly visible.

You can open a ticket via <https://support.atlassian.com/contact/>, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product. In "What is the impact to your business?", make sure to select "Level 1" to ensure that you get a fast response, since this is blocking you from creating an account.

After we remove your email from the suppression list, you'll need to select to resend the verification email, as the previous one was dropped.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora

comments: author: Elena Mor?n Vidal
body: Good morning Theodora.

Firstly, thank you for your fast response. I know I can receive mails on my job account so I am opening a ticket to share my address privately.

Thank you again.

Best regards,

Elena


Tags: access

bitbucket-cloud

cloud

issue

new-to-atlassian

registration

verify
Expand/collapse Table content in confluence
Asked by Arya Soman:

Hi All,

We have a requirement where we need to collapse some table columns and to expand it only when required.  
We do know about the below ways:  
1. Using Expand Macro  
2. Freezing N Table columns using Table filter macro  
3. Hide Table columns using Table filter macro

But what we actually want is if we have 10 columns in a table we want to display only 5 columns to the users but need to collapse remaining columns and expand it only by clicking on some links and until then only 5 columns should be displayed in the confluence page.

Can anyone suggest me a method to resolve this issue.

Thank you


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Arya Soman](/t5/user/viewprofilepage/user-id/4928285),  

As you've mentioned that you have 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, you may use its [Table Spreadsheet](https://docs.stiltsoft.com/tfac/dc-server/how-to-use-table-spreadsheet-macro-83100938.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro for the case.  

The macro allows you to use the Excel-like "Hide selected column"/"Show hidden column" features

comments: author: Amy Wei
body: [@Katerina Rudkovskaya \[Stiltsoft\]](/t5/user/viewprofilepage/user-id/3738229) Is group/ungroup columns function also available in Table Spreadsheet for a table and where to find that function? Thanks.


author: Zoriana Bogutska_Adaptavist_
body: Hi [@Arya Soman](/t5/user/viewprofilepage/user-id/5180144)

With an advanced expand macro by [Content formatting macros for Confluence](https://marketplace.atlassian.com/apps/247/?utm_source=referral&utm_medium=Comment_Expand-collapse-table-content-in-confluence_20240626&utm_campaign=Atlassian-Community) you can add an expanding option to your table cells, background or tabs.

But this feature is available for Confluence Cloud only (for a case if you migrate)

![Screenshot 2024-06-26 at 07.07.47.png](https://community.atlassian.com/t5/image/serverpage/image-id/331791iF8F8C9E86202FD63/image-size/large?v=v2&px=999 "Screenshot 2024-06-26 at 07.07.47.png")


Tags: filter

jira-software

jira-software-server

server

table

table-filter

table-filter-and-charts

table-spreadsheet
How to fill a table cell with pages containing a certain label
Asked by Alexander Schmelzer:

Hey there,

I am trying to generate a list of page titles based on a certain tag. The page titles shall be added automatically and if you click on the page title, you get to the page of the clicked page title.

Do you know how to do that? It seems very basic but I am not able to find the answer to this question.

Best regards,  
Alex!


Answers:
author: Elena Lurye
body: Or labels list macro - this way you can see all labels used on your site - <https://confluence.atlassian.com/doc/labels-list-macro-180846844.html>


author: Margaret Hassall
body: You could try the Content by label macro

<https://confluence.atlassian.com/doc/content-by-label-macro-145566.html>


Tags: cloud

confluence-cloud

dynamic

macro
timezone issue on confluence
Asked by kohopir975:

Hi I have time issue on confluence, here is the scenario:

the main issue is 1 hour different between time of OS and confluence systemtime.

RHEL 7

openjdk version "1.8.0_282"

confluence 7.13

<br />

<br />

\[confluence@ \~\]$ date  
Sun Mar 26 14:45:16 +0330 2023

System info of confluence:  

View System Information  
Confluence Information  
System Date Sunday, March 26, 2023  
System Time 3:45:16 PM

I add below line and restart service but issue still remain.

vi /opt/atlassian-confluence/bin/setenv.sh  
CATALINA_OPTS="-Duser.timezone=Asia/Tehran ${CATALINA_OPTS}"  

<br />

installed tzdate version: tzdata-2022g-1.el7.noarch

<br />

<br />

any idea?

Thanks


Answers:
author: Sevag Keoshgerian
body: Hi [@kohopir975](/t5/user/viewprofilepage/user-id/5044386)

Check out these links below, see if they help.

<https://confluence.atlassian.com/confkb/how-do-i-change-the-default-time-zone-for-users-in-confluence-317197556.html>

<https://confluence.atlassian.com/doc/edit-your-user-settings-1016023.html>

I'm also wondering if its a daylight saving bug.

comments: author: kohopir975
body: [@Sevag Keoshgerian](/t5/user/viewprofilepage/user-id/4661450)Thanks for answer, time zone set correctly now, but in some country like Iran no longer observes DST after 2022. so time zone must be update from +04:30GMT to +03:30GMT.

Any other idea?


Tags: confluence-server

server
Enable the legacy editor template
Asked by ??c Nguy?n Tr?ng:

Hi Atlassian Team, I'd like to use the nested table feature in the old editor, which the new one doesn't have, for my DD.

My site: \[REDACTED\]

Please help me. Thank you so much!


Answers:
author: Brant Schroeder
body: [@??c Nguy?n Tr?ng](/t5/user/viewprofilepage/user-id/5179676) welcome to the Atlassian community

I have escalated to Atlassian.

comments: author: ??c Nguy?n Tr?ng
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) Thank you!


author: Shannon S
body: Hi [@??c Nguy?n Tr?ng](/t5/user/viewprofilepage/user-id/5179676),

Thanks to [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) for escalating this to us! I created a support ticket for our Confluence team to assist you. Check your email for the ticket number!

Take care,

Shannon \| Atlassian Community Support


Tags: cloud

confluence-cloud
cannot change sidebar, options are greyed out
Asked by Richard King:

I do not have the Space setting option in my sidebar. Space shortcuts and page tree are greyed out. I can access Profile,Blog,Calendars, and Analytics. How do I make changes to my sidebar now?


Answers:
author: Richard King
body: I guess I have to get a feel for the user interface. Found what I was looking for. the space tool option was not where I thought it would be. Sorry.
Data analysis in Confluence
Asked by Nani77:

Hello dear community,

I have started a data analysis project to study our team's Confluence space. I am trying to understand several things:

1. How to insert a new column that shows the last modified date by specific profiles (Just when someone from our team members edited).

2. I am trying to monitor label changes for pages. I know how to insert a new column for the current labels, but can I add another column that will show the exact date when this label is added to a specific page?

Thank you.

![content-report-table-view.png](https://community.atlassian.com/t5/image/serverpage/image-id/247757i499537E5F0964D03/image-size/large?v=v2&px=999 "content-report-table-view.png")


Answers:
author: Brant Schroeder
body: [@Nani77](/t5/user/viewprofilepage/user-id/5179579) welcome to the Atlassian community

I would suggest that you read the following:

* <https://confluence.atlassian.com/doc/analytics-1044780333.html>
* <https://confluence.atlassian.com/confkb/how-do-i-get-more-statistics-from-confluence-154239308.html>


Tags: confluence-server

server
Confluence Comment Smart Values
Asked by Seth Wiggins:

I am looking to loop through the comments on a page when the status of the page changes.

Using the branch rule/ related entities, I filter by content = type and then try to access each comment with {{comment.body}}.

However, it only returns null and logs nothing.

Any ideas?

![Screen Shot 2023-03-25 at 10.03.15 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/247729iF544EDF2C11C21BC/image-size/large?v=v2&px=999 "Screen Shot 2023-03-25 at 10.03.15 AM.png")


Answers:
author: Trev Angle
body: Hi all, Trevor here from the Confluence automation team. The documentation around the CQL branch is in need of an update, as there is no such thing as a component "modifying the trigger". I have flagged this to our documentation people!

As far as your question [@Seth Wiggins](/t5/user/viewprofilepage/user-id/5179456), the problem is that the CQL branch does not expose a {{comment}} smart value, it instead exposes a {{cqlResult}} smart value which does not support all the same fields (unfortunately this is also not adequately explained in the documentation right now). The following fields are supported at this time:

* {{cqlResult.type}}
* {{cqlResult.id}}
* {{cqlResult.title}}
* {{cqlResult.state}}

If you need to access the comment's body you unfortunately cannot do that directly from the CQL branch smart value. But depending on your use case we may be able to find a workaround.

comments: author: Trev Angle
body: Update: The CQL branch now outputs the full smart values along with {{cqlResult}}. See more info <https://community.atlassian.com/t5/Confluence-articles/MANY-New-Smart-Values-Added-to-Automation-for-Confluence/ba-p/2588511>


author: Alex Koxaras _Relational_
body: HI [@Seth Wiggins](/t5/user/viewprofilepage/user-id/5179456) and welcome to the community,

From what I understood form the [CQL documentation](https://support.atlassian.com/cloud-automation/docs/branches-in-confluence-automation/#For-each-CQL-result--related-entities-) and tested on my instance, the entities branch will work well if the entities are related to the trigger:
> For each CQL result will modify the trigger. In order for this branch to work properly, your CQL query must relate to the object of the rule's trigger.

Having said that, whenever I tried to use your trigger, the comments always returned null. But when the trigger was "Page or blog commented", the {{comments.body}} returned with a value:

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

Can you please explain what is it that you want to achieve? Maybe there is another way to do this.


Tags: cloud

confluence-cloud
How can I create a list of links, that will take the user to that particular item on the page
Asked by Kevin Trainer:

I have a page holding a table of items which take up a lot of space, ie, the reader has to scroll down through a lot of information to find the info they want.

How can I create a list (eg, content list) of links, that will take the person clicking to that particular item of information within the same page.


Answers:
author: Teodora V
body: Hi [@Kevin Trainer](/t5/user/viewprofilepage/user-id/5179402)

As [@Nicolas Grossi](/t5/user/viewprofilepage/user-id/676185) suggested, the Table of Contents macro would work great if you add headings to each of your items and position the TOC macro at the top of the page.

Anchors also work if you need to point the users to a specific part of the content (not only the beginning of a paragraph)

comments: author: Kevin Trainer
body: Cheers mate, just going to try it now


author: Kevin Trainer
body: Sorry folks, can't quite work it out. I can see the item when editing the page but not sure how to add items or text to show up on screen that the user can then click to take them to a particular section within the page? ![Table of Contents.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/248191i948D6F6999E387B2/image-size/large?v=v2&px=999 "Table of Contents.JPG")


author: Kevin Trainer
body: Its ok folks, I've managed to work it out. I replaced my Normal text with Heading text, then created the Table of context, and it automatically picked up my new Heading text


Tags: cloud

confluence-cloud
Need to disable download option for others except our team
Asked by Ramachandran Gunasekaran:

Hi Team,

we created a new space in confluence where we uploaded the multiple word document files.

we want those policy documents only viewable to others instead of download and they should not download those documents except our team.

is there a way to do that?

each policy will have a end date and we want email triggers before 30 days from expiry which is uploaded in confluence space


Answers:
author: Riley Venable
body: Yes, there is a way to restrict users from downloading files in Confluence. You can apply restrictions to the space and the page where the files are uploaded, and also restrict viewing and editing permissions to certain users or groups. This will allow others to view the documents, but they will not be able to download them. In addition, you can set up email notifications for the expiration dates of each policy by using a Confluence add-on such as Comala Document Management.


Tags: cloud

confluence-cloud
How can i reset the heatmap labels marco
Asked by Matthias Mauer:

Is there a possibility to count the heatmap from a certain date?


Answers:
author: Brant Schroeder
body: [@Matthias Mauer](/t5/user/viewprofilepage/user-id/5179386) welcome to the Atlassian community

There is not functionality for that at this time. I would suggest submitting a feature request here: [https://jira.atlassian.com/browse/CONFCLOUD-69281?filter=-4\&jql=project%20%3D%20CONFCLOUD%20AND%20text%20\~%20%22Heat%20map%22%20order%20by%20created%20DESC](https://jira.atlassian.com/browse/CONFCLOUD-69281?filter=-4&jql=project%20%3D%20CONFCLOUD%20AND%20text%20~%20%22Heat%20map%22%20order%20by%20created%20DESC)


author: Matthias Mauer
body: Yes, Thank you


Tags: cloud

confluence-cloud
Bulk Import
Asked by Lmodert:

I am trying to upload 300 leases using the bulk import option and I am getting an error because of the existing balances area.

The GL# is correct and the existing balance is entered as a positive number, some areas with a 0.

I am not sure where to go from here. Any ideas on why I cannot upload?


Answers:
author: Trudy Claspill
body: Hello [@Lmodert](/t5/user/viewprofilepage/user-id/5179115)

Welcome to the Atlassian community!

You've posted this question in the Confluence community. Are you trying to import data in Confluence? The context of your question makes me think you are trying to import data into Jira actually.

Also, please show us the exact error message you are getting.

comments: author: Lmodert
body: I am just trying to upload into LC. I am not receiving an error message, just the highlighted pink on the excel sheet I am uploading. I have followed the same procedure for uploading leases in the past. This one, however is the first one with existing balances. I am using the template as well. This is what the excel sheet looks like and the columns giving me issues. The GL#;s are an exact match and the amounts are in the positive.

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


author: Trudy Claspill
body: I'm sorry but I don't know what "LC" is. Are you trying to upload this data into an Atlassian Confluence application?