youngmon/atlassian-qna huggingface dataset:
Using composer custom cache location in bitbucket pipeline
Asked by Stetson Lewis:

Hello,

I am trying to cache my composer dependencies between builds. From [what I have seen](https://stackoverflow.com/questions/59535450/composer-cache-not-working-on-bitbucket-pipeline-build), I am using a custom composer cache location since the image does not use the default \`\~/.composer/cache\` location. Upon running the following script, I see in the build teardown section of the Composer install section that a cache is indeed being created: "Assembling contents of new cache 'composer-custom'". However, on subsequent runs of the build, it installs fresh composer dependencies and does not read from the cache.   

Since I can't quite seem to get the code snippet to look nicely in this textarea, [here is a gist of my file](https://gist.github.com/Stetzon/6a12083b9dc52694433855178dc29496).


Answers:
author: Stetson Lewis
body: After discussion with support, running the composer install script:  
\`\`\`  
curl -sS [https://getcomposer.org/installer \| php -- --install-dir=/usr/local/bin --filename=composer](https://getcomposer.org/installer?|?php?--?--install-dir=/usr/local/bin?--filename=composer)  
\`\`\`  
on the image I was using: **php:7.3-fpm**, did in fact use the default composer cache location, \`\~/.composer/cache\`. By removing the custom-cache and using the default \`caches: composer\` option, I was able to get it to work. There could have been other configuration issues that was causing it not to work previously. Hope this helps


author: Theodora Boudale
body: Hi [@Stetson Lewis](/t5/user/viewprofilepage/user-id/4218557) and welcome to the community.

It's a bit difficult to say why this is happening without checking the builds.

I would suggest opening a ticket with the support team and share the URL of a build where you see the cache being created, and of a subsequent one where it is not being used. The support ticket will be visible only to you, Atlassian staff, and any colleagues you may want to CC.

If there is an open ticket, the engineer working on your case will be able to access the builds and assist with this issue. 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.

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora

comments: author: Stetson Lewis
body: Hi Theodora, thank you for your response and suggestion. I have went ahead and opened a ticket and will follow up here once there is a resolution.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Can't find how to create a pipeline
Asked by heister82:

The documentation at <https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-pipelines/> says:  

"Click **Create your first pipeline** to scroll down to the template section."  

There is nothing like it anywhere on the pipelines page, all I see is:  

"WE COULDN'T FIND ANY PIPELINES THAT MATCH YOUR SEARCH

Try changing your filters"  

I don't have any created neither see any button to create one...


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

Did you perhaps enable Pipelines first, from Repository settings \> \[PIPELINES\] Settings?

I see that the guide with the templates no longer shows up in this case.

You can create a pipeline by creating a bitbucket-pipelines.yml file in your repo and configure it as per <https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/>.

If you want to get access to the templates as per the documentation you linked, you can try creating a test repo under your workspace, then go to its Pipelines page and you'll be able to view the templates.

You can then copy-paste any of these templates to the bitbucket-pipelines.yml file of the repo you were working in the first place.

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

Kind regards,  
Theodora

comments: author: heister82
body: I see, so activating pipelines before going to the pipelines tab makes it behave differently.  

I ended doing everything manually.  

Edit: There is however a lot of issues apparently when editing the yml file on the website, it throws generic errors and doesn't work, I could only setup the pipeline manually commiting the file.


author: Josh Grafman
body: [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) I had this same issue. You guys need to update your documentation if this button no longer exists, it's been almost 3 years.


Tags: bitbucket-pipelines
Suggestions on working with a linux kernel repo over 2GB?
Asked by William Huang:

Hi,

Our team would like to work do some work related to the Linux kernel. Specifically, we are cloning off of <https://github.com/raspberrypi/linux>

We would like to host the our work on bitbucket, but it looks like the repo itself is over the 2GB limit which would prevent us from pushing any changes.

Does anyone have suggestions on a workflow for working around this?

Thanks


Answers:
author: Edwin Kyalangalilwa
body: Hi [@William Huang](/t5/user/viewprofilepage/user-id/4218324) ,

An option would be to use --depth option to clone the latest commits and not the full repository history.

[Create a shallow clone](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt)

[How to Use Git Shallow Clone to Improve Performance](https://www.perforce.com/blog/vcs/git-beyond-basics-using-shallow-clones)

For example:

```
git clone --depth 1 https://github.com/raspberrypi/linux.git
```


Tags: bitbucket-cloud

cloud
is there an option of changing row height or column width for the spreadsheet displayed via excel
Asked by Chandra Prakash:

I have been trying to change the column/row dimensions for the spreadsheet being displayed in confluence corresponding to the excel file i uploaded via excel macro, however macro only enables few editing options such as file name, sheet name to be updated or modified and hence my spreadheet table looks too clumsy in view option in confluence.

Will be a great help if could find a method to assist on this.


Answers:
author: Juliette Lallement _Elements Apps_
body: Hi [@Chandra Prakash](/t5/user/viewprofilepage/user-id/5153903)

Welcome to the Community!

The native Excel macro and Excel capabilities is not the strong suit of Confluence I'm afraid... You will need an app to have advanced editing options.

I can suggest you the [Elements Spreadsheet](https://marketplace.atlassian.com/apps/1212486/elements-spreadsheet-for-confluence?hosting=cloud&tab=overview&utm_source=community&utm_medium=referral&utm_campaign=question-2278657) app, available both on Confluence Cloud and on-premise. It's very simple to use, you can import Excel spreadsheets and work on them in Confluence. You can do all the basic stuff Excel allows you to do. You can of course resize columns/rows as you please. Another cool thing is the ability to configure custom templates to match your company's look and feel standards.

If you need assistance or need to discuss your use case in greater details, feel free to book a time slot in my [calendar](https://calendly.com/juliette-lallement/30min), I'll be happy to help!


author: Stiltsoft support
body: Hi [@Chandra Prakash](/t5/user/viewprofilepage/user-id/5153903) ,

We can also suggest trying our app that is [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=server&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) and 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.

You'll be able to import your existing csv/xlsx file to Confluence and continue working right there using all the basic Excel functions (cell formulas, pivots, conditional formatting, etc.).


author: Shardul Juyal_Addteq_
body: HI [@Chandra Prakash](/t5/user/viewprofilepage/user-id/5153903)

Natively, I am afraid that the options are limited. Sometime changing the row size in Confluence works out, but other times it does not.

You can also try our [Excellentable](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence) to create and edit confleucne sheets natively in confluence. The app is free for under 10 users (Cloud)


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts

table-spreadsheet
How to align "Expand" macro within list of points?
Asked by Sai Jaswanth Seelam:

Hello,   

We are trying to create a run-book and have an "Expand" macro in between say, Point 3.a) and Point 3.b). But the formatting of the new Confluence SaaS doesn't let me create point 3b) after the Expand Macro is used.

![Screenshot 2023-02-22 at 6.02.35 PM.png](/t5/image/serverpage/image-id/241679iAF386BF598767007/image-size/large?v=v2&px=999 "Screenshot 2023-02-22 at 6.02.35 PM.png")

This used to work in the earlier version of Confluence(MSO).  

Can someone please help how to do this? Also, is the nesting "Expand" macro feature available in the new confluence?  

Thank you!  

<br />


Answers:
author: David at David Simpson Apps
body: No. You can't insert expand sections in list items.

For the latter, nested expands: No. You can't do that.

Take a look here for the back story:  
<https://community.atlassian.com/t5/Confluence-questions/Nesting-one-expand-macro-in-another/qaq-p/1147975>

Also, follow/vote for the Jira issue:  
<https://jira.atlassian.com/browse/CONFCLOUD-68323>


Tags: cloud

confluence-cloud

expand

macro
Licences tiers/ analytics
Asked by Anna Sike:

Is it possible to give different licence tiers to different users?  

E.g. it is only one person who needs to be able to access analytics but we need more users to be able to view the chapters and spaces.


Answers:
author: Ajay _view26_
body: [@Anna Sike](/t5/user/viewprofilepage/user-id/5123626)

Welcome to the Atlassian Community.

The license tiers ( Standard , Premium , Enterprise ) is applied on a per Account basis. So if you have a Premium edition , all users would be able to access premium features ( such as Analytics for Confluence )


Tags: cloud

confluence-cloud
Is it possible to include Comala workflow within Confluence Automation
Asked by Matt Shovlar:

This is what im trying to do:

"When a comment is made on a Confluence page, Comala workflow is set to review and notification is sent to team members"


Answers:
author: Stefan Salzl
body: Hi [@Matt Shovlar](/t5/user/viewprofilepage/user-id/4576057)

As comala is a plugin I guess this can not be done ?out of the box" with native automation actions.

I found out that Comala has its own RestAPI so you could call a webrequest in your automation rule calling the api that will do the job/action needed. See the docu below:

<https://comalatech.bitbucket.io/comala-workflows/6.1.0/restapi/index.html>

Best  
Stefan

comments: author: Matt Shovlar
body: Thanks [@Stefan Salzl](/t5/user/viewprofilepage/user-id/4616993)


author: Stefan Salzl
body: U R welcome, [@Matt Shovlar](/t5/user/viewprofilepage/user-id/4576057)

Give it a shot and in case the answer was helpful/could solve the problem please consider to hit the Accept button in order to mark this question as solved.

This will help other users to find solutions when they are faced with same/similar problems.

Best  
Stefan


Tags: automation

cloud

comala

confluence-cloud
link
Asked by Hilde Kuch-Kuthe:

Hello everybody, in former versions we could implement a link from atlassion to a saved pdf - does that not work anymore? If trying to do so, I only get the option to link to another wiki-page or add a hyperlink, but no option to link do a document like word or pdf...


Answers:
author: Hilde Kuch-Kuthe
body: You made my day! This is way easier and the perfect solution for us! Thanks a lot!!! :-)


author: Andy Gladstone
body: You can still insert documents on the page - so linking is not the only solution. However, if you have a centralized document repository in Confluence, and want to link from a different page to a document in the repository, links is the only way to do it in Cloud (currently).


author: Hilde Kuch-Kuthe
body: Thank you very much! We usually used the links to own documents frequently, now we have to decide, if it is worth to create links of all these documents in order to link them in wiki.... did I understand it right and without link there is no "linking" possible anymore?


author: Andy Gladstone
body: [@Hilde Kuch-Kuthe](/t5/user/viewprofilepage/user-id/5153386) welcome to the Atlassian Community.

The interface for linking has changed over the years, but you can still create a link to a document that is saved in Confluence. You will need to grab the URL of the document by navigating to the attachments on the page that that the PDF lives on and right clicking the file name to copy the link address. Once you have the link copied you can paste it into the link you are trying to create on the page. You can see the attachments on a page by clicking on the ellipsis (...) on the top right corner of a Confluence page when in view mode.

I hope this helps!


Tags: cloud

confluence-cloud
How to set a file type field with attachment in other page
Asked by AJ:

I have a form with field (let's say uploadFile) of type "File/Attachments". A file is available as an attachment (let's say "test.xlsx") in some other Confluence Page.

I wish to set "uploadFile" field with value as "test.xlsx" file and then pass the "uploadFile" to JIRA during ticket creation. How to do this? I tried exploring lot of pages, but none works.

I do not want to reattach the "test.xlsx" file again and again in current page whenever JIRA is created but directly take from the pre-defined Confluence page.


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@AJ](/t5/user/viewprofilepage/user-id/5153368) and welcome to this community

Is this a question about [ConfiForms app](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows-for-confluence?hosting=cloud&tab=overview) and it's ability to create Jira issues and attach files? It sounds like it is, but just to be sure...

Alex

comments: author: AJ
body: Yes this is for confiform app. If I use direct field to select and upload file, it is getting attached to JIRA. But I want to make the field set automatically with an attachment which is present on some other page so that the file is attached to JIRA automatically rather than user manually selecting the file. I just have the normal link to the file like this:

<https://confluencelinkhere/download/attachments/2665233635/test.xlsx?api=v2>


author: Alex Medved _ConfiForms_
body: Will add the tags then to mark it as ConfiForms related...

To answer your question - short answer is "Yes, it's possible"

There is an attachment picker field that you can preset to some specific value (attachment id - you can find it from the attachment view) and this acts the same way as the "File/Attachments" field when sent to Jira

Just drop the ConfiForms Field pointing at this attachment picker into ConfiForms IFTTT macro that creates a Jira issue for you

Alex


author: AJ
body: I have defined a field called "uploadFile" of type "Attachments Picker". Now do I define IFFFT rule or Rules for Field Definition? Could you please help to share the step-by-step process how to set the uploadFile value using the following URL of attachment:

[https://myconfluenceserver/download/attachments/2665233635/test.xlsx?api=v2](https://confluencelinkhere/download/attachments/2665233635/test.xlsx?api=v2)


author: Alex Medved _ConfiForms_
body: Here is a quick demo of what I was trying to tell

<http://recordit.co/MPfe1vpX09>

Of course, you can [hide the picker field](https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules#ConfiFormsFieldDefinitionRules-Hidefield) with "Hide Field" rule, so your users does not even know there is one

Alex


Tags: confiforms
Template for export to Word
Asked by ?????:

When exporting a page to Word, the table fields go beyond the print area. How can I customize the template so that it displays correctly and all information is included in the printable area?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@?????](/t5/user/viewprofilepage/user-id/5153253) and welcome to the community,

Unfortunately you can't customize the word export on native functionalities. There is this suggestion <https://jira.atlassian.com/browse/CONFCLOUD-42900> which you can vote and watch. Apart from that you can either export it on word and then customize it manually (via word), or try any of the 3rd party apps which can be found on the marketplace [https://marketplace.atlassian.com/search?product=confluence\&query=export%20word](https://marketplace.atlassian.com/search?product=confluence&query=export%20word)


author: Aron Gombas _Midori_
body: You can't really customize the built-in Word export feature, but this app is highly customizable:

[https://marketplace.atlassian.com/apps/24982/scroll-word-exporter-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/24982/scroll-word-exporter-for-confluence?hosting=cloud&tab=overview)

I'd definitely give it a try. Maybe it does better work with table without customization...


Tags: cloud

confluence-cloud
Cant Integrate Confluence with Jira
Asked by Johan Ekman:

Hi All,   

Can someone please help me with ideas to solve this problem. May be Permission related but I created both the space in Confluence and the project in jira. We ahve the cloud premium version etc. Maybe I need some higher permission not sure.   

In confluence when I click Space settings and integrate and want to select   

ADD and Select "Jira system" the pop up oens and loads but siplay this message:  

"Sorry, there are no links for this user available, check your permission configuration of the remote application."  

Thus I cannot serach for my jira projects or anything ?   
What is the issue here ?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Johan Ekman](/t5/user/viewprofilepage/user-id/5116554) and welcome to the community,

Jira and Confluence cloud are integrated automatically, if they are on the same instance: E.g. blahblah.atlassian.net. On that instance /jira will be Jira and /confluence will be confluence.

If you want to connect a space to a project:

* go to the jira project
* Click **Project pages**
* Click **Connect to Confluence**
* Select your space

Let me know if that helped.

comments: author: Johan Ekman
body: Thanks for the info.   

the links are:   

"name"**jira** .atlassian.net  
"name"**confluence** .atlassian.net  

Should be correct ? or are they infact to seperate instances due to the addon of Jira and Concfluence to the prefix?   

Above I mentioened the "via" Confluence Integrate to Jira way.   
But what you mention is the "via" Jira to confluence way.   

However, when I do the jira -\> conf. via Project pages like you mention. Then my Space is not visible in the dropdown.   


author: Alex Koxaras _Relational_
body: These are two different instances you have there. Is there a reason to have two different instances? You can have jira and confluence to either "name"**jira** .atlassian.net or "name"**confluence**.atlassian.net


author: Johan Ekman
body: The original reason why this happened is unknown.   
Is it "easy" / possible to merge both instances together or connect them ?


author: Alex Koxaras _Relational_
body: [@Johan Ekman](/t5/user/viewprofilepage/user-id/5116554) you could link your jira to your confluence using the link:

<https://YOURDOMAIN.atlassian.net/wiki/plugins/servlet/applinks/listApplicationLinks>

But in my opinion, I think that you have export all spaces on your confluence only site and import them to your jira site.


Tags: cloud

confluence-cloud

integration
Automatic translation of pages in confluence
Asked by ?????:

We need to automatically translate from Russian into Hebrew all pages in confluence and tasks in jira projects. We need a solution that, if necessary, you can switch between languages. What plugins can do this?


Answers:
author: Rodrigo
body: Hello [@?????](/t5/user/viewprofilepage/user-id/5153253), and welcome!

As [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) mentioned, there are apps that can be integrated into your Confluence instance and fulfill that need.

Allow me to point out that this also depends on your usage case; if your team treats customer information or any other confidential information, it might be best to leave your solution to an app that doesn't communicate that information outside the company, to which there are also other apps :)

Best regards  
Rodrigo

comments: author: ?????
body: Hi [@Rodrigo](/t5/user/viewprofilepage/user-id/4988097) !

Thank you


author: Marek PIORKOWSKI
body: Hello [@?????](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5153253)  
TextUnited has a good integration for automatic translation of content in Confluence. You can contact me (marekp@textunited.com) for a short demo.  
Regards  
Marek


author: Alex Koxaras _Relational_
body: Hi [@?????](/t5/user/viewprofilepage/user-id/5153253) and welcome to the community,

Apart from what [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638) suggested, which would be the most quick and (most probably) effective solution, you could try your luck on the marketplace. From a quick search I found these two apps:

* [https://marketplace.atlassian.com/apps/1222713/lango-translator-language-translations-kit-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1222713/lango-translator-language-translations-kit-for-confluence?hosting=cloud&tab=overview)
* [https://marketplace.atlassian.com/apps/1215126/language-manager?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1215126/language-manager?hosting=cloud&tab=overview) (this is free, but it's to connect two different translations of the same page)

comments: author: ?????
body: Thank you) [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) !

I will definitely look into your recommendations!


author: Ollie Guan
body: Hi [@?????](/t5/user/viewprofilepage/user-id/5153253) ,

The google translate plugin in chrome is the most effective free plan.

[https://chrome.google.com/webstore/search/translate](https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb/RK%3D2/RS%3DBBFW_pnWkPY0xPMYsAZI5xOgQEE-)

comments: author: ?????
body: Thank you [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638) !


Tags: cloud

confluence-cloud
co-use of Confluence pages
Asked by Choi Byeong Il:

hello!  
I have a question about co-using Confluence pages.

If multiple spaces are created and used for each project in Confluence, is it possible to create a page that can be used in conjunction with all spaces?

<br />

thank you!


Answers:
author: Harald Seyr
body: Hi [@Choi Byeong Il](/t5/user/viewprofilepage/user-id/5151177)

please check if [Solved: Can a page be in multiple spaces? (atlassian.com)](https://community.atlassian.com/t5/Confluence-questions/Can-a-page-be-in-multiple-spaces/qaq-p/1041512) helps.

Regards,

Harald


Tags: cloud

confluence-cloud
How to include git graphs on a page
Asked by Takayama Shin-ichi (?? ??):

Hello everyone.  
How can I describe a git graph on a page?  
Can I use mermaid notation to describe it?

Best regards.


Answers:
author: Oliver Siebenmarck _Polymetis Apps_
body: Hi [@Takayama Shin-ichi (?? ??)](/t5/user/viewprofilepage/user-id/5153152) ,

Welcome to the community!

Out of the box, Confluence does not support mermaid notation. Fortunately, there is a [wealth of apps](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=mermaid) available on the marketplace add mermaid charts and diagrams.

Hope that helps,  
Oliver

comments: author: Takayama Shin-ichi (?? ??)
body: Thank you for your response.  
I will try the application you suggested.


Tags: cloud

confluence-cloud