youngmon/atlassian-qna huggingface dataset:
How to query Crucible code review data
Asked by Sharad Bajracharya:

Hi,

I am evaluating Crucible for peer code review option. I am looking for option to query Crucible data for metrics and reporting. I need to know how many code reviews are done in certain time frame with how many defects or comments.

Is there any way to query Crucible data and generate report? I did see basic reporting in Crucible which does not display the condition that I need.

Thanks,

Sharad


Answers:
author: John Werner
body: Crucible makes a lot of data available through its [REST API](https://developer.atlassian.com/display/FECRUDEV/REST+API+Guide). You might want to check if it has what you are looking for.

[Crucible Excel Dump](http://code.google.com/p/crucible-excel-dump/wiki/InstallationAndUsage) is a C# tool that was written by one of the contributors to this site who was nice enough to make the code available. It uses the REST API to export information to Excel. If nothing else, it will show you how to access the API.

comments: author: chandraprabha hegde
body: Is this tool still available? The link seems to be broken. I am need of an excel export tool for crucible review with review comments, file names and line numbers included.


author: Avdhesh Chauhan
body: We use MS SQL DB - for the same reason we devloped some simple Crystal report - its simple to configure and we get all the information as required
Why is it I have to specify Remote Account every time?
Asked by GreenCastleB:

Both in repositories created by myself and by others, when I open up SourceTree I see the exclamation mark by "Remote" and I can't access anything.

![Capture.PNG](/t5/image/serverpage/image-id/91754i9CAA9BA64965079A/image-size/large?v=v2&px=999 "Capture.PNG")

I have to go into Settings and Edit for the repository and re-select my Bitbucket account. Every time the program opens it defaults back to Generic Account.

![Capture2.PNG](/t5/image/serverpage/image-id/91755i49D9B63469752A81/image-dimensions/338x241?v=v2 "Capture2.PNG")

![2020-04-22.png](/t5/image/serverpage/image-id/91756iA85E8E11A8DF2E30/image-dimensions/339x238?v=v2 "2020-04-22.png")

This seems like something SourceTree ought to remember between uses. Am I doing something wrong?


Answers:
author: Dmitry
body: I installed version 3.3.6 and then reinstalled v.3.3.9, after that this problem disappeared.
Prevent whitespace changes to repo
Asked by mythicalcity:

Is there a way to ignore whitespace changes in sourcetree? I don't mean in the diff view but in the actual unstaged files, so we don't commit those into the repo. For some reason these show up when there have been no whitespace changes made. Could be from opening the project in a different OS like Mac (but reopening it in windows shows no changes).


Answers:
author: Pawe? Gumiela
body: [@mythicalcity](/t5/user/viewprofilepage/user-id/821995)

Late to the party, but you can try to Stage All and then Unstage All files. Once done, all the whitespace changes should be removed from Unstaged files.
When authenticating with my bitbucket account, it does not take the next step.
Asked by S4Lsalsoft:

```
When installing SourceTree, he asks you to Authenticate with a Bitbucket account, well, I authenticate without problems, but when doing it, the Installation returns to where it was and does nothing.


That is, when I finish authenticating with my Bitbucket account, it returns me to where I was previously and does not continue to the next step.

```

```
As you can see in the image, I already authenticated, but it returns me to the same step:
```

```




![a1.png](/t5/image/serverpage/image-id/91675iCBF2E5A8D892CB49/image-size/large?v=v2&px=999 "a1.png")
```


Answers:
author: marco_virtualis
body: Just solved/worked around.

i've tried to install Sourcetree 3.3.8 on Win7: same problem! It seems that Sourcetree 3.3.8 requires .net vers 4.x and Win7 doesn't support it.

So i picked up Sourcetree 3.0.17 from <https://www.sourcetreeapp.com/download-archives> and installed it correctly.

comments: author: ???????_?????
body: Thank you, Marco! it works for my windows7 either!

Have u updated ur Sourctree after installing?
Sourcetree manuals?
Asked by mikkeland:

Hello,

Are there any Sourcetree manuals available e.g. in pdf format?

I have tried to find them using Google but nothing found.

Thank you,

Michael


Answers:
author: Daniel Ebers
body: Hi Michael,

welcome to the Community!

I was not able to find a PDF - but there is documentation on Atlassian page:

<https://support.atlassian.com/sourcetree/>

I'd give it a try - maybe this answers some questions.

Cheers,  
Daniel


Tags: manual
SourceTree doesn't start after splash
Asked by daphne_g:

Hello,

I am running Windows 10. I installed SourceTree months ago and it was working fine (the index had to be manually refreshed but nevertheless it was working).

Then one day, it stopped working.

What I have tried :

- Deleting AppData/Local/SourceTree, uninstalling and installing (v.3.3.8) again. I get the splashcreen and a progress bar icon in the launcher but then it disappears and nothing happens. I don't even have the install wizard.

- Adding the "AutomaticallyCleanupDictionaryFiles" setting in AppData/Local/SourceTree/app-3.3.8/SourceTree.exe.config

- Running .exe as administrator

- Launching CCleaner

- Rebooting between uninstall and install

- Installing an older version (3.2.6)

I do not have an AppData/Local/Atlassian folder, there is nothing related in AppData/Roaming either. Only the AppData/Local/SourceTree folder. I don't have a sourcetree.log file either.

I am out of ideas to fix this, I have looked at many threads on this forum and cannot find a solution. Please help. (I'm not a noob, i'm a software engineer, i've used ST for years on Mac, i swear ;) )


Answers:
author: Bradley Pennington
body: I have the same thing, how can this happen so many times in the past with new versions as well... This issue dates back to many versions before the latest version. Now I cannot continue my work :S
Source Tree Do not start on my windows 10
Asked by mbilal:

I have updated this version of windows last night, now my source tree is not opening window after installation.![window os.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/91054i674D5296DEAA51C7/image-size/large?v=v2&px=999 "window os.PNG")


Answers:
author: School-learner
body: It's been a few months since you posted this. Is this issue solved or do you still have problems?


Tags: windows
Question on pop up message
Asked by School-learner:

I'm forced to use source instead of github desktop because of vs studio. Now after installing and knowing how to create an empty repository, I get this message. I'm unsure if letting you know i'm using windows / macintosh makes any difference.

Please have the courtesy to provide as much information as possible. More importantly, is it compulsory for me to download / select anything.

Please ask me for more information if that can influence the selection below.

![Credential selector helper.JPG](/t5/image/serverpage/image-id/90910i42EBDA01882449E7/image-size/large?v=v2&px=999 "Credential selector helper.JPG")


Answers:
author: School-learner
body: Issue solved by another user.
Credential selector helper
Asked by School-learner:

I've just downloaded the source tree and everytime I create a new repository, I get this pop up message. I checked the internet and I got other variants but not this specific pop up message. Any idea what this might be?

![Credential selector helper.JPG](/t5/image/serverpage/image-id/91056i5F633D65BC4CD576/image-size/large?v=v2&px=999 "Credential selector helper.JPG")


Answers:
author: DTech
body: Open Windows Powershell (Admin) from the Start Button context menu:

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

If it's not there, search for Windows PowerShell, click the \> arrow and select Run as Administrator:

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

Run the following commands (**in bold**) excluding the #comments:

#Navigate to the SourceTree LocalAppData folder

**cd $env:LOCALAPPDATA\\Atlassian\\SourceTree\\git_local\\mingw32\\bin\\**

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

#Run git.exe to edit the config file

**./git.exe config --edit --system**

**![powershell_mFOqHMHJEC.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/108355i4F2E945EA5649B49/image-size/large?v=v2&px=999 "powershell_mFOqHMHJEC.jpg")**

#This open a VI text editor

#Press the letter "I" on your keyboard to enter INSERT mode

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

#Update \[credential\] helper in the config file as shown in the screenshot above or below.

**\[credential\]**   
**helper = manager**

#Press the "Esc" key on your keyboard until INSERT mode exits, then type **:wq** and press Enter. This "writes and quits" the VI Editor.

**:wq**

![powershell_MX6nx0h1yE.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/108356i5E2BE1EF8773107D/image-size/large?v=v2&px=999 "powershell_MX6nx0h1yE.jpg")

comments: author: Monique Boea
body: These are not clear instructions. How do we edit the credential helper?


author: DTech
body: I updated the instructions. Hope it helps.

Thanks


author: Arbault
body: Got the same popup every 15 minutes. Do you solve your problem?

comments: author: School-learner
body: Update: I'm not sure why I'm suddenly getting e-mails from this website when this should have been solved ages ago. As far as I'm concerned, I already got help from other youtube websites and I'm able to use sourcetree now. However, the instructions in this atlassian is really so badly outdated or only suited for macintosh users.
How to change options in credential helper.
Asked by Tokala__Chandu__LNG-CON_:

1) IN credential helper i have selected "\<no helper\>".

2) Now i want to change that option to manager.

3) Can anyone please help me on this how to update.


