youngmon/atlassian-qna huggingface dataset:
Accessing Jira REST APIs when Office 365 SSO/SAML is configured
Asked by Jesper Lund Stocholm:

I have a customer with an onprem Jira installation that I need to implement a system-to-system integration for to pull information using the REST API's. The server is accessible to the internet and is configured with Active Directory/Office365 SSO integration.

If it was a cloud Jira I would create an API key for my Atlassian account and use this to authenticate when using the API's - using curl or something similar.

What do I do in this situation? How do I get past the Microsoft OAuth authentication to be able to query the REST APIs?


Answers:
author: Shweta Vispute
body: Hello [@Jesper Lund Stocholm](/t5/user/viewprofilepage/user-id/3987462),

As I understand it, you want to authenticate your Jira REST API on an SSO enabled sever. This can be achieved by using the add-ons available on the marketplace.

I would like to pitch in the [API Token/OAuth Authentication for Jira](https://marketplace.atlassian.com/apps/1221054/mo-api-token-oauth-authentication-for-jira?hosting=server&tab=overview) add-on that allows you to authenticate Jira APIs using any **third party OAuth 2.0/ OpenID provider** or **API Tokens**. The app supports 10+ providers and custom provider as well.

PS: I am a developer at [miniOrange](https://marketplace.atlassian.com/vendors/1213308/miniorange), a Top Atlassian SSO Vendor!

If you have any questions about it or would like to discuss it further, you can reach out to [info@xecurify.com](mailto:info@xecurify.com).

I hope this helps you!

Thanks,

Shweta.


Tags: ms-office-365

oauth

rest-api
???????????????????????????
Asked by ????:

?????????????????????

SSH??????????????????????????????????????????????????????????????????????????????  
?????????????????????????????????????  
?????????????![2021-06-27_17.49.17_?????????_?????????.png](/t5/image/serverpage/image-id/149021i2A96C5A482901FAD/image-size/large?v=v2&px=999 "2021-06-27_17.49.17_?????????_?????????.png")![2021-06-27_17.23.42_?????????_Sourcetree????????.png](/t5/image/serverpage/image-id/149022i13E2DD2B774B08EE/image-size/large?v=v2&px=999 "2021-06-27_17.23.42_?????????_Sourcetree????????.png")


Answers:
author: Rick Li
body: ?????????????????????????

<https://community.atlassian.com/t5/Sourcetree-questions/Error-while-adding-SSH-key-with-GitHub-account-it-says-Upload/qaq-p/943196>

????????????????????????

1. **Terminal** ???????????????
2. ???????????  

   ```
   ssh-add -K ~/.ssh/<git_key_name>
   ```

<br />

<br />

comments: author: ????
body: Rick Li???

??????????????????????????

????????????????Sourcetree??push???????????????????????

???ssh -add -K??????????????Github??????????(1)?(3)??????????????????

(1) eval "$(ssh-agent -s)"

(2) \~/.ssh/config????? ... ???????  
??# --- Sourcetree Generated --- ....

(3) ssh-add -K ...

?Github???? SSH ??????? ssh-agent ?????  
<https://docs.github.com/ja/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent>

???????????????????????
Sourctree terminal is not working with latest Sourcetree 3.4.3
Asked by Manisha Dubey:

Hi,

We have upgraded sourcetree to 3.4.3 version and we see the terminal is not opening Via sourcetree. We are using Git Bash as a default terminal and the version for Git is 2.31. Could you please help us.


Answers:
author: Hyrum Steffensen _Appfire_
body: Hello Manisha! Welcome to the Atlassian Community!

I have found Sourcetree to be incredibly powerful, yet can take some effort to configure. Take a look at the log files and let us know what kinds of errors you see. Hopefully someone will see something familiar and can further assist you. Here is the documentation on [seeing the log files](https://confluence.atlassian.com/sourcetreekb/sourcetree-logfile-location-675384748.html) for Sourcetree.

Regards,

Hyrum
Unable to push to remote after interactive rebase(amend commit message)
Asked by PChevutu:

Hello,

I have a local branch which has been pushed to remote branch already.

After pushing to remote, I had to change the commit message. Therefore I used interactive rebase to change the commit message in my local branch. When trying to push this new commit message, the remote seems to be detached from my local head ie. I can not see my local branch name in the Push dialog box.

I used the terminal to force push and ended up with this fatal message:

fatal: '\<branch_name\>' does not appear to be a git repository  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.

I would appreciate if someone could share their experience in a similar situation.

I would like to know how I can push my local branch(with changed commit message) into the remote branch.

Thanks in advance!


Answers:
author: PChevutu
body: !!Solved!!

This situation cannot be solved from the Sourcetree Gui unfortunately. The correct terminal command would be:

git push origin \<local_branch_name\>:\<remote_branch_name\> -f

if the local_branch_name = remote_branch_name

git push origin head -f


Tags: push

rebase
Graph shows too many unnecessary lines for merge (only for mac version)
Asked by qiulang2000:

Graph shows too many unnecessary lines for merge (only for mac version). I believe this is a bug and I also report it at <https://jira.atlassian.com/browse/SRCTREE-7696>.

But it seems that I can't attached pictures in bug report there while the pictures clearly shows my problem. Without the pictures it is hard to explain my problem, so I am asking my question here again. I also hope maybe someone has a workaround for it.

In the picture you can see the leftmost line is branch v5, the line next to it is v4. What I did were to merge v4 into v5 at some points. But graph shows too many lines I have no idea where they came from.

This happens in all mac version. BUT the window version is correct.

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

Compared to the graph in the window version, which is correct

![sourcetree-win.png](/t5/image/serverpage/image-id/148363i426141A61A5ABFD0/image-size/large?v=v2&px=999 "sourcetree-win.png")


Answers:
author: qiulang2000
body: After further investigation now I understand why. It is because I use ancestor order in mac but date order in window. If I use date order I will get the same graph.

But I have to say the ancestor order is quite unreadable with so many lines.


Tags: bug

graph

mac
Cannot see remote branches
Asked by Jake Sixsmith:

Hey there,

I used to be able to see all my remote branches, however today I cannot see any within my feature folder. I have access to this on git and can checkout any of those branches in a terminal or if I go into Repository -\> Checkout. Its just on the left hand side I cannot see them.

Any advice?

![Screenshot 2021-06-18 at 14.42.09.png](https://community.atlassian.com/t5/image/serverpage/image-id/148099i151AB0218B5A4E1C/image-size/large?v=v2&px=999 "Screenshot 2021-06-18 at 14.42.09.png")


Answers:
author: Giselle Hsu
body: Same here, it's find last week, but remote branch got empty after I call fetch this morning.

though I can still checkout by command.

The version is 4.1.2 (Mac OS)

and the Windows version is totally find.


Tags: branch

remote
sourcetree keeps crashing after upgrade to 4.1.1
Asked by Phillip:

I upgraded the source to latest version 4.1.1 but it keeps crashing whenever I click any repo after that. How can I fix it?

    Process:               Sourcetree [9208]Path:                  /Applications/Sourcetree.app/Contents/MacOS/SourcetreeIdentifier:            com.torusknot.SourceTreeNotMASVersion:               4.1.1 (237)Code Type:             X86-64 (Native)Parent Process:        ??? [1]Responsible:           Sourcetree [9208]User ID:               501Date/Time:             2021-06-16 12:30:58.563 -0400OS Version:            macOS 11.4 (20F71)Report Version:        12Anonymous UUID:        D1F6D388-FE59-1547-31C8-BEF723D91654Time Awake Since Boot: 230000 secondsSystem Integrity Protection: enabledCrashed Thread:        0  Dispatch queue: com.apple.main-threadException Type:        EXC_BAD_ACCESS (SIGSEGV)Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000Exception Note:        EXC_CORPSE_NOTIFYTermination Signal:    Segmentation fault: 11Termination Reason:    Namespace SIGNAL, Code 0xbTerminating Process:   exc handler [9208]VM Regions Near 0:-->     __TEXT                      10bc16000-10bf0e000    [ 3040K] r-x/r-x SM=COW  /Applications/Sourcetree.app/Contents/MacOS/SourcetreeApplication Specific Information:Performing @selector(localOutlineDoubleClick:) from sender STRepoBrowserBookmarkOutlineView 0x7fa54d044600

Any help is greatly appreciated


Answers:
author: hkalan
body: Same here. Using Sourcetree v4.1.2 and macOS Catalina (10.15)


author: jonathanpglick
body: I'm seeing the same thing. It was working fine until last week. Now I can open Sourcetree (v4.1.2) but once I try to open a local git repo it hangs, becomes unresponsive, and I have to force quit.

I'm on macOS Big Sur (11.4) with the Apple M1 chip.

I tried uninstalling and installing the last few versions and it didn't work. Restarting my computer gets it working for a while but I've had to restart multiple times a day now.

comments: author: 757007049
body: I reinstalled the old version, so far there are no problems
Github?????????????????/???URL???????????????
Asked by HirotaYu:

Github?????????????

???????????Github?URL?????????????/???URL???????????????????

????????????????????????????????????????????????????????

???????????![b4ec23a526139a30e019e0ffdede1e98.png](/t5/image/serverpage/image-id/147978iDD2971FF1EAFC0AA/image-size/large?v=v2&px=999 "b4ec23a526139a30e019e0ffdede1e98.png")![db69786ae2d8b11eab7485b70feb4d57.png](/t5/image/serverpage/image-id/147979i1E1FBFC17A5DC351/image-size/large?v=v2&px=999 "db69786ae2d8b11eab7485b70feb4d57.png")![1c9867b32ddcb4a45872e6881b7c0e31.png](/t5/image/serverpage/image-id/147980i3D1C0946B4EEF008/image-size/large?v=v2&px=999 "1c9867b32ddcb4a45872e6881b7c0e31.png")


Answers:
author: Rick Li
body: ?????????????????????????

404??????????????????????????

* ????????github???????????????????
* ????????????????Tools/Options/Network?????????

???????????
I cannot attach file to Confluence
Asked by Do Mai Ngoc Thanh:

Whenever I attach files on Confluence, no matter what types the files are, the system notifies that there is not enough space on the disk. I do not know why, because in the previous time, I can attach files as usual.

Please guide me how to solve this problem. Thank you for your support.


Answers:
author: Brant Schroeder
body: [@Do Mai Ngoc Thanh](/t5/user/viewprofilepage/user-id/5532729) welcome to the Atlassian community

You will need to follow the instructions here: [https://confluence.atlassian.com/confkb/not-enough-space-on-disk-errors-in-confluence-6-5-or-later-when-disk-space-is-available-939501396.html#:\~:text=To%20resolve%20this%20issue%2C%20you,as%20XFS%2C%20JFS%20etc).](https://confluence.atlassian.com/confkb/not-enough-space-on-disk-errors-in-confluence-6-5-or-later-when-disk-space-is-available-939501396.html#:~:text=To%20resolve%20this%20issue%2C%20you,as%20XFS%2C%20JFS%20etc).)

If you are not the system admin you will need to work with them to fix the issue.


Tags: confluence-unknown-hosting-type

unknown-hosting-type
New here. What is the easiest way to find others to communicate with?
Asked by Mana:

New here, i am just wondering how to get in contact with others? best way? I started a Linkedin but im new to that as well.


Answers:
author: Brant Schroeder
body: [@Andrew Glockner](/t5/user/viewprofilepage/user-id/5510845) welcome to the Atlassian community

I would suggest joining one or multiple groups in the community that relate to the applications you use, industry you work in or other interests that you have. You can then read articles, questions and other posts and connect with others by commenting or answering them. You can also post questions that you have on specific topics in those groups.

comments: author: Mana
body: Thank you very much!


Tags: cloud

confluence-cloud
What is the SLA for Standard plans for Atlassian products, i.e. Confluence, Jira & Bitbucket?
Asked by Scott Feeney:

I could easily find the SLAs for Premium and Enterprise, but not for standard. I would like to find out the SLA for the Standard version Atlassian's product suite. Including the URL to reference. TIA


Answers:
author: Vitaly_Berezovsky_SaaSJet
body: Hi [@Scott Feeney](/t5/user/viewprofilepage/user-id/794302)

For Atlassian's Standard plans (Confluence, Jira, Bitbucket), there's no official SLA for uptime. This means if you face repeated performance issues, there aren't any specific guarantees or credits like there are with the Premium or Enterprise plans. I found this info from the Atlassian Community and their SLA documentation. Here's a link with more details:[Atlassian SLA](https://www.atlassian.com/legal/sla).

Hope this helps!

comments: author: Scott Feeney
body: Thanks Vitaly. I've seen that page. Realise those only apply to the Premium and Enterprise, but was hoping some number existed for the Standard tier. We've had no issues, I am just getting some backup and recovery type docs together and need values for them. Have a good day :)


author: Brant Schroeder
body: [@Scott Feeney](/t5/user/viewprofilepage/user-id/794302) I believe this has the information you are looking for, let me know if it does not. <https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html>

comments: author: Scott Feeney
body: Thanks Brant. That has some useful information, more than I could find :), but not quite what I was chasing. Is there a listing of a percentage somewhere please? I see Premium = 99.9% and Enterprise = 99.95%. Was hoping for something similar (lower, obviously) for Standard, that I could work from.


author: Brant Schroeder
body: [@Scott Feeney](/t5/user/viewprofilepage/user-id/794302) Sorry was thinking support and not uptime. I do not believe that they publish anything on standard because there is not a contractual uptime guarantee like there is for premium and enterprise. <https://www.atlassian.com/legal/sla#service-level-commitment>


author: Scott Feeney
body: Thanks [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) . I'd found that one. I appreciate the help trying to find something. Doing a review of all my third party apps and it's been "fun" to say the least, to find suitable documentation. The support page link, that you shared yesterday, may have to suffice. Have a good day/evening :)


Tags: cloud

confluence-cloud

not-applicable

subscriptions-and-billing
Confluence server migration vs restore
Asked by Brad Solomon:

The page [Migrating Confluence between servers](https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html) recommends copying over the entire contents of CONFLUENCE_HOME directory to the new server.

And yet, Confluence also has a seemingly more lightweight process to [Restore a Site](https://confluence.atlassian.com/doc/restore-a-site-152034.html) that consists of restoring from a plain XML backup.

Why is it preferable to use the full CONFLUENCE_HOME for migrating Confluence Server to a new server, versus restoring Confluence using the XML backup on the new server? What are the functional differences between these two approaches? What is the downside of migrating Confluence to a new server using the Restore a Site/XML backup procedure?


Answers:
author: Brad Solomon
body: [@Mirek](/t5/user/viewprofilepage/user-id/781521) we are doing the following:

- Migrating from one Amazon ECS cluster to another, using exact same Confluence Docker image

- Migrating from one database endpoint to another, both RDS using Microsoft SQL Server

Which of the two approaches (XML backup or full migration of CONFLUENCE_HOME) would be the best fit for this?


author: Mirek
body: Hi [@Brad Solomon](/t5/user/viewprofilepage/user-id/4696220)

Using XML backup is loading whole configuration and data into existing database on running Confluence instance that was already installed (if there is some data it would be overwritten). It is primary used to restore instances than move between server but it is good to try it when you want to change databases (e.g from MySQL to PostgreSQL) or migrate from/to Cloud.

When you physically migrate between servers (e.g want to change infrastructure / OS) you migrate first application just by copying files, than database (you need a database backup) since db data is not stored in CONFLUENCE_HOME and other files (e.g attachments if not in HOME). You need to make sure that configuration of the server is identical. If something would be different and you would not change configuration files application might not start or work properly.


Tags: confluence-data-center

data-center
Precedence of Confluence env vars versus confluence.cfg.xml
Asked by Brad Solomon:

When a Confluence Server (running as a Docker container) defines a configuration value as both an environment variable and in confluence.cfg.xml, which takes precedence?

Example:

- ATL_JDBC_URL environment variable is defined

- confluence.cfg.xml defines hibernate.connection.url

Which one will Confluence use? Does Confluence document this?


Answers:
author: Charlie Misonne
body: Hi Brad

I think the environment variables will be used to generate the confluence.cfg.xml on the initial creation of the container. Once created it will keep using the xml file (unless you remove it from the container).

This is my experience from some time ago but I think you should test it to be sure.


Tags: confluence-data-center

data-center
TOC Indexing Error in Exported PDF
Asked by Adem ?ahin:

Hi,

When I export a page, which includes a TOC, as PDF and I click a heading in TOC in the exported PDF, it does not jump into correct place in document. It alwasy jumps to places further ahead in document.

Thanks for help...


Answers:
author: Kristian Klima
body: Hello [@Adem ?ahin](/t5/user/viewprofilepage/user-id/5532589) and welcome to the Community.

I'm experiencing the same behavior when using Adobe Acrobat Reader.

However, it works as expected in Preview on my Mac.

If you're on Windows, perhaps try a different PDF reader. Although it would not solve the issue if you're distributing PDFs....

You may want to look into [Scroll PDF Exporter](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview&hosting=cloud) - it's a Confluence app (it will cost $5 a month on your tier) which will give you a lot of customization options, it produces better PDFs and the links within the PDF actually work.

comments: author: Adem ?ahin
body: Thank you for reply,

It is not very affordable for me.

Maybe I should look for other platforms.


author: Kristian Klima
body: [@Adem ?ahin](/t5/user/viewprofilepage/user-id/5532589)

I understand.


Tags: cloud

confluence-cloud

pdf-export

table-of-contents

toc
Searchable attached PDF content
Asked by Yair Noach:

Hi, I would like to attach a PDF file to an article I am composing, Will the PDF content be searchable? I've found a few articles in this forum however they are from 2013\\17\\18 , feels quite old....


Answers:
author: Kristian Klima
body: Hi [@Yair Noach](/t5/user/viewprofilepage/user-id/3350624) and welcome to the community.

Yes :)

I actually didn't know it was possible but I tested that and it works.

comments: author: Yair Noach
body: Thank you very much for your swift reply. It is with the interface as is? you didn't install any add-on by chance that might provide you with this ability?


author: Kristian Klima
body: No, it works out of the box.

I created a Google doc and put words Bohemian Rhapsody in it. I exported it as a pdf.

Put the PDF on a page.

Searched for 'Bohemian Rhapsody' and the PDF came up in search results as a PDF.

I clicked it, the pdf opened in a new tab.

The page's attachment view was displayed showing me the actual PDF file.

If it works for you, consider accepting the answer :)


author: Yair Noach
body: Yep, did the same test (with another song :) )and it works , great , thank you very much for your help.


author: Kristian Klima
body: Glad it works!

And I learned something new today :D


Tags: cloud

confluence-cloud

pdf

searchable
Some images do not show up after publishing new changes on a page
Asked by J Conners:

Some svg and screeshot images are not showing up after publishing new changed on a page. when I reopend the page to edit, the image is there. but when I click publish, the image does not display, only its caption.

Thoughts?


Answers:
author: Rilwan Ahmed
body: Hi [@J Conners](/t5/user/viewprofilepage/user-id/4973258) ,

Similar discussion in <https://community.atlassian.com/t5/Confluence-questions/Confluence-does-not-retain-use-uploaded-SVG-images/qaq-p/1418344>


Tags: cloud

confluence-cloud
AI Summarize Meeting Notes from previous week
Asked by Sean Kubin:

Is it possible to have an emailed AI Summary of all pages which contain "meeting notes" in the title *and* that were created in the past week?

For example, I have tried the following rule (without any success):

![SCR-20240629-izdy.png](/t5/image/serverpage/image-id/332572iAB407E4125A66C1B/image-size/large?v=v2&px=999 "SCR-20240629-izdy.png")


Answers:
author: Shawn Doyle - ReleaseTEAM
body: What does it do? I would add logging between each step to see which one is not behaving as expected, and see if that can narrow down what needs to be tweaked.

comments: author: Sean Kubin
body: Thanks for the logging suggestion. I think the issue I didn't have have any pages to compare. Also, I may be misunderstanding the syntax perhaps.

I've added two logs, the first finds 6 pages but the second just logs "Page is " (blank)

![SCR-20240702-iftk-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/333027iA41900B5D470CB0E/image-size/large?v=v2&px=999 "SCR-20240702-iftk-2.png")


Tags: ai

cloud

confluence-cloud

email
Failed cluster upgrade from 7.19.4 to 8.5.11
Asked by a_abdelrahman_space_gov_ae:

Dear all,

We were trying to upgrade 2-node cluster from 7.19 to 8.5.11. However, after completing the upgrade, the application is not openning on both nodes and showing the error message:

BootstrapException: Unable to bootstrap application: Exception bootstrapping cluster:Cannot perform rolling upgrade from 7.19.4 to this version (8.5.11). This version of Confluence can only be rolling-upgraded from a cluster running a version between 8.4.0 and 8.5.11.

Please note that we were planning initially an upgrade without down time, so we have enabled rolling upgrade on the cluster, but since the upgrade from 7.19 to 8.5 requires down time, we continued with the upgrade instructions on this page <https://confluence.atlassian.com/doc/upgrading-confluence-data-center-1507377.html>. However, rolling upgrade was not disabled prior to this activity.

can we now fix this error, or do we need to reinstall the original version?? Please advise as i don't have extensive experience in this product.


Answers:
author: Rilwan Ahmed
body: Dear [@a_abdelrahman_space_gov_ae](/t5/user/viewprofilepage/user-id/5532077) ,

Welcome to the community !!

Now that you have completed the upgrade process, I suggest to stop confluence in all instances and start confluence only in one node and see if it works. If not, I suggest you to contact Atlassian support directly for the solution in <https://support.atlassian.com/contact/#/>


Tags: confluence-data-center