youngmon/atlassian-qna huggingface dataset:
Deployment status / version for all repos at a glance
Asked by AmirHossein Mokhtari:

I'm looking to find a way to create a dashboard contains the deployment status for all repos, so I can check the version between different environments. Is that feasible?


Answers:
author: Theodora Boudale
body: Hi Amir Hossein,

I assume that your question is about Bitbucket Pipelines Deployments?

If so, I'm afraid that there is no such Dashboard at the moment with an overview for the deployment status of multiple repos.

We have a feature request for this in our issue tracker:

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

I would suggest that you add any feedback in the feature request and also your vote (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 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.

Please note though that we don't provide ETAs and implementation of new features is done as per our policy here: <https://confluence.atlassian.com/cloud/new-features-744721668.html>.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Build fails to clone repository
Asked by Terrence Magee:

Bamboo build fails to pull code from Bitbucket server. I verified that the Access key from Bamboo is correctly installed on the Bitbucket repository.

```
com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.magees.net:7999/yars/yars-angular.git' to source directory '/home/bamboo/xml-data/build-dir/_git-repositories-cache/c731f4ff0fa4b7d057030f1469f6098d50c248cd'. command [/usr/bin/git fetch ssh://35e2c0e3-d359-4a77-9a0b-3073b01904d2@127.0.0.1:35973/yars/yars-angular.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/home/bamboo/xml-data/build-dir/_git-repositories-cache/c731f4ff0fa4b7d057030f1469f6098d50c248cd]., stderr:Warning: Permanently added '[127.0.0.1]:35973' (RSA) to the list of known hosts.fatal: The remote end hung up unexpectedlyfatal: protocol error: bad pack header
```


Answers:
author: Terrence Magee
body: After creating a new branch, code pull now works correctly.


author: Khader Serrieh
body: Hi well you have the special day off and you have been working on a un 1?..

Thanks again for the miracle of life and experience with technology with the highest quality customer service within our range of business professionals will be able to make sure that we can arrange some time for you to help implement Segment marketing strategies for business professionals who want to be part of the following business.


Tags: bitbucket-server

server
Does BitBucket CI/CD Provide a Step Templating System
Asked by Jason Schafer:

I'm going to apologize in advance if someone's Google skills turn out to be better than mine (I swear I googled/searched for a couple hours before asking this)  

My question is, does BitBucket CI/CD provide a sort of templating system for repeated steps?   

In Gitlab CI/CD as an example you can have templates stored in a separate git repository, and then reference those templated steps, and just change pipeline variables as needed, this would be useful for steps like docker builds and things of that nature where we find ourselves repeating the same step boilerplate over and over.  

Just for reference if this helps explain:  
**<https://docs.gitlab.com/ee/development/cicd/templates.html>** If referencing competing software is against the TOS, I again apologize in advance, I just think it helps explain what I'm trying to achieve.   

I realize that Bitbucket provides "example templates" when setting up new pipelines, but that's not the same kind of templating I'm asking about here. This is more that you can reference an externally defined template containing steps in a separate repository.


Answers:
author: DPKJ
body: [@Jason Schafer](/t5/user/viewprofilepage/user-id/4094805) Welcome to Atlassian Community!

You are not alone who have spent time on Google looking for this, I don't think this feature is available yet (in form similar to Github or Gitlab).

But Bitbucket **Pipes** is something that I created to solve this problem. Here is brief introduction to it,

* <https://support.atlassian.com/bitbucket-cloud/docs/what-are-pipes/>
* <https://support.atlassian.com/bitbucket-cloud/docs/write-a-pipe-for-bitbucket-pipelines/>

I could have shared script with you, but it is with my old employer (and can't share publicly). I hope this help.

comments: author: Jason Schafer
body: Right, while this isn't exactly the same thing, this does at least encapsulate repeatable steps in a way that they can be referenced instead of being written multiple times.  

Thank you! I'll go ahead and accept this answer as this is a solution to my issue.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

continuous-delivery
API to Delete user from Repository
Asked by Rahul Jakhmola:

Hi Experts,  

I have a task to delete user from repository. Can anyone guide me how would I develop the same workflow and to reach it how many APIs I need to call. Please guide me where would I get all the Bitbucket APIs including Delete user API.

Thanks!  
Rahul


Answers:
author: Daniel Eads
body: Hi Rahul, welcome to the Community!

The APIs you'll use depend on if you're using Bitbucket Server / Data Center (run on-premise on your own server) or if you're on Bitbucket Cloud (the address is bitbucket.org).

* For Bitbucket Server / Data Center, you'll use the [1.0 API, and here is a direct link to the methods for managing users in a specific repo](https://docs.atlassian.com/bitbucket-server/rest/7.6.0/bitbucket-rest.html#idp285)
* For Bitbucket Cloud (the web address includes bitbucket.org), you'll want to first [have a look at this announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/) (the structure of projects/teams/repositories is changing a bit) and then look at [the workspace endpoints](https://developer.atlassian.com/bitbucket/api/2/reference/resource/workspaces/%7Bworkspace%7D/permissions)

Hopefully those references are the starting point you need to fulfill your task.

Cheers,  
Daniel

comments: author: Rahul Jakhmola
body: Hi Daniel,  

Thank you so much for replying. Please don't mind if I keep this thread open for sometime. We are using **on premise Data Server** . Could you please tell how would I know that in how many repositories a user has access on. Please help me with API I need to call for it.  

Regards,  
Rahul


author: Rahul Jakhmola
body: Hi Daniel - Please reply !


author: Daniel Eads
body: Hi Rahul,

The REST API doesn't have an endpoint that would return all the repositories a user has access to. You would need to paginate through the repo/projects individually and check the permissions for the particular user or groups they are a member of.

If you are trying to remove all permissions for a user, I would recommend disabling the user instead. You can use the [admin/users](https://docs.atlassian.com/bitbucket-server/rest/7.6.0/bitbucket-rest.html#idp16) endpoint to disable them, and get details if their user is coming from the internal directory or an external managed directory. Disabling users also has the benefit of reducing your licensed user count.

Cheers,  
Daniel


author: Rahul Jakhmola
body: Thank you Daniel for the help :)
How to get a academic licence working on another workspace?
Asked by Sean-Paul:

Okay so for a school project i want to use bitbucket. Our team exists of 6 people and the free plan is for 5 user only. So the academic licence comes in place. When i requested the licence, Atlassian putted it on my personal workspace (username) but not on the workspace for our group project workspace.

I already made a request for the group project workspace but still no confirmation or verification form Atlassian.

My question is: can I change the licence to another workspace? Because i really need it and i don't know how long i have to wait for their response (the first one on my personal workspace was within minutes accepted)

Thanks in advance!

Sincerely, Sean-Paul


Answers:
author: Theodora Boudale
body: Hi Sean-Paul,

If I check your account in our system, I can see that you have access to two workspaces, your personal and a second one.

The billing plan for the second workspace shows as Community/Academic. Can you see that in the following page?

<https://bitbucket.org/workspace-id/workspace/settings/plans-and-billing>

(Replace **workspace-id** in the URL with the one for your second workspace)

Are you able to add more users now?

If there are still issues, please feel free to let me know or reach out to the support ticket that you created.

Kind regards,  
Theodora

comments: author: Sean-Paul
body: Hi! I just checked my email today and indeed a mail with the acceptance of the group workspace came through!   

thanks for the help!


author: Theodora Boudale
body: Thank you for the update, it's good to hear that it's sorted out!


Tags: bitbucket-cloud

cloud

licence
Search bar in the header is missing
Asked by Fulya Bozaci:

Hello!

Unlike other users, I am not able to see the search bar in the Confluence header. Any ideas how I can fix this? I was assuming, that the search bar is displayed by default, but can't find the settings to add it.

Kind regards


Answers:
author: Summer Hogan
body: Hi [@Fulya Bozaci](/t5/user/viewprofilepage/user-id/5119982) - Welcome to the community! We are glad you are here!   
There is an answer on this already posted in the community and [@Jacob Brunson](/t5/user/viewprofilepage/user-id/3498124) has listed a solution in this article. <https://community.atlassian.com/t5/Confluence-questions/Search-Bar-is-missing-in-confluence/qaq-p/1792681> . I hope this helps. If not, please reach out again.


Tags: cloud

confluence-cloud
How to enable attachement notifications?
Asked by Fulya Bozaci:

Hello!

Why do I receive notifications, if someone is opens an image on a confluence page and how can I disable the notification?

Kind regards


Answers:
author: Brant Schroeder
body: [@Fulya Bozaci](/t5/user/viewprofilepage/user-id/5119982) Welcome to the Atlassian community

Can you share what you are receiving? Also do you have any apps installed on your cloud instance?


Tags: cloud

confluence-cloud
Upload/Update attachment on Confluence page via rest api
Asked by Llyr Jones:

When I run requests against this endpoint:

"<https://your-domain.atlassian.net/wiki/rest/api/content/{id}/child/attachment>"

I get various errors (403 for PUT and 500 for POST).

Can we have a working example for using this endpoint to upload a file to a confluence page please. E.g Upload \`example.txt\`.

Ideally Python but cURL should be fine either.

I am able to run get requests against the same endpoint and successfully return attachments, so I don't think there's an issue with my API key or permissions.

For context, I created the page and am able to edit it through my browser.


Answers:
author: Vamsi Kandala
body: Hi [@Llyr Jones](/t5/user/viewprofilepage/user-id/5119969)

Welcome to the community!

Ideally, it should be POST method.

It could be that the REST API could not find the file that is being attached. I have not tried it in Python but used third-party application like Postman.

If you don't mind, can you list the complete curl command here (after hiding your Confluence domain, of course).

Thanks,  
Vamsi

comments: author: Llyr Jones
body: Hi [@Vamsi Kandala](/t5/user/viewprofilepage/user-id/4392782)

I'm using Postman but here is the cURL generated from my request

curl --location --request POST 'https://\<Domain\>/rest/api/content/\<Page ID\>/child/attachment' \\  
--header 'Authorization: Basic \<API Key\>' \\  
--header 'X-Atlassian-Token: nocheck' \\  
--form 'file=@"example.txt"' \\  
--form 'minorEdit="true"' \\  
--form 'comment="Example attachment comment"' \\  
--form 'type="text/plain"' \\  
--form 'charset="utf-8"'


author: Vamsi Kandala
body: Hi [@Llyr Jones](/t5/user/viewprofilepage/user-id/5119969)

Is the attachment file in the same location from where you are executing this curl command?

Can you check this reference article: <https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-post> and try out the example given?

Thanks,  
Vamsi


Tags: cloud

confluence-cloud
Who has experiences with the Purge Versions for Confluence app?
Asked by Fleur Post:

I want to automate deleting/archiving versions of pages and attachments.

This is the only app I can find for that in the Marketplace.

Does anyone has experience with this app? I saw that the last update has been in 2021..

Or does anyone has other tips for automating deleting/archiving versions of pages and attachments?

<br />

Thank you in advance,


Answers:
author: Vamsi Kandala
body: Hi [@Fleur Post](/t5/user/viewprofilepage/user-id/5053960)

For Confluence Data Center from version 7.19 onwards, new features were introduced called 'Clean up' and 'Retention rules'.

If you are Confluence administrator, please check these features which maybe helpful for your requirement.

Hope this helps.

Thanks,  
Vamsi

comments: author: Dave Mathijs
body: True, thanks for the reminder [@Vamsi Kandala](/t5/user/viewprofilepage/user-id/4392782) !

Here's the documentation article: [Set retention rules to delete unwanted data](https://confluence.atlassian.com/conf719/set-retention-rules-to-delete-unwanted-data-1157467623.html)


author: Dave Mathijs
body: Hi [@Fleur Post](/t5/user/viewprofilepage/user-id/5053960) welcome to the Atlassian Community!

[ScriptRunner for Confluence](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=server&tab=overview) has a [Bulk Delete Attachment Versions](https://docs.adaptavist.com/sr4c/latest/features/built-in-scripts/space-administration-built-in-scripts/bulk-delete-attachment-versions) built-in script.


Tags: confluence-data-center

server
Can I use same Confluence license in two instances?
Asked by Tecnologia Matrix:

Hi, I have a Confluence Server expired license and use currently in one production instance.

Now I need to create a temporary environment to test and exposed to external access.

Can I use the production license in the temporary environment? Because I can't anymore to generate a developer license in My Atlassian to version Server.

Can you help me?

Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

No, the production licence is for production only. It is illegal (breaches your contract with Atlassian) to use it for a second system, whatever it is for.

You could use a development system though - one created by the Atlassian SDK has time-bombed licences - they will run for a short time (and have to be restarted regularly)


Tags: confluence-server

licence

server
How can we differentiate @mention results for users with the same name in cloud?
Asked by jeremyn:

We recently migrated from confluence server to cloud and have run into a rather annoying (and problem causing) issue: We have two developers with the same first and last names, and we can no longer differentiate them in mentions.  

In server you could use UPN/user name in the mention and the correct person would show up. In Cloud you seemingly can only use display name and you get both of them....In our case they are both developers in the same division, but different teams, and are now missing important things because people are just guessing one.  

We use Access and AD/SCIM sync, so its not like I can just go and change their names. I suppose we could ask IT to change their display names to first middle last or something like that, but that seems like it shouldn't be needed.  

Has anyone else run into this and how did you overcome it?  

\<update\> Inspecting the page data we discovered that the field "data-mention-name" is set to UPN/user name for one of the users (ie jbsmith) and the display name (ie James Smith) for the other...is seems if we could update this field somehow to be user name for both it would start working again.  

\<update 2\> After looking at a bunch of random users' data-mention-names (myself included) it seems that perhaps this is somehow tied to existing Atlassian account setups and isn't re-set to our AD data when we migrated to Atlassian Access control of our domain? Names seem to be all over the place.


Answers:
author: jeremyn
body: So I found that data-mention-names is the "Public Name" field in a users Atlassian profile, which is user editable and can't be controlled by the directory config etc. And there seems to be no search criteria that uses the AD username/User Principal Name as a key.  

So it seems that for people who are looking to be able to use user name (at least for MS AD/Atlassian Access based companies like ours) you need to convince your users to make their public names their user names (meh). In my specific case the devs impacted were more than happy to do it so they stopped getting mentioned for each others work.


author: Summer Hogan
body: Hi [@jeremyn](/t5/user/viewprofilepage/user-id/4907373) - this may be a simplistic answer, but have you thought about them each adding a picture of themselves to their profile photo so they can be differentiated and then maybe send an email or send a chat that shows the pictures of each to inform people who is who?

comments: author: jeremyn
body: Good Idea Summer, I did just this (since I could as Admin) while I was waiting for them to get back to me.


Tags: cloud

confluence-cloud

mention
confluence de Include(sayfa al) makrosunu kullad???m?z zaman al?nansayfa n?n hizalamalar? bozuluyor
Asked by merve ta?:

confluence da alt ba?l??? ?st ba?l??a i?ine eklemek istiyorum. Bunun i?in Include makrosunu kulland?m. Aktar?lan sayfa da hizalamalar bozuldu bunu nas?l d?zeltebilirim?

Ba?ka yolu varsa payla??r m?s?n?z?


Answers:
author: Brant Schroeder
body: [@merve ta?](/t5/user/viewprofilepage/user-id/5119791) Welcome to the Atlassian community

Can you share a screenshot of what you are trying to do?


Tags: macro
How to add new groups to Confluence Admin
Asked by Robert.Ogden:

My organization just recently moved to Atlassian Access and one thing that we did was create new groups related to Active Directory for Confluence. The issue that I am running into is that I have add the new group to the Product page for Confluence but it hasn't replicated across all of the existing spaces within Confluence. The issue is that we have hundred of spaces that need to be updated and was curious to see if there is a way that this can be done at a higher level and then flows down.

Thank you in advance


Answers:
author: Trudy Claspill
body: Hello [@Robert.Ogden](/t5/user/viewprofilepage/user-id/4998336)

Can you clarify these two points?

- I have add the new group to the Product page for Confluence

- it hasn't replicated across all of the existing spaces within Confluence

Can you provide a screen image of the Product Page where you added the group? Obscure confidential information.

What were your expectations about the replication across the existing Confluence spaces? Did you expect that when you viewed the Permissions for individual spaces you would see the new group?


Tags: cloud

confluence-cloud
Custom emoticons not available for anonymous access
Asked by Jan Schnabel:

On <https://kistlergroup.atlassian.net/wiki/spaces/JBEAM/pages/7045134/jBEAM+8.3.0> I'm trying to use custom emoticons in captions:

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

Unfortunately these icons are only visible when I'm signed in. An anonymous user just sees the icon references:

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

Is there anything to configure to make the custom emoticons accessible to anonymous users?

Thank you very much!


Answers:
author: Trudy Claspill
body: Hello [@Jan Schnabel](/t5/user/viewprofilepage/user-id/5119750)

Welcome to the Atlassian community!

It appears that feature is in Atlassian's backlog:

<https://jira.atlassian.com/browse/CONFCLOUD-65481>

comments: author: Jan Schnabel
body: Hello [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

It seems so. Thank you!


Tags: cloud

confluence-cloud
Get Time stamp in Confluence Table Transformer from Jira
Asked by Asjadazeez:

I am trying to get the time stamp of issue "Created" field. In JIRA i can see the field "Created" as "01/Jan/2022" and when i hover over the field i can see "01/Jan/2022 10:05 PM"

I would like to get the time stamp "01/01/2022 10:05 PM" in my table transformer so that i can calculate the difference between two timestamps.

Kindly help me how i can get the time stamp,

What i tried is, in table transformer - i set the date format as dd/M/y HH:mm , but in the table transformer view i can see the value as Jan 11,2023. I did anyway try getting the time difference using DateDiff , and i get 0, basically zero days. But i would need the time differnce.


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

The Table Transformer macro works with the data coming from the Jira Issues macro.  
So, unwrap your Jira Issues macro, publish the page and check the date format that was pulled from Jira.  

For me it's, for example, Jan 09, 2023 (depends on your instance settings, language, etc.) without any hours and minutes. There are no any hints while hovering my mouse as well.  
And in Jira itself I indeed see the full date format with a time stamp.

comments: author: Asjadazeez
body: [@Katerina Rudkovskaya \[Stiltsoft\]](/t5/user/viewprofilepage/user-id/3738229) could you please let me know what "Unwrap your jira issues macro" means ?

PS: sorry for the late respose as i was on some priorities.


author: Stiltsoft support
body: Hi [@Asjadazeez](/t5/user/viewprofilepage/user-id/5070277) ,

Just delete our Table Transformer macro from the page, leave only the Jira Issues macro, publish the page and check what date format is pulled to Confluence from Jira.


author: Asjadazeez
body: Date format pulled is M DD,YYYY (Jan 09, 2023), but in the Jira i can see in format MM:DD:YYYY HH:mm


author: Stiltsoft support
body: So, as you can see, the Table Transformer macro has nothing to do with the issue: it works with the data coming from the Jira Issues macro. And the Jira Issues macro modifies the original date format by default.

Unfortunately, nothing can be done from our side here.


Tags: confluence-server

filter

jira

server

table

table-filter

table-filter-and-charts

table-transformer
Why when I export a confluence page to PDF my iFrame visual doesn't show?
Asked by Josh Smith:

I have embedded a Power BI visual into a confluence page using iFrame. When I export to pdf the iFrame visual is missing.

Visual showing when published prior to export:

![2023-01-12_11-16-12.png](https://community.atlassian.com/t5/image/serverpage/image-id/234136i7078B9E1B40AE0E9/image-size/large?v=v2&px=999 "2023-01-12_11-16-12.png")

Visual not appearing after exporting to pdf.

![2023-01-12_11-16-39.png](/t5/image/serverpage/image-id/234125i70ACCA7C3230C16A/image-size/large?v=v2&px=999 "2023-01-12_11-16-39.png")


Answers:
author: Brant Schroeder
body: [@Josh Smith](/t5/user/viewprofilepage/user-id/5119673) Welcome to the Atlassian community

Since the information being displayed in the iFrame is not part of the actual page I don't believe that Confluence picks it up in the export. I believe you can get it to be included in the page print since the browser has cached it but I do not believe it will export out of Confluence since it is not actually in Confluence.


Tags: cloud

confluence-cloud