youngmon/atlassian-qna huggingface dataset:
Create new branch from tag in Sourcetree
Asked by Markus Hubig:

Hi @all,

creating a new branch from a tag is one of my most used git operations.

```
$ git checkout -b new_branch tag_name
```

How can I do this with sourcetree? Just right-klick on a tag name on the left pane dosen't give me this option ...


Answers:
author: stevestreeting
body: When you (left) click on a tag in the sidebar it'll navigate to that point in the log. You can right-click on this commit in the log (indeed, on any commit) and select 'Branch...' to create a branch from that point.

comments: author: Markus Hubig
body: Ah top! Thank you!


author: Premesh Purayil
body: WHen i do this and try to push that branch up to origin i get this errorgit -c diff.mnemonicprefix=false -c core.quotepath=false push -v --set-upstream origin 19.0:19.0Pushing to <http://gitlab.xxxx.com/engineering/xxx.git>error: src refspec 19.0 matches more than one.error: failed to push some refs to '[http://gitlab.xxxx.com/engineering/xxx.git'](http://gitlab.xxxx.com/engineering/xxx.git&#39);Completed with errors, see above.


author: gcreech
body: This is only part of the answer. The method described above, branches only at the SHA. Does not have an option for tracking. Because Windows version (not sure about MAC) has an issue with "greyed" out tracking screen (will it ever git fixed :-)), there is a manual step of tracking the branch to the remote that can be done in the terminal shell.  

git branch -u origin/\<remote branch name\> \<local branch name\>  

This is for the case of an existing branch that is on the remote.  

BTW - I have version 2.4.8.0 of Sourcetree - when in the remote list on the left, right clicking does allow branch creation with tracking option. This seems to answer the original post. One thing that is missing from that process, is that there is no option for not checking out the branch. If the checkout is done, at least tracking is available (not greyed out) . Wish the two branch dialogs were consistent. There are times when it is inconvenient to do a checkout, but still want to setup a local branch on the remote. As for the tracking menu issue/bug/feature, that is another story.  

PS - Just noticed that this was talking about tags (no children) ... my response was for an existing branch ... still very similar..
Sourcetree: SSH agent does not launch
Asked by Ellen Addoms:

I just installed Sourcetree and want to launch Pageant, but when I choose 'Launch SSH Agent' from the Tools menu, nothing happens. Any ideas?


Answers:
author: stevestreeting
body: That actually means it's already running, take a look in your system tray.

comments: author: Ellen Addoms
body: Thanks, Steve!!!


author: Orande Morgan
body: thanks much Steve, was ther for a while trying to figure this out


author: brikirby
body: I am having the same issue and as far as I can tell, SSH Agent is not running at all.


author: Thales Sabino
body: I was having the same issue, but I found out that if you to go **Tools/Options/General,** under **SSH Client** **Configuration,** select the SSH Client to **PuTTY / Plink**, then try to launch the SSH Agent again.

Looks like you cannot mix SSH Client configurations.


author: Samuel Benevides Linhares
body: on my case i followed until the point that was indicated by [@Thales Sabino](/t5/user/viewprofilepage/user-id/526281) on last comment but it was needed select the item OpenSSH on SSH Client drop list and to SSHKey Field, pass the path correspondent to private SSH saved on explorer. Problem solved.


author: priscilla_baltezar
body: I am new to bitbucket/vcs programming. I just installed source tree. Sorry if this is a basic understanding, but where is the system tray. I am under the impression there is an icon I can push for Pageant.
Add url undefined.
Asked by jian.Liu.dg:

Build a confluence's cluster for two hosts in cloud.

Confluence's version is 7.19.4 Data Center.

When click the button of Batch Converter, the URL has become invalid, an extra undefined.

Please tell me the reason?

Thanks.

