youngmon/atlassian-qna huggingface dataset:
Crashes - can you help me get this stable?
Asked by Markus Wuersch:

Hi,

I used to love this tool but after a few months break from development, it is not crashing all the time. It opens ok but as soon as I try to do anything (simple pull or push) it crashes immidietly.

Any other info thay you wold need to troubleshoot this? Crash report from OS X?

Appreciate any help.

Markus


Answers:
author: stevestreeting
body: Crash report would be useful - you can get this from Console.app.
Remote will not save
Asked by Jeff Denton:

Hello - I am trying to add a new remote for one of my repositories. I click New Remote, enter a Remote name, select the URL/Path from the list (after clicking the world icon) and click OK. The remote shows up in my Remote Repository Path list. I click ok to close the Remote repository path list. I then go to make an intial commit to the remote repository but the checkbox labeled 'Push commits immediately to:' is grayed out and I cannot select my remote from the pick list. I've tried this about 10 times now and cannot get the remote to save.

I've been able to save 2 other remotes last week. What am I doing wrong? Thanks.


Answers:
author: stevestreeting
body: Very strange - can you take a look inside the .git/config file in your repo to see if the remote is actually being saved there? Does it show in the Settings window after you've added it (if you re-open the window)?

SourceTree just gets the remote list for the push dialog from 'git remote -v' in the end.
How to resolve 'Unable to find remote helper' error when typing in Source Path not hosted on Bitbucket, Github, etc.
Asked by Richard Saethang:

I'm getting an error:

fatal: Unable to find remote helper for 'svn'

When I type in my source path svn://my_user_name@domain.com/Folder_Name (with my personal details of course), it gives an error that it is not a valid source path. I can login with another svn program fine. Am I missing something?


Answers:
author: stevestreeting
body: The 'svn://' protocol is not supported. You can clone from a Subversion repository in SourceTree into a local Git or Mercurial repo (via git-svn an hgsubversion), but only if it's available over HTTPS or SSH.
Patch eol setting issue (hgAttic)
Asked by Oliver Zhou:

Hi Steve,

I've send a pull request via Bitbucket to you: <https://bitbucket.org/sinbad/hgattic/pull-request/1/respect-user-patch-eol-settings>

It will resolve hgAttic patch eol issue.

Please review it.


Answers:
author: stevestreeting
body: Thanks, taking the discussion there.
How do I not show git tags unreachable from other refs in SourceTree's log view?
Asked by Max Nanasy:

I'd like to not show git tags unreachable from other refs in SourceTree's log view (i.e. it should show the equivalent of (git log --oneline --graph --decorate --branches \[--remotes\] HEAD)). Is this possible?

Motivation: Most of my tags are archives of rebased or discarded work, so they're just cluttering up my log view right now.


Answers:
author: stevestreeting
body: No, there's no option for this. Do you really have that many tags?

comments: author: stevestreeting
body: You can always delete the tags of course.


author: Max Nanasy
body: Yes, I really have that many tags. I don't want to delete them because I don't want to lose the information.


author: stevestreeting
body: If you like you can create a feature request here: <https://jira.atlassian.com>, preferably with an example of the problem you're looking to solve.


Tags: git
Support for launchpad?
Asked by Joshua Miller:

Is there support for launchpad or in the future any support for it? I've recently installed sourcetree for the git projects I'm going to move to this computer, but I have at least one project on launchpad. Thanks in advance for any help

-Joshua Miller


Answers:
author: stevestreeting
body: Just to be clear, you can already use any git/hg host you like just by creating remotes pointing at the appropriate launchpad URLs (or using the ones that come with the repo if you import it). What you wouldn't have is support for displaying possible remote hosted repos in the Hosted Projects view. This is a convenience but doesn't stop you using any other remote system.

In future we may add support for a pluggable Hosted Projects API so that it's easier to incorporate other hosts into Hosted Projects.