Answers:
author: School-learner
body: I just opened another question and I believe it's the sameas yours. Could you paste a screenshot so I can check if it's the same thing?

comments: author: Tokala__Chandu__LNG-CON_
body: Thanks for the response, I have got the solution.


author: School-learner
body: Are you ok if I ask for the solution? Do you mind sharing it?


author: Tokala__Chandu__LNG-CON_
body: Yes i will share it. PFB steps

1) Wipe Source tree preferences.

2) Uninstall Source tree if it shows on the apps and features.

3) Backup then delete the directory below before proceeding with next step

i) Navigate to C://Users/\<UserName\>/appdata/local, now delete sourcetree folders.

II) Navigate to C://Users/\<UserName\>/appdata/atlassian, Now delete all source tree files and folders

4)Now re-install again


author: School-learner
body: Hi Tokala,

Thanks. I'm at a stage where I'm learning to use github desktop. Out of curiosity and without sounding unpleasant, I only know how to add my repository from my computer to sourcetree. I haven't yet found how to add them to gihub.com. Would you happen to know this portion? I checked the internet and found something called custom actions which I belive must be done by every user to set the commands correctly. If you happen to know how to send the entire repository to github.com, I would be very grateful if you are willing to share it. If it does involve the custom commands, you may just mention that portion as I think I found the steps to add the commands.