![Annotation 2023-06-05 140950.png](https://community.atlassian.com/t5/image/serverpage/image-id/261227i28042A4B650BB5D0/image-size/large?v=v2&px=999 "Annotation 2023-06-05 140950.png")


Answers:
author: Aditya Verma
body: Hi [@jian.Liu.dg](/t5/user/viewprofilepage/user-id/5231123) ,

Can you check your proxy settings ? Are you using Apache ? If yes, please check the configuration in httpd.conf file.

Thanks,  
Aditya

comments: author: jian.Liu.dg
body: Slb + Nginx ,Other function is fine, Only this function has issues?


author: Aditya Verma
body: If the issue is only on this particular page, I would try doing a zero downtime restart first by [clearing the plugin caches](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) and then proceed from there.

Thanks,  
Aditya


Tags: confluence-server

server
CQL search query is not returning the proper result for between the Last modified date.
Asked by sase apiqa:

Hi Team ,

We are using the CQL to get the file modified details , it not returning immediate results but same query return the result after 24 hours .

Some time not given proper results as well.

**CQL: lastmodified \>= "2023/05/24+15:54" and lastmodified \< "2023/05/29+07:12"**

Please help us to resolve the issue, let us know any required changes we have to do.

CQL: lastmodified \>= "2023/05/24+15:54"

Results :Correct results.

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

**lastmodified \>= "2023/05/24+15:54" and lastmodified \< "2023/05/29+07:12"**

Result: Wrong Results

![Last modified 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/261225i95D8181588B23527/image-size/large?v=v2&px=999 "Last modified 2.png")


Answers:
author: Aron Gombas _Midori_
body: Are you sure that those '+' characters between the date and the time are necessary?

The [official guide](https://developer.atlassian.com/server/confluence/cql-field-reference/#lastmodified) shows this example:

```
lastmodified >= 2014-09-01 and lastmodified < "2014-09-03 09:00"
```

There is no '+' there...


Tags: cloud

confluence-cloud
Can Copy Template with Filters without Impacting Baseline if Customise?
Asked by Yang Y:

Hi team,

I cerated a test report template on confluence page with some filters(statistics of P1-P5 bugs, linked issue/dependence and risk to deliverable/epic/story) on Jira page.

And other users may copy/paste this template with baseline filters to their own location under Jira/confluence page.  

Shall I confirm some points,

1. Is it possible to put both baseline template and filters together in one page under Jira or Confluence for users to copy?
2. Once users paste filters to their own location, will it impact baseline ones if they customise these filters based on actual requirements?

Any feedback will be appreciated


Answers:
author: Brant Schroeder
body: [@Yang Y](/t5/user/viewprofilepage/user-id/5235128) Welcome to the Atlassian community

When you make a page from a template any changes to the page will not impact the template. Filters that feed the Confluence page widgets will be impact all pages using that filter.


Tags: confluence-server

server
I need to import the spaces and contents from a different Confluence Instance to this confluence
Asked by Ahmed, Raneez:

I need to import the spaces and contents from a different Confluence Instance to this confluence instance. I have the admin access, But I am not able to view the Settings option for Importing the Space contents. I have checked with my Superiors and no one has the Site Admin access. Now how can I request for Site Admin to import the contents


Answers:
author: Fadoua
body: [@Ahmed, Raneez](/t5/user/viewprofilepage/user-id/5235086)

Is your source instance Server or Cloud? How about your target instance Server or Cloud?

If source instance is Server you can try a DB backup then restore it in the other instance.

Based on your first answer I will be Abe to see what can be done.

Best,

Fadoua

comments: author: Ahmed, Raneez
body: [@Fadoua](/t5/user/viewprofilepage/user-id/655791)   
My source Instance is On-Prem and the target Instance is a Cloud one. I am currently an Administrator on the Cloud Instance. Do I require any additional permissions to restore the backup in the Cloud Instance?   
Could you please let me know how to perform the DB backup from the server instance and what kind of permissions I need for that


author: Fadoua
body: [@Ahmed, Raneez](/t5/user/viewprofilepage/user-id/5235086)

In this case you will have to follow this document's steps:

[https://marketplace.atlassian.com/apps/1219672/cloud-migration-assistant-for-confluence?tab=overview\&hosting=datacenter](https://marketplace.atlassian.com/apps/1219672/cloud-migration-assistant-for-confluence?tab=overview&hosting=datacenter)

let me know if you have any questions

Best,

Fadoua


author: Ahmed, Raneez
body: [@Fadoua](/t5/user/viewprofilepage/user-id/655791)   
Thank you for the document. For confirmation, so I need to install the Confluence Cloud Migration Assistant add-on on my Confluence Server Instance? and then proceed with the Migration?

So there is no need of Db Backup?


author: Fadoua
body: No need for the DB backup.

Follow the steps on Atlassian Documentation exactly how described. You will have a 100% successful migration.

More details under the following:

<https://support.atlassian.com/migration/resources/>

Let me know if you have any questions.

Best of luck!

Fadoua


author: Ahmed, Raneez
body: [@Fadoua](/t5/user/viewprofilepage/user-id/655791)   
Hi Could you please confirm whether I need to Admin access on both the Cloud and the server side to perform this migration process using the Add-on?


author: Fadoua
body: Yes you do


Tags: cloud

confluence-cloud
Import a Confluence Space Error
Asked by ???? ???????:

![confluence error 2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/261176i48FCEBAA00024FC5/image-size/large?v=v2&px=999 "confluence error 2.JPG")![confluence error.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/261175i89844C325EC5D71F/image-size/large?v=v2&px=999 "confluence error.JPG")


Answers:
author: Andy Gladstone
body: [@???? ???????](/t5/user/viewprofilepage/user-id/4981092) the two screenshots don't tell us much. Can you elaborate on what you are doing and what the issue is?

comments: author: ???? ???????
body: Yes, i trying import confluence space export from another confluence cloud site.

When i click "import" button i have errors

![conf error 1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/261182iCF86C09560E59102/image-size/large?v=v2&px=999 "conf error 1.JPG")


Tags: cloud

confluence-cloud
How can I create Table filters ?
Asked by Santosh Bahadur:

Hi , I have used a JQL query to create a JIRA Tickets Table in Confluence Page

I now want to add filters to it for ticket # , issue type , and so on

However I cant see any option to do it ? Was the filtration option removed as I cant see the funnel icon nor the insert table filter macro ?

What am I doing wrong ? Is there any post or link where I can see how to do it ?


Answers:
author: Stiltsoft support
body: Hi [@Santosh Bahadur](/t5/user/viewprofilepage/user-id/5231257) ,

As you've mentioned the funnel icons and [Table Filter](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-filter-macro-42239756.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro, I assume we are talking about our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app.

If you don't see our macros in the macrobrowser (you may search for Table Filter, Pivot Table, Table Spreadsheet to check), it means that the add-on was deinstalled from your instance. You may ask your Confluence administrator for the details.


author: Andy Gladstone
body: [@Santosh Bahadur](/t5/user/viewprofilepage/user-id/5231257) welcome to the Atlassian Community!

Native Confluence does not provide an option for setting filters on tables. The table macro displays the data in a WYSIWYG style with some options to manipulate the data into charts and graphs, but not to set filters on columns or rows. There are a number of Marketplace Apps that provide more robust tables, you can find them here:

[https://marketplace.atlassian.com/search?hosting=cloud\&product=confluence\&query=tables](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=tables)

Good luck!


Tags: filter

cloud

confluence-cloud

table

table-filter

table-filter-and-charts
i am getting this error while creating a page using template in aem. can you suggest me how to do it
Asked by Vikram Goud:

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


Answers:
author: Craig Nodwell
body: Hi [@Vikram Goud](/t5/user/viewprofilepage/user-id/5234665) welcome to the community. The image above is not showing any errors -\> What happens when you hit create?

comments: author: Vikram Goud
body: Hi [@Craig Nodwell](/t5/user/viewprofilepage/user-id/3973516) while creating a page, create tab is disabled. can you check below image ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/261484i671DF0845F08DFC1/image-size/large?v=v2&px=999 "Capture.PNG")


Tags: confluence-server
how to retrieve contentState history for a specific page id via API?
Asked by theo_carvalho:

Hi,

I was wondering if it is possible for a specific page id, to retrieve for each of its content state change, its authorId and date of change.

The closest I got was using Get Content Properties for Page ([api doc](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties/#api-pages-page-id-properties-get)) where I seemed to retrieve the last contentState change. I've noticed that they only show up to 3 events, even if I change the limit parameter

**Heres's the code**:  
import requests  
from requests.auth import HTTPBasicAuth  
import json

your_domain = xxx  
page_id = xxxx  
api_token = xxx

<br />

url = f"https://{your_domain}/wiki/api/v2/pages/{page_id}/properties"

auth = HTTPBasicAuth("email", api_token)

headers = {  
"Accept": "application/json"  
}

response = requests.request(  
"GET",  
url,  
headers=headers,  
auth=auth, params={"limit":10}  
)

response.json()  
# print(json.dumps(json.loads(response.text), sort_keys=True, indent=4, separators=(",", ": ")))  
'''  
**Output:**  
{'results': \[{'value': 'v2', 'key': 'editor', 'id': xxx, 'version': {'number': 1, 'message': '', 'minorEdit': False, 'authorId': 'xxxx', 'createdAt': '2023-06-03T00:20:36.036Z'}}, {'value': '{"contentState":{"id":xxx,"color":"#2684ff","name":"Under construction"},"version":5,"isSpaceState":true,"isNewState":false,"setterAAID":"xxxx"}', 'key': 'content-state-published', 'id': xxx, 'version': {'number': 4, 'message': '', 'minorEdit': False, 'authorId': 'xxx', 'createdAt': '2023-06-03T00:37:55.648Z'}}, {'value': '{"contentState":{"id":xxxx,"color":"#2684ff","name":"Under Construction"},"version":4,"isSpaceState":true,"isNewState":false,"setterAAID":"xxx"}', 'key': 'content-state-draft', 'id': xxx, 'version': {'number': 3, 'message': '', 'minorEdit': False, 'authorId': 'xxx', 'createdAt': '2023-06-03T00:37:53.733Z'}}\], '_links': {}}  
**Desired output:**  
my response comes with the following field:  
'_link' : {'next': url-cursor-key-number-here'}  
I'm also open to other ways as long it uses API.


Answers:
author: Gonchik Tsymzhitov
body: How about that one ?

<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content/#api-wiki-rest-api-content-id-history-get>


Tags: api

cloud

confluence-cloud

history
Como elimino productos de una organizaicon para elimnar la organizacion completa
Asked by Carlos Funez:

Cree una cuenta para probar el aplicativo, pero no es lo que ando buscando, entonces quiero eliminar mi cuenta. del todo, productos proyectos y organzacion


Answers:
author: Fabian Lim
body: Hola [@Carlos Funez](/t5/user/viewprofilepage/user-id/5234479)

Te aconsejo que borres todos los proyectos y los tickets y despu?s puedes crear un ticket con Atlassian support para que te lo deshabiliten. Eso si, tienes que ser el org admin de la cuenta.

O espera un par de meses sin logear y se borra automaticamente si es gratis.

Saludos,

Fabian


Tags: cloud

confluence-cloud
Expansion macro - how to create the arrow button that expands or minimizes?
Asked by Walter McGuire:

I see an arrow in a Confluence page. Press that and it expands to an image. I tried re-creating that but somehow missed the arrow part....


Answers:
author: Dan Breyen
body: Hi Walter, I'm not sure if I'm completely understanding your question. You are using the Expansion Macro, but it doesn't give you the arrow? Or you are trying to add another expansion macro within one. If that is the case, this article suggests to add a table and put multiple Expansion Macros within the table. [Expand Macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-expand-macro/)

Hope that helps.
We need to make a table with list of title pages for children pages in separate row
Asked by ????? ????:

Hi!  
We need some help to get solusion for our team issue)  
I have not better english in the world, but i guess you can understand me :)

<br />

We need to build a table on parent page with 2-3 column:   
1) first column is tittle of child pages

2) second column is free cell (in this cell we will put some link to jira or smth)

3) third column is label that use in the page (its not so nessecary like first and second column )

We already try to build it with macros "Page property report", "child pages" - its not ok becoause if we use "page property" someone can forget add label for page and this page is not displayed in table... (we think about templates, but someone can delete label and his page is not displayed in table again :( ... Child pages is not ok because all pages displayed in 1 column and we cant add link for every page in table

please give advice to us how to build this perfect table


Answers:
author: ????? ????
body: Hi [@Juliette Lallement _Elements Apps_](/t5/user/viewprofilepage/user-id/4741041) !  

Thanks for your answer!!  

But we use only Confluence server version :(


author: Juliette Lallement _Elements Apps_
body: Hi [@????? ????](/t5/user/viewprofilepage/user-id/5234334) !

Welcome to the Community!

The Orderly databases aa would allow you to do that, however it's been recently acquired by Atlassian so you will have to wait until it is globally available to everyone. You can find additional information and sign up for the waiting list here <https://www.atlassian.com/software/confluence/databases>

I hope it helps!

comments: author: ????? ????
body: Hi [@Juliette Lallement _Elements Apps_](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4741041) !  

Thanks for your answer!!  

But we use only Confluence server version :(


Tags: confluence-server

report

server

table
Does anyone know how to change the message when a user clicks the 'Forgot Password' button?
Asked by Andy Hurley:

We have a mix of users that connect with Crowd managed accounts and Active Directory accounts (also via crowd) but those that use Active Directory cannot change their password via Confluence (same situation in Jira).

Unfortunately if a user clicks the 'Forgot Password' button they are presented with a message allowing them to request a reset password link but this will not work for AD users so we wish to change this message to explain that this will not work if their account is via active directory.

One day we may have all accounts vi AD and we can disable the button but for now we need it to still work for those with local accounts.

I have been searching the install directory to see where this text might be but I have not found it - maybe it is in the db?

Any suggestions?

Thanks.


Answers:
author: Radek Dost?l
body: So the obvious to say is there isn't a way to do it "in a good way", but that much you concluded already.

As far as the template goes, I found this velocity file which appears to correspond to the page:

```
(from installation directory)
$ find . -type f -name 'forgot*'
./confluence/forgotuserpassword.vm <----------
./confluence/forgotuserpassword-success.vm
```

This would however mean you would need to modify this for each node in the cluster, and possibly do that every single time that you do an upgrade.

It might actually be easier to add a javascript to Custom HTML (/admin/viewcustomhtml.action) and just change the content to whatever. That way you don't need to worry about modifying files, and the custom html persists in the db. So long as the javascript is done well, that is.


Tags: confluence-server

server
Retrieving list of headers of a spesific topic into one page
Asked by Thorbj?rn Kirkeleit:

Hello!

We are new to Confluence and are just starting to add documentation into it.

Currently we are adding pages describing applications and services we are providing to our users, and in these pages we are describing standard changes to each application and service. This is all good but now I am looking to create a summary page that retrieves all headings from all the pages in the space regarding standard changes that are documented.

Any ideas on how to archieve this? :)

Each page has multiple headers (header 1, header 2 etc) and these are used to generate table of contents. And on each page some of these headers are naming standard changes our IT dept is able to do, and how to do them.

These are the headers I want to automatically list in a separate page describing all standard changes documented.

I am using page properties already to create simple metadata used in page property reports but I cannot see how this can be used to archieve what I am looking for.

Hopefully someone could help :)


Answers:
author: Laura Campbell _Seibert Media_
body: Hello [@Thorbj?rn Kirkeleit](/t5/user/viewprofilepage/user-id/5234246) and welcome to Community!

I think there are some different macros that could help. If you are looking to display information from child pages (for example, you add it to the top of a hierarchy of pages), the children display macro can display selected headers from the child pages.

Another macro that could help would be the excerpt and excerpt-include. You put the excerpt macro around the content you want to display elsewhere (so you put it around the TOC) and then use the excerpt-include on your summary page to display the the TOC. You could use multiple excerpt-include macros on one page to pull content from several different parent pages.


Tags: cloud

confluence-cloud