comments: author: Joshua Miller
body: Yeah but launchpad is bzr and I don't think sourcetree supports that yet. Plus at least for this one project I need bzr others I'll use github(I'm more used to get now), but do need bzr just this once and thought it might be a good time to suggest it.


author: Joshua Miller
body: Why? I don't see why it can't be added....


author: stevestreeting
body: Ah, of course, sorry. Support for Bzr is extremely unlikely in the future I'm afraid.


author: Joshua Miller
body: Still it would be nice to have it just for those who do have to use it, too bad there's not a way to prove it'd be really useful, just thought it would be nice to have it just for the few....


author: stevestreeting
body: It's technically possible of course. But it's a lot of effort for a system that very few people use compared to Git and even Mercurial, therefore the effort isn't really justified.
inconsistent hg flow log messages
Asked by Ron Bickers:

The log messages produced by hg flow are inconsistent and rather unpleasant in some cases. For example:

flow: Merged \<feature\> 'my-sample-feature' to \<develop\> ('develop').  
flow: Closed \<feature\> 'my-sample-feature'.

Others are more reasonable:

flow: Created branch 'feature/sqlalchemy-plugin'.

It would be nice if the first two were more like the third? That is:

flow: Merged 'feature/my-sample-feature' to 'develop'.  
flow: Closed 'feature/my-sample-feature'.

Is this configurable? If so, how?

I'm running 1.5.3 with the embedded Mercurial.

Thanks!


Answers:
author: Ron Bickers
body: I see. These are the commit messages, so they show in the log view description for every flow-related commit. I'll either live with it, modify it myself, or take it up with the hgflow guys.

Thanks for the response.


author: stevestreeting
body: These messages come from hgflow itself, which I try not to alter too much so that it stays consistent with the upstream: <https://bitbucket.org/yujiewu/hgflow/wiki/Home>

Most of the time you don't see these messages anyway, unless you force SourceTree to always show the full output in Preferences. SourceTree insulates you from it by giving you the 'Preview' panel in the flow action windows.
Confluence Server DB - Looking for Space Category
Asked by Paul Madison:

Where can I find the Space Category in the database?


Answers:
author: Matt
body: Does it have to be DB? The schema doc doesn't clearly show the relation between the 'label' table and the 'space' table.

<https://confluence.atlassian.com/doc/confluence-data-model-127369837.html>  

You can execute this as a starting point:

```

select * from label where NAMESPACE = "team"
```

However, I'm not 100% sure that labels in the 'global' namespace cannot also be used on spaces. So, I don't know if the above query returns a complete dataset. This query gets both global and space labels but not page-specific ones.

```
select * from label where NAMESPACE = "team" or NAMESPACE = "global"
```

Either way, those queries only give you what labels have been added and does not show any relation to what they were added to, which may be what you're actually looking for.

It's fairly trivial to get that data from the REST API and then parse it as needed:

1. Get a list of all of the space keys either from the DB or from the API:

   ```
   # DB
   select spacekey from spaces
   # API - you'll have to paginate through the 
   https://<confluence-url>/rest/api/space?limit=500
   ```

2. Take the list of space keys returned and for each one send a request to this endpoint:

   ```
   https://<confluence-url>/rest/api/space?spaceKey=<SPACEKEY>&expand=metadata.labels
   ```

Your output will look something like this for each request:

```
{
"results": [
{
"id": "<SPACE-ID>",
"key": "<SPACE-KEY>",
"name": "<SPACE-TITLE>",
"type": "global",
"metadata": {
"labels": {
"results": [
{
"prefix": "team",
"name": "<LABEL-NAME>",
"id": "<LABEL-ID>"
},
{
"prefix": "team",
"name": "<LABEL-NAME>",
"id": "<LABEL-ID>"
},
{
"prefix": "team",
"name": "<LABEL-NAME>",
"id": "<LABEL-ID>"
}
],
"start": 0,
"limit": 200,
"size": 3
}
},
"_links": {
"webui": "/display/<SPACE-KEY>",
"self": "https://<confluence-url>/rest/api/space/<SPACE-KEY>"
},
"_expandable": {
"icon": "",
"description": "",
"homepage": "/rest/api/content/<SPACE-HOME-ID>"
}
}
],
"start": 0,
"limit": 25,
"size": 1,
"_links": {
"self": "https://<confluence-url>/rest/api/space?spaceKey=<SPACE-KEY>&expand=metadata.labels",
"base": "https://<confluence-url>",
"context": ""
}
}
```

Hopefully that's a starting point for you. Good luck!

comments: author: Paul Madison
body: Thanks for the detailed response.

This at least gives me one avenue to get what I need.


author: Bertrand Drouhard
body: I may be a bit late, but this is a query to find what are the different space categories and on which space they apply :

```
SELECT l.NAME, l.labelID, cl.CONTENTID, s.SPACENAME, s.SPACEKEY
FROM CONTENT_LABEL cl
LEFT JOIN LABEL l ON (l.LABELID = cl.LABELID)
LEFT JOIN CONTENT c ON (c.CONTENTID = cl.CONTENTID)
LEFT JOIN SPACES s ON (s.SPACEID = c.SPACEID)
WHERE l.NAMESPACE = 'team'
```

and if you want to find all the spaces that are in the "test" category, just add

```
AND l.NAME = 'test'?
```


Tags: category

confluence-server

database

server

space
Define global space templates
Asked by Sandro Burn:

Hi everyone,   

I am the site admin (confluence cloud) and I would like to define some general space templates. So if I am creating a new space for a project, the new project generate should have predefined pages and also the correct naming. Is there a way to define like a template space for this?

Right now I have only found page templates and the space blueprints, but I haven't found a way to define my own template for a space.

Thanks,


Answers:
author: Summer Hogan
body: Hi [@Sandro Burn](/t5/user/viewprofilepage/user-id/5221603) - Welcome to the community!

I found this article that may help you create a template in a space. Take a look: <https://support.atlassian.com/confluence-cloud/docs/create-a-template/>

I hope this helps!

comments: author: Sandro Burn
body: Hi [@Summer Hogan](/t5/user/viewprofilepage/user-id/4193903)   
Thanks a lot for the link. It's not exactly what I am searching for. Basically, the idea is to create a couple of page templates and a space template. For example, a new space should always have a page called 00_Meetings and the meetings page should be based on the meeting template.


author: Summer Hogan
body: Hi [@Sandro Burn](/t5/user/viewprofilepage/user-id/5221603) - sorry I didn't get back to you earlier. Is this maybe what you are looking for? <https://support.atlassian.com/confluence-cloud/docs/create-a-space-from-a-template/>


author: Sandro Burn
body: [@Summer Hogan](/t5/user/viewprofilepage/user-id/4193903) Thanks for the new link. :-)

Not sure if this is not the intent to use confluence like this, but I would like to create a unique template for my company. So instead of the "Product management" space, for example, I would like to create my own space template so that the team can use this one.


Tags: cloud

confluence-cloud
Stop opening link to view.officeapps.live.com
Asked by Landen Crabill:

My environment is not using the companion app to edit documents, so we are using office editing instead. When using the Attachments macro and clicking on a document it will open the view.officeapps.live.com link, which doesn't link to anything. Is there a way to stop the link from going to this address?


Answers:
author: Landen Crabill
body: I found the answer to my problem, using windows edge it is Settings \> Downloads \> Open Office Files in the Browser. I have to turn this off and it works just find.

comments: author: Summer Hogan
body: Glad to hear this! I'll note this in case this question comes up again!


author: Summer Hogan
body: Hi [@Landen Crabill](/t5/user/viewprofilepage/user-id/5136635) - it looks like you may have the Office Connector configured. Take a look at this support article and try disabling it and see if that helps. <https://confluence.atlassian.com/doc/configuring-the-office-connector-170492758.html>


Tags: confluence-server

server
Confluence 7.19.7 and Companion Application Issue
Asked by T Lambert:

We recently upgraded to Confluence 7.19.7 and then lost the ability to directly edit files using the Confluence Companion Application.

When we select the "edit" button to edit files they not longer open up for directing editing. Now we have to download, edit, and upload modified files back onto Confluence, not the most efficient process!

This issue is occurring for all file types, i.e., the MS Office Suite.

Has anyone else experienced this issue, and if so, any thoughts on how to resolve it?


Answers:
author: Shekhar Gupta
body: Hello,

We have several customers reported that the Atlassian Companion App no longer works after upgrading their Confluence version. Based on our initial investigation, the latest working version of Confluence is 7.19.5, and the earliest affected version is 7.19.7

Thus there is a possibility that the changes made between these two versions is causing the issue.

The common error message we see in the Companion log is:

error: adc:ServerFacade 2023-04-11T09:59:51.841Z Could not get temp link information:  
error: adc:ServerFacade 2023-04-11T09:59:51.841Z UnexpectedStatusError: Unexpected response status code 401 from confluence.site

<br />

This error suggests that Companion app is not properly authenticated when it tries to request the metadata of the attachment being edited from the Confluence Previews plugin API.

To keep you informed we have log the issue as a bug in our public issue tracking system.  
\* <https://jira.atlassian.com/browse/CONFSERVER-83369>

The related bug has the highest priority and its state is IN PROGRESS which means the development team is currently working on this issue. We hope it will be fixed soon.

Hope you have a nice day.


Tags: confluence-server

server
How to connect AWS Redshift to Atlassian Confluence page ?
Asked by Tamilarasan Ramalingam:

Actually I need to connect redshift database to confluence page to display the data. Anyone please suggest me any useful link or Configuration Steps.


Answers:
author: G subramanyam
body: Hi [@Tamilarasan Ramalingam](/t5/user/viewprofilepage/user-id/5221586) welcome to the Atlassian community.

You might have to use one of the "[Data Center apps](https://marketplace.atlassian.com/categories/data-center)" from the Market place partners to achieve the task.

Some high level steps I found online:

* Create a connection to AWS Redshift in Confluence.
* Create a table in AWS Redshift to store the data from Confluence.
* Create a view in AWS Redshift to query the data from Confluence.
* Create a page in Confluence to display the data from AWS Redshift.

Also, please have a look at this site: [Confluence cloud to redshift](https://skyvia.com/data-integration/replicate-confluence-cloud-to-redshift)

comments: author: Tamilarasan Ramalingam
body: [@G subramanyam](/t5/user/viewprofilepage/user-id/3929184) Thanks For Your Response.   

In Data Center Apps - Which App i need to use for this ?   

Still i looking for some details configuration Steps in technical --\> connection to AWS Redshift in Confluence. Because i need to display data in the form of table, graphs, charts.


author: G subramanyam
body: Hi [@Tamilarasan Ramalingam](/t5/user/viewprofilepage/user-id/5221586) sorry for the late reply.

Given the technical as aspects and full support, I would request you to contact AWS support team using this **[link](https://signin.aws.amazon.com/signin?redirect_uri=https%3A%2F%2Fsupport.console.aws.amazon.com%2Fsupport%2Fhome%3FhashArgs%3D%2523%252Fcase%252Fcreate%253FissueType%253Dtechnical%26isauthcode%3Dtrue%26state%3DhashArgsFromTB_us-east-1_13af168abc6b4ea7&client_id=arn%3Aaws%3Asignin%3A%3A%3Aconsole%2Fsupportcenter&forceMobileApp=0&code_challenge=oAyw4bdGuhRxhgej1_FOuHsUsRZch7hn7BKYE-QNrd4&code_challenge_method=SHA-256)**.


Tags: cloud

confluence-cloud
I?ve given access to a colleague, but she hasn?t still access, why?
Asked by Anna Simiele:

Hello,

I?ve given access to my colleague, but she becomes still the display "you don?t have permission to view this page", why?

And in my settings I see she has the right.... thank you,


Answers:
author: Nicolai Sibler
body: Hi [@Anna Simiele](/t5/user/viewprofilepage/user-id/5221520) , welcome to the Community!

This sounds like a misunderstanding that quite a few users are subject to.  
If I had to guess, you did not grant permission, but extended the page restrictions to the other person.  
Please check if the person is authorized in the space at all. Permissions can only be granted at the space level. At the page level, these permissions can only be further restricted.

See [Permissions and restrictions](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html) for further details.

Hope that helps!

Kind regards,

Nicolai


author: mehran bhutto
body: There are a few reasons why your colleague might not be able to access a page even though you have given them permission.

* **They might not be logged in to the correct account.** Make sure that they are logged in to the same account that you shared the page with.
* **They might not have the correct permissions.** Check the permissions for the page and make sure that your colleague has the "View" permission.
* **There might be a problem with the page.** Try refreshing the page or clearing your browser's cache and cookies.
* **There might be a problem with the website.** If you are having trouble with other pages on the website, contact the website's support team for help.

If you have checked all of these things and your colleague is still unable to access the page, you can try the following:

* **Remove the permission and then re-add it.** This may reset the permissions and fix the issue.
* **Contact the website's support team.** They may be able to help you troubleshoot the issue.

I hope this helps!


Tags: access
Disable @mention function in Confluence Cloud or only allow it for specific user groups
Asked by Sebastian Adam:

Hi Community,

i am searching for a way to either disable the @-mention functionality in Confluence Cloud completely or only allow it for specified user groups but I can only find the documentation (<https://confluence.atlassian.com/conf74/mentions-1003129017.html>) and a plugin for Confluence Server ([https://marketplace.atlassian.com/apps/1225447/confluence-browse-people-permission?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/1225447/confluence-browse-people-permission?hosting=datacenter&tab=overview)).

Is there also an opportunity to do this for Confluence Cloud?

Thanks for your help and best regards

Sebastian


Answers:
author: Sebastian Adam
body: Is there no way in Confluence cloud to limit this? Not even with an app from the marketplace?


Tags: cloud

confluence-cloud
How to fetch all macros for a confluence cloud page?
Asked by Jyoti Chauhan:

I tried to access REST API to get content for a page with**/wiki/rest/api/content/{pageId}?expand=body.storage** and in its body field, I can see macros are available but not all macros are assigned with macro-id or macro tag name like table, date macros does not come with a macro id in body value.

So I was looking if there is any rest end point or cql query with which we can fetch all the macros for a page or blog or comment etc. or is there any identification tag in a body value of a content that says that a particular field is a macro type?


Answers:
author: Sanjen Bariki
body: Hi [@Jyoti Chauhan](/t5/user/viewprofilepage/user-id/5221469) ,

Welcome to Atlassian Community!

In Confluence Cloud, there is no Inbuilt option to get all the list of confluence Macro.

you can directly raise a ticket with Atlassian team they can give you the list of Macro because they have the Full Confluence DB access.

* **[Link to create a support ticket](https://support.atlassian.com/contact/#/)**

**Accept the Answer If it helps you**

Regards,

Sanjen Bariki


Tags: cloud

confluence-cloud

macro
How can I list all spaces without personal ones?
Asked by Steffen Sledz:

How can I get a list of all spaces without the personal ones?


Answers:
author: Steve Long -Evelon-
body: Hi [@Steffen Sledz](/t5/user/viewprofilepage/user-id/142654)

You should be able to go the Space directory, then filter the spaces using the 'Communal' filter. Here's the docs for ref: <https://support.atlassian.com/confluence-cloud/docs/navigate-spaces/>

Moreover, you can use the Spaces List Macro to do this filter on a Confluence page.

Hope that helps - Steve.

comments: author: Steffen Sledz
body: Thx


author: Ms_ Hiller
body: I there any way for the Spaces directory to list communal first?


Tags: cloud

confluence-cloud
Confiform filter specific value from multiselect field
Asked by Markisio:

Hi there

I have multi select field in Confiform called pods and has these specific selections (each bullet is a row):

1. A, B, C, D
2. D, X, Y
3. A
4. C, A

Form has the following fields

* Function
* pods

Would like to retrieve the rows that contain pod A, based on above it will return 1, 3, \& 4 within tableview filter

thanks


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Just use the filtering expression like this

```
pods:A
```

Alex

comments: author: Markisio
body: hi [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

I just realized what you suggested doesn't work, it's returning only record # 3 as per example above. I tries to use entry._func.asEntryRef() but that didn't work either. thanks


author: Alex Medved _ConfiForms_
body: Hi

I absolutely dont know how the "entry._func.asEntryRef()" is related here

To match ANY record that HAS an option A you may consider doing this

    pods.hasValue(A):true

But honestly, it works fine using both approaches

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

Alex


author: Markisio
body: thanks [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630) , if I have the values right on the form then yes it will work, but if I have smart multi select for instance pod.key:A it won't work. is there a different syntax if I use filter against smart multi select? let me add more context.

Here is form 1 called podForm, has the following fields

podName - contain the following: X, Y, Z

key - Contain the following: A , B , C

here is form 2 called issueForm, has th following fields

issueType

issue

pod \<-- Smart MultiSelect

I want to display in tableview the data based on pod key A, so I did pod.key:A won't work, but it will work like this pod.podName:X or pod.key:\*A\*

I dont want to use pod name, off course the actual names are not single letter :)

thanks


author: Alex Medved _ConfiForms_
body: Well, this is a completely different task... in comparison to what you have asked initially

Basically you want to filter by values in a different form that your smart multi-select is using

See this demo: <http://recordit.co/Atdt3GlTmj>

Alex


Tags: confluence-server

server