Tags: atl-gruland
Field with Multiple Conditions
Asked by Barry Smyth:

Can I have multiple conditions on a field. For example

CONDITION 01

if the field is empty change the value to "No".

CONDITION 02

Only allow certain users to change the value to "YES" For this condition what would the code be?

```
hasChanged(FIELD):true AND FIELD:2 AND USER = 01 OR USER = 02 etc.
```

Do I put the conditions in their own rule (ie two rule fields) or do I have to set both conditions in the same rule separated by a ; or something?


Answers:
author: Ben Finn
body: If you do it during a transition then you can use workflow conditions and a post function . I would set up a group and add users to that group, then use the User is in Group Condition.

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

Otherwise, you will need to use automation let me know and I can provide more details.

comments: author: Ben Finn
body: I just noticed you posted this in Confluence. Could you give some more details about the field changes you are talking about.


author: Barry Smyth
body: Creating a group is out of the question, there's so much red-tape around that internally that it would take weeks to setup assuming it got approved.

The first condition is easy, I already have it as a rule on the field. Basically it tests if the field is empty and is so defaults to a chosen value. So no issues there.

The 2nd condition needs some thought. It needs to be something like

Field change = True AND

Field Value !=01 (i.e. not equal to the first field value) AND

USER_ID = 123456 OR 234567 OR (etc.)

In other words the condition means only certain people are allowed to change the value of the field to anything other than 01


author: Barry Smyth
body: So I think this is the condition I need to put but it would be good if someone can verify.

hasChanged(FIELD):true AND !FIELD:\[01\] AND \[entry._user\]:123456 OR \[entry._user\]:654321

the condition means that only the two specified users can change the field to anything other than 01. Meanwhile everyone else can change it to 01.


Tags: cloud

confluence-cloud
Handy status macro resetting when editing
Asked by Fredrik Josefsson:

Hello!

I am using the handy status macro for some confluence pages in atlassian cloud. Until today they worked fine, but now there is a problem. Whenever the page is being edited, the status macro resets to the original value.

For example, if the original value was TBC, and the value is changed to OK. If the page is then edited, the status resets to TBC. Again, this did not happen until this morning, and it rather defeats the purpose of the handy macro if you need to change it in edit mode.


Answers:
author: Stiltsoft Support
body: Hello [@Fredrik Josefsson](/t5/user/viewprofilepage/user-id/5495643)

We appreciate your usage of our [Handy Status](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=status_error) macro. The issue you've faced is unknown. The expected behavior of Handy Status supposes that the user can change its value regardless of the page mode.  
If the issue persists in your environment, we kindly ask you to [raise a request](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Handy%20Macros%20for%20Confluence) with our support.


Tags: cloud

confluence-cloud
how to enable plugin on confluence
Asked by x2y:

???8.8.1?????????????????????????

???????confluence???????????????jira?????????????confluence????????????????


Answers:
author: Ollie Guan
body: Hi [@x2y](/t5/user/viewprofilepage/user-id/5495429) ,

Load custom plugins from your Confluence file system or Re-enable the UI upload button and API.

<https://confluence.atlassian.com/conf85/managing-system-and-marketplace-apps-1283360882.html>


Tags: ??-????

????
How to avoid confluence page titles in Scroll word export output
Asked by Meera.Amanullah:

Hi,

I am using the Scroll word export app for generating my confluence pages as a word file. I want the following change to be made to the template:

1. How to avoid confluence page titles in the exported file.

2. Want to repeat table headers when flows from one page to other.

Any help will be much appreciated.

I am using Confluence Data Server.

Also, I am not able to see the options in the bundled template as shown in their product documentation. Any advise on this, will also be helpful.

Than you


Answers:
author: Humashankar VJ
body: Hi [@Meera.Amanullah](/t5/user/viewprofilepage/user-id/5198768)

Kindly install - Scroll Exporter Extensions app, then  
select "Set Scroll Page Title" from the page tools ...  
Then export and it will override the default Confluence page title

**Hope this helps - Happy to help further!!**   
**Thank you very much and have a great one!**   
**Warm regards**

comments: author: Meera.Amanullah
body: Hi [@Humashankar VJ](/t5/user/viewprofilepage/user-id/5409474) ,

Thanks for the reply.

I am aware of the "Set Scroll Page Title" feature, but that's not my requirement. My requirement is to avoid the Confluence page title entirely from the pdf export alone.

Use case is: I have a table immediately after the page title, which repeats the Page title along with several other texts like date, issue numbers etc (This table is a part of our template for the document). When exported it looks like we have the title repeated twice (once from page title and other from the template table), which I want to avoid. I was able to execute the requirement in Confluence in-built pdf exporter by making changes to the CSS. I want to do the same with Scroll word export, if there is any possibility.

Thank you.


author: Humashankar VJ
body: Thanks for adding more information, let me try to find other possibilities for this one

**Regards**


Tags: confluence-data-center

data-center
Can't figure out how to alphabetize sidebar menu?
Asked by Michael Moore:

I know where the setting is for alphabetizing pages in Space Settings, but it doesn't seem to have any effect on the sidebar order. It's almost like there should be an 'Apply' button, but there is none to be found.

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


Answers:
author: Shawn Doyle - ReleaseTEAM
body: If you click on the funny down arrow icon thingamabob, I'm sure there is a better name for that, however, this will allow you to sort the left-hand content menu.

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

Unless you are looking to do this for all users, then I'm afraid you can't as this seems to be user configured.


Tags: cloud

confluence-cloud
Put Content Update Giving 415 Error
Asked by JERREN EVERY:

Hello, I am trying to do something similar compared to the link below. <https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html>

I have uploaded the Image via the post call.

I have retrieved the page info as it exists and appropriately automated the update of version number and inclusion of the reference to the image.

When I try to update the content of the page via the Put call I get a 415 error. I am confused as to what this endpoint expects as far as receiving this content. I have tried multiple things without luck.


Answers:
author: Shawn Doyle - ReleaseTEAM
body: 415 is an Unsupported Media Type.

If you can include your code here, we may be able to troubleshoot with you.


Tags: cloud

confluence-cloud
JIRA/Confluence issue "Received the following HTTP error code from the server:504"
Asked by Moi Mah:

Hi everyone,

I'm running an on premise JIRA Confluence solution that are used for documentation, Change and more.

Don't laugh at me cause I'm inheriting this infrastructure.

I'm running a Confluence version 6.15.4 and a JIRA version Jira v8.4.1

Since my beloved CISO asked me to switch it from HTTP to HTTPS, I'm having this message even if I tried to change on macros to get ride of this message.

Current addresses and they run on the same server/IP:

<https://Confluence.intranet.local:8444/>

<https://jira.intranet.local:8443/>

My company doesn't want to invest and move to the Cloud version and asks me to fix this issue.

The only fix that doesn't suits the CISO, is a rollback to the HTTP.

I tried to find the thread that can help me, but didn't find any. That's why I've decided to ask any help from a **Superman** who can you help me fixing this issue?

Really appreciate if so.

Thanks

Moi![Screenshot 2024-05-10 152743.png](https://community.atlassian.com/t5/image/serverpage/image-id/323078i1AB1F639A921C313/image-size/large?v=v2&px=999 "Screenshot 2024-05-10 152743.png")


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Look at [@Kristin Lyons](/t5/user/viewprofilepage/user-id/1032864) answer on this thread <https://community.atlassian.com/t5/Confluence-questions/Need-to-switch-from-http-to-https-for-jira-service-on-data/qaq-p/2488979>


Tags: confluence-data-center

data-center

jira
Is it possible to authorize an app using OAuth 2.0 with admin key?
Asked by Gabriel Sanches:

Hello,  

I'm trying to authorize my user using OAuth 2.0 with my app, the objective is to access private documents in Confluence, since I'm a administrator.  

<https://support.atlassian.com/confluence-cloud/docs/bypass-access-restrictions-on-a-page-with-admin-key/#Use-admin-key-to-access-a-restricted-page>  

I can do it on the UI, but couldn't find a way to access private document through pages API. Is it possible to authorize the app during OAuth 2.0 flow with administrator permissions?


Answers:
author: Humashankar VJ
body: Hi [@Gabriel Sanches](/t5/user/viewprofilepage/user-id/5494423)

Even with the "ADMIN" scope in OAuth, the app's permissions are ultimately regulated by the user's own permissions on Confluence.

An app cannot succeed to the full admin capabilities of a user through OAuth.

As OAuth 2.0 is designed for secure, user-controlled access.

Granting admin permissions directly through the authorization flow would avoid this security model

More information can be found out here - [Confluence OAuth 2.0 provider API (atlassian.com)](https://developer.atlassian.com/server/confluence/confluence-oauth2-provider-api/)

**Hope this helps - Happy to help further!!**   
**Thank you very much and have a great one!**   
**Warm regards**


Tags: administration

cloud

confluence-cloud

oauth
Support doesn't reply
Asked by Vivant Admin:

Hello,

We have an urgent request, but Atlassian support doesn't reply. How can we push the support to take a look?

The ticket MOVE-1751896

Regards, Sergey


Answers:
author: Andy Heinzer
body: Hi [@Vivant Admin](/t5/user/viewprofilepage/user-id/5494458)

I can see that support ticket has been updated already. Our support team has responded within the response time frame laid out in our [support offerings](https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html). If you need more urgent help, the customer portal typically has an escalation link you can click in order to raise the urgency of your request.

comments: author: Vivant Admin
body: Hello, Andy,

Thank you for your answer. We also have another ticket (under my colleague's account)

[CA-2955521](https://support.atlassian.com/requests/CA-2955521)

It's ignored since May 3rd and there is no escalation link.


author: Andy Heinzer
body: [@Vivant Admin](/t5/user/viewprofilepage/user-id/5494458) Sorry for the delay. I reached out to my customer advocate team, and someone as responded to that request today. Unfortunately, that team has been under a higher than expected load recently.


author: Vivant Admin
body: Hello, Andy,

The team has reached us, thank you for your help!


Tags: atl-rvw

cloud

confluence-cloud