youngmon/atlassian-qna huggingface dataset:
Use pipeline ssh key for clone and push
Asked by boris_r_v:

Hello, I need help.

I have a ssh pipeline key, created Repository settings-\>Pipeline-\>SSH key-\> Generate key.

And I want do two things:

1. Clone submodules using generated key. To configure it I add pipeline key to Repository settings-\>Access key in submodule repo. This part works fine.

2. Push artifacts to anohter repository, under another account, especialy created for this purpose. To do this I try add key to Personal settings-\> SSH keys. And while I do I get the message "Someone has already added that key as an access key to a repository." - Yes I do it.

I can replace 1 and 2, but result the same. I can\`t create second key for pipeline.

Anybody know how I can do clone and push, using same keya from pipeline, or it\`s unlegal, and there is another way?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I would say is unlegal use the same ssh key.

Regarding 2 different account, what is the purpose ? maybe better to use 1 account ?


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

ssh
Is it still possible to see the conflicts in the body of file?
Asked by Adam Pryjomski:

We just migrated from Bitbucket 5.9.1 into Bitbucket 7.11.1 and we noticed that there is no more possible to see the conflicts in the body of the file in Pull Requests.

The file is marked as conflicted but no possibility the see it through Bitbucket. For the previous version (5.9.1) we were able to do so.

Is there any option, switch, plugin to turn it on?

Thanks in advance.


Answers:
author: Adam Pryjomski
body: Anyone?


Tags: bitbucket-server

merge

pull-request

server
Can not receive password recovery mail
Asked by F Nice:

HI,

Yesterday Jira's account expired and need to login again. I have previously set up the mobile phone SMS verification login function, but I have not received the SMS, and my colleagues, too, now I want to login through the password recovery mail method, and I can't receive emails. Can you check it for me? Thank you very much.

My email address is wei.ying@easystack.cn


Answers:
author: F Nice
body: I have received the email, thank you very much.
bad numeric config value 'null' for 'commit.gpgsign': invalid unit
Asked by agung kurniawan:

I have Eror from this commit ? have any idea solution?![kw.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/140016i6F17A4E7BA6798A2/image-size/large?v=v2&px=999 "kw.PNG")


Answers:
author: Shamiul Hasan
body: If you are on Linux, just delete the '\~/.gitconfig' or '/home/$USER/.gitconfig' file. This will take git to an unconfigured state. The problem was that somehow the configuration file got changed by some unwanted operation and the value of \`gpgsign\` was set to \`null\`. Deleting the file or deleting the line containing \`gpgsign\` should solve the problem.


author: Alp?zarGregory
body: Edit: That problem is due to you have "git gpg signing" turned on, but no GnuPG installed. It's easy to disable it permanently by modyfing your .gitconfig, just type this command:

```
git config --global commit.gpgsign false?
```


author: yehanny olivares
body: Ok I managed to fix the issue following this post <https://stackoverflow.com/questions/39494631/gpg-failed-to-sign-the-data-fatal-failed-to-write-commit-object-git-2-10-0> and [Shayan Amani](https://stackoverflow.com/users/3782119/shayan-amani) answer. Basically we need to update our gpgsign and sync the email with it inside GitHub.

comments: author: agung kurniawan
body: some eror, any idea please?


author: Gonchik Tsymzhitov
body: Could you try the next command?


    git -c commit.gpgsign=false commit

<https://bbs.archlinux.org/viewtopic.php?id=264619>

comments: author: yehanny olivares
body: Hi, it looks like a common issue on GitHub, I'm trying to run a commit but I get same error then I tried your command with no succeed, any other suggestion?

OS: Solus GNU/Linux

GIT version 2.30.2  

Thanks
How to restrict user who created pull request to merge the code
Asked by naresh2389:

Hi All,

I have added branch permission and people are able to merge code only on pull request but sam person who created pull request is able to merge which should happen.


Answers:
author: naresh2389
body: I have added branch permission and people are able to merge code only on pull request but sam person who created pull request is able to merge which should not happen.


Tags: bitbucket-cloud

cloud
Need access token to push my code to bitbucket repository using REST API
Asked by Abhishek Sharma:

I need to push my code to bitbucket repository using BITBUCKET REST API and for that I need Personal Access Token.

To create that token I followed the steps in [this](https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html "How to create Personal Access Token") article.

But when I clicked on my profile picture to find "Manage Account", it is not there , I cannot find it anywhere.

Please Help me out here. How can I push my code to bitbucket using REST API


Answers:
author: Syahrul
body: Hi [@Abhishek Sharma](/t5/user/viewprofilepage/user-id/4281756)

G'Day!

This may be late, but the link you share is for the Bitbucket server only and not applicable for the Bitbucket cloud.

To authenticate with Bitbucket cloud API you'll need to generate an [AppPassword.](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/)AppPasswords are substitute passwords for a user account that you can use for integration tools or API usage instead of the account passwords.

If you are looking to authenticate with OAuth, please check our KB at:

* [Use OAuth on Bitbucket Cloud](https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/)

I hope this helps

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
Unable to manage User
Asked by Pierre-Henri Delaval:

We are blocked at 10 users and we have users who have leave the company and we need to remove them to get back thoses licence.

How can remove user and get back our licences.

Thx

John


Answers:
author: Charlie Misonne
body: Hello Pierre-Henri,

Bitbucket users consume a license when they are a member of a group with **Bitbucket User** permissions in the [global permissions](https://confluence.atlassian.com/bitbucketserver/global-permissions-776640369.html). Typically this user group is called *bitbucket-users*but it can be different.

You'll have to remove the users from that group in order to free licenses.

Hope this helps!


Tags: bitbucket-server

server
Preserve PR comments when transferring ownership between two cloud workspaces
Asked by Andreas Jeromin:

Hi all,

this is the setup:

\* Company A implements code for a project and uses a Bitbucket Cloud repo

\* Company B makes PR reviews on Company A's Bitbucket

\* At the end of the project, the a copy of the source code will be transferred from Company A to Company B, which will have also be on Bitbucket Cloud.

Will the comments from the PRs be preserved when transferring the source code?

Best,

Andreas


Answers:
author: Syahrul
body: Hey [@Andreas Jeromin](/t5/user/viewprofilepage/user-id/4361690)

G'Day!

When transferring one repository from a workspace to another, we preserved everything on the current repositories over to a new workspace.

It's basically a copy and pastes the repositories in a new workspace which means your comment in the pr will remain intact and all other things in the previous repositories.

I hope this helps.

Cheers,  
Syahrul

comments: author: Andreas Jeromin
body: Hi [@Syahrul](/t5/user/viewprofilepage/user-id/744536) ,

thanks for the note. It's good to hear that copying/moving repos is finally possible with preserving all the history of the project.

Thanks,

Andreas


Tags: bitbucket-cloud

cloud
Is it possible to specify multiple Additional User DNs in LDAP synchronization?
Asked by Graham Starfelt:

We suddenly have a need to give a user that lives in a completely different OU access to our BitBucket environment. I could remove the Additional User DN entirely and just search the whole directory, but I'd rather not do that, if possible, since we currently have a nice, clean selection of users in BitBucket, and I'd like to keep it that way.

Hence, I'm wondering if it's possible to do multiple entries in the Additional User DNs field. I tried doing something like (\|(OU=Our Users)(OU=Our Other Users)), but that doesn't work at all.

Any help would be appreciated.


Answers:
author: Gonchik Tsymzhitov
body: Well, you can do in another way.

What if you create cn, and add users into that can, then filter via that cn instead ou

comments: author: abbsco
body: Not really an option for, say, Active Directory.


Tags: bitbucket-server

server
can the system admin or somebody else with permissions modify the system-generated "Label List" view
Asked by Dmytro Deliiev:

I'm working on confluence. I use labels. when I click the label, I can see the system-generated view page with text like

"This list shows content tagged with the following label: testsss

To add a label to the list of required labels, choose '+ labelname' from Related Labels."

and then all pages with this label.

The question is: can the system admin or somebody else with permissions modify the system-generated "Label List" view?  
In case we want to add some custom text before the list of pages, for example, the definition of the label. Is it possible?


Answers:
author: Mirek
body: Hi [@Dmytro Deliiev](/t5/user/viewprofilepage/user-id/5184641)

I am afraid that this page cannot be easily editable no matter if someone is a system admin or not.

But maybe you can create you own page and add a Content By Label macro?

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

comments: author: Dmytro Deliiev
body: Hi, [@Mirek](/t5/user/viewprofilepage/user-id/781521) , thank you for your response.

I know about Content By Label macro but it doesn't satisfy our requirements.

Consider these cases:

As a user, I read tech documentation with labels and want to find more info. I click the label and see similar pages and definitions of the label so that I can find out if these pages are relevant to my search.

As a tech writer, I fill in a confluence page and want to put a label for it. I see several pretty similar labels and doubt which one to choose. I click a label and see a definition and a list of pages. (A popup window would be even much better, just hover it). I don't want to spend time trying out all labels and reading all pages under them.  

etc.

Such cases are impossible with Content By Label macro.

BTW a popup window when hovering the label is a great idea as well


Tags: confluence-server

label

server
Confluence View Space access
Asked by Ranganathan Shanmugam:

Dear Team ,

Kindly share the option to view confluence space without assigning any confluence user rights .

only view the space and read the documents but user assigned for jira software license .

kindly support on same


Answers:
author: Kishan Sharma
body: Hi [@Ranganathan Shanmugam](/t5/user/viewprofilepage/user-id/5184634)   

Welcome to the Atlassian Community!  

By enabling anonymous access, you can allow people who are not logged into Confluence (anonymous users; aka, anyone on the internet) to access content on your site. You can pick and choose which spaces to make public and which to keep secure.

You can [read here](https://support.atlassian.com/confluence-cloud/docs/set-up-public-access/) about how to enable / grant anonymous access on your confluence site. This way you won't be assigning confluence license to users but anyone on the internet can read your confluence site/space where you have enabled anonymous access.


Tags: cloud

confluence-cloud
Table Transformer: How to do a global RegEx search via ->match() properly?
Asked by Stephan Bauer:

I am not sure if the 'g' flag is not working for RegEx searches via js in the Table Transformer plugin or if I simply do something wrong...

What I want to do now is find the latest sprint an issue was assigned to.

Fortunately we have a defined numbering scheme which is included in every sprint name of every team.

So my plan is to pull issues from JIRA, do a global regex on the content of the Sprint field, sort the result (which should be an array of Sprints according to our naming scheme) and pop the last item.

So, in theory, this should do it:

```
SELECT *,
???    T1.'Sprint'.match("/[0-9][0-9].[1-5].([1-6]|IP)/g")->sort()->pop() As 'Latest Sprint',
  FROM T1
```

Unfortunately it seems that using the "g" flag leads to an empty result.

Any ideas?

P.S.: The markup for an example table

\|\|Key\|\|Sprint\|\|  
\|MC20-2943\|MC20-23.2.1 (Feb 26) MC20-23.2.2 (Mar 12) MC20-23.2.3 (Mar 26) MC20-23.2.4 (Apr 09)\|


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

Please modify your SQL query as following:

<br />

![Fri 1-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/249172i7F6B3CD08654945A/image-size/large?v=v2&px=999 "Fri 1-1.png")  

SELECT \*,  
MATCH_REGEXP(T1.'Sprint',"\[0-9\]\[0-9\].\[1-5\].(\[1-6\]\|IP)", "g")-\>sort()-\>pop() As 'Latest Sprint'  
FROM T1  

![Fri 1-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/249173iE223E6CE9F4632AC/image-size/large?v=v2&px=999 "Fri 1-2.png")  

This query should be working fine.  
You may also read more about the MATCH_REGEXP function [here](https://docs.stiltsoft.com/tfac/dc-server/general-syntax-and-sql-functions-available-42246251.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) (the second table, row #145).

comments: author: Stephan Bauer
body: Thanks, this works for me.


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts

table-transformer
Table Transformer: How to use js functions that expect a callback function as parameter?
Asked by Stephan Bauer:

For example the -\>map() function of arrays expects a function as parameter which is then executed on every item of the array.

How do I pass this function when calling from within the table fransformer plugin?

So I want do something like this:

```
SELECT *,
???????T1.Sprint->split(" ")->map(->match(("[0-9][0-9].[1-5].([1-6]|IP)")->0)
FROM T1
```

Any ideas?

P.S. Markup for an example table

\|\|Key\|\|Sprint\|\|  
\|MC20-2943\|MC20-23.2.1 (Feb 26) MC20-23.2.2 (Mar 12) MC20-23.2.3 (Mar 26) MC20-23.2.4 (Apr 09)\|


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

I see that you have a similar question [here](https://community.atlassian.com/t5/Confluence-questions/Table-Transformer-How-to-do-a-global-RegEx-search-via-gt-match/qaq-p/2317298), so please let's move to [that thread](https://community.atlassian.com/t5/Confluence-questions/Table-Transformer-How-to-do-a-global-RegEx-search-via-gt-match/qaq-p/2317298).

comments: author: Stephan Bauer
body: Yes, but no ;-)

The use case I picked is the same but the map function of arrays is just picked as an example here.

The underlying question, I would like to get an answer to, is the one stated in the tite:

How to use js functions that expect a callback function as parameter?

Since I ran into this already multiple times and did not get it working I am interested if this is possible or not.

Best regards,  
Stephan


author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Stephan Bauer](/t5/user/viewprofilepage/user-id/214564),  

Unfortunately, you can't use js functions that have arguments as functions either. This comes from the security side of the app.


author: Stephan Bauer
body: OK, thanks for the clarification.


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts

table-transformer
Query watchers of a blog home page not individual blogs
Asked by Kathryn Reddie:

Hi,

Is there a way I can see who is watching a blog?

Not the individual blogs, the parent of the blog itself.

Thanks,  
Kathryn.


Answers:
author: Erhan Baz
body: Hi Kathryn,

If you have access to the DB somehow, you can get inspired by the below KB article:

[How to list watchers in Confluence](https://confluence.atlassian.com/confkb/how-to-list-watchers-in-space-pages-blogposts-in-confluence-781200365.html)

Kind regards,

Erhan


Tags: confluence-server

server
RSS Macro in Confluence Cloud
Asked by Jim Gilliam:

Where is the setting to enable the RSS Macro for Cloud admins? This is unclear in the help docs... or I'm looking in the wrong place.


Answers:
author: Brant Schroeder
body: [@Jim Gilliam](/t5/user/viewprofilepage/user-id/4998740) Confluence Cloud doesn't have a direct RSS reader as a built-in macro. I don't believe that there is one in the marketplace either. Here is an older post about a workaround using the iFrame macro. <https://community.atlassian.com/t5/Confluence-questions/Confluence-Cloud-How-do-you-add-an-RSS-Feed-into-a-space-page/qaq-p/1639875>


Tags: cloud

confluence-cloud
WARN Exception encountered during context initialization wile fresh_install
Asked by david klimenko:

Hello everyone. I'm trying to run fresh_install script and I get an error (photo attached)  
What was done:  
installed Open JDK 11, configured the environment for java, installed Apache Maven 3.6.3, installed Apache Ant, installed PostgreSQL, launched the database, configured the user, group, postgres config itself, installed Solr and launched <http://172.28.2.172:8983/> solr/#/  
I configured my group for the solr directory, configured the profile and started the service, installed tomcat9, configured it and launched <http://172.28.2.172:8080> , configured the server.xml of the tomcat to the requirements of the dspace. I made a folder for dspace and set up its group. Set up environment for Java JAVA_HOME, JAVA_OPTS. I installed git, started installing the dspace itself, unpacked it, tied up the user and the group that I had prepared earlier when installing postgres, registered the configs with the user and password, there was a connection. I set up the local.cfg of the dspace, made the assembly with maven, then I run fresh_install through ant and see only errors  
Does anyone have any idea why this is happening?![photo_2023-03-30_21-41-25.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/248857iD467195D6020C519/image-size/large?v=v2&px=999 "photo_2023-03-30_21-41-25.jpg")![photo_2023-03-30_21-41-37.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/248860i645D019EEF3B5A4D/image-size/large?v=v2&px=999 "photo_2023-03-30_21-41-37.jpg")![photo_2023-03-30_21-41-42.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/248859iF4B1508AB31291D1/image-size/large?v=v2&px=999 "photo_2023-03-30_21-41-42.jpg")![photo_2023-03-30_21-41-48.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/248858i3BCE45906582CE4C/image-size/large?v=v2&px=999 "photo_2023-03-30_21-41-48.jpg")![photo_2023-03-30_21-41-54.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/248862i84B50B73F0E8D063/image-size/large?v=v2&px=999 "photo_2023-03-30_21-41-54.jpg")![photo_2023-03-30_21-42-00.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/248861iA580FAF893186CD3/image-size/large?v=v2&px=999 "photo_2023-03-30_21-42-00.jpg")


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

Could you explain what this has to do with Confluence?


Tags: cloud

confluence-cloud
How do I import tasks assigned to me into my Confluence personal space?
Asked by nichole.disser:

I would like to manage my tasks from my personal space but don't see a way import the tasks assigned from various sources.

I created a page and tried to embed individual JIRA tasks and nothing happens. I have a list of tasks from meetings and JIRA tickets

<https://tangandcompany.atlassian.net/wiki/plugins/inlinetasks/mytasks.action>


Answers:
author: Brant Schroeder
body: [@nichole.disser](/t5/user/viewprofilepage/user-id/5003517) You can use two macros to capture Jira issues and Confluence tasks on a page.

* <https://support.atlassian.com/confluence-cloud/docs/insert-the-jira-issues-macro/>
* <https://support.atlassian.com/confluence-cloud/docs/insert-the-task-report-macro/>


Tags: cloud

confluence-cloud

task
Is there an Alumni account that we can create for former employees to access exit information?
Asked by Jennifer Blanco:

Hi,

We would like to know if we can set up a page that can only be access by former employees? We want to provide exit information for them that they can access post their termination date. But we do not want them to have access to our systems/Okta. Is there some sort of Alumni portal we can create?

Thank you in advance for your help!

Jennifer


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

You can create a new space, called Alumni (or similar) and grant guest access to former employees. Guests will only have access to this space and you will grant them corresponding permissions. You can have 5 guests per paid confluence users. More info here:

<https://support.atlassian.com/confluence-cloud/docs/invite-guests-for-external-collaboration/>


Tags: cloud

confluence-cloud
"User Macros" option not showing in "General Configuration"
Asked by guybaz:

I want a create a new macro for adding date, I tried following the instructions here: <https://confluence.atlassian.com/doc/writing-user-macros-4485.html> but when I go into "General Configuration" there is no "User Macros" option available. I am the admin.

Any assistance will be appreciated


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

The documentation you are referring to is for Confluence server/DC. It doesn't apply to confluence cloud. In order to create a macro of your own, you have to create an app using Forge or Connect. You can find more info here <https://community.atlassian.com/t5/Confluence-Cloud-articles/How-to-create-simple-custom-macros-in-Confluence-Cloud/ba-p/1227422>

comments: author: guybaz
body: Thanks, I wasn't aware that there are such significant differences


Tags: cloud

confluence-cloud
I created a space but users get page not found
Asked by Leslie Shaw:

when my unrestricted users try to access my new page - they get page not found. I don't know why


Answers:
author: Brant Schroeder
body: [@Leslie Shaw](/t5/user/viewprofilepage/user-id/5184118) Welcome to the Atlassian community

In what space did you create the page? What do you mean by unrestricted user?


Tags: cloud

confluence-cloud
What is an ancestor page?
Asked by Joelle Beasley:

I am trying to find out what an ancestor page is. I have macros on my site that refer to them and I'd like to understand more about what they are and what they do.


Answers:
author: Aron Gombas _Midori_
body: In Confluence, pages are organized into a tree structure.

(Mathematically speaking, it is a forest, because it can contain multiple trees. Also, it can be a flat list, if you don't organize them into a hierarchy, that's also legal.)

That means that each page, except the ones in the topmost level, have a parent. A parent can also have its own parent, which is the grandparent of the original page. Parent, grandparent, etc. are called together *ancestors*.

See a hierarchy like this:

* A
  * B
  * C
    * D
      * E
      * F

Here F has the parent D, but F's ancestors are D, C, A.

You need ancestors, because you need hierarchy. And you need hierarchy, because it makes navigating and working in most spaces easier.


Tags: confluence-server

server