youngmon/atlassian-qna huggingface dataset:
How to build charts for Assets data
Asked by Graham Moore:

I'm trying to build some fairly simple charts in Analytics, but I am really struggling to understand the correct way to get the data I want.

I've limited our data source in Analytics to a particular schema (just to simplify things for now), called 'End User Device'. Within that schema we have 6 object types:

![2023-08-24 10 38 31.png](/t5/image/serverpage/image-id/276971i0F0A1B098B837066/image-size/large?v=v2&px=999 "2023-08-24 10 38 31.png")

*\*Devices \& Application are abstract*

In my example chart, I am trying to display all of the Apple devices by status. I am successfully able to build a chart to *count* the number of Apple devices, but I have no idea how I'm supposed to then be able to separate the devices by status (we have a 'Status' attribute in the Apple object type).

The schema in Analytics doesn't specifically list all the attributes within an object type, so I suspect I somehow have to build a join to tell it that I want to grab the status from the Apple devices and use that to build the chart - but that's the point I'm stuck at trying to figure out.

I've watched the demo videos, but they are more focused on Issues in JSM than Assets, and the Assets schema is quite different. Does anyone have some suggestions or material I can use to figure this out please?

The OOTB Assets dashboard does not work for me either (so reverse engineering that hasn't been successful) - I can filter the schema and object, but when I try to filter by attribute nothing appears in the filter drop down.

![2023-08-24 10 39 15.png](/t5/image/serverpage/image-id/276972iED8B183CC9A55E05/image-size/large?v=v2&px=999 "2023-08-24 10 39 15.png")


Answers:
author: Jessie Turpin
body: Hi Graham! The third example (the number of objects with a particular attribute) in this [Knowledge Base article](https://confluence.atlassian.com/analyticskb/example-queries-for-assets-data-1155154591.html) should be able to help you adjust your query. Step 2b in the article will be where you add in a filter on your specific 'Status' attribute to help you get a count of Apple devices per status.   

I hope this helps, but let us know if you have any other questions!
How to plot Sprint Story points committed by Sprint Name and Fix Version
Asked by Shraddha:

Hi ,

I have been trying to plot Story Points committed and completed in a sprint by sprint Name and Fix version but no luck in mapping the data as i want.

Here is what i am looking for

Y axis is the Sprint Name, the transposed rows are fix versions and the data points are story points completed and committed.

![Screen Shot 2023-08-28 at 12.39.29 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/277452i36E043F2C3B834CB/image-size/large?v=v2&px=999 "Screen Shot 2023-08-28 at 12.39.29 AM.png")

I tried something on similar lines but doesnt seem to get me the data as needed

![Screen Shot 2023-08-28 at 12.49.02 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/277454i17A02F7B80A47FB9/image-size/large?v=v2&px=999 "Screen Shot 2023-08-28 at 12.49.02 AM.png")

![Screen Shot 2023-08-28 at 12.49.38 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/277455i4CF17BAE4C8CF635/image-size/large?v=v2&px=999 "Screen Shot 2023-08-28 at 12.49.38 AM.png")

The data doesnt match and i am not seeing the correct sprint names like 'WebExt - Sprint 45 ' is missing since the story points are Null which is not true as per the original table.

Any guidance is helpful. Thanks


Answers:
author: Matthew Lempitsky
body: Hi Shraddha,  

Some of this missing Sprint data may be attributed to the ongoing [incident affecting the Atlassian Data Lake.](https://analytics.status.atlassian.com/)  

If you are suspecting you are experiencing data discrepancy issues, please open a support ticket [here](https://support.atlassian.com/contact/#/) and set the affected product to 'Atlassian Analytics.'  

With regards to your approach, it looks like you're on the right track and we'd be happy to assist you further on the aforementioned support ticket.
Has anyone found the Worklog table
Asked by Elmer Hahn:

What we are looking to do is pull the worklog table out of a ticket and then list out  

* total time spent = 1 hour
* worklog author a spent 10 min
* worklog author b spent 30 min
* worklog author c spent 20 min

I know I can find the total time spent but its not easy to break it down by who added time to the table.


Answers:
author: Inder Singh
body: [@Elmer Hahn](/t5/user/viewprofilepage/user-id/4624648) : Worklog data is not currently available. You can follow this ticket (and upvote it too) to get updates on when it will be available - <https://jira.atlassian.com/browse/ANALYTICS-22>. This ticket also mentions a possible workaround.

Thanks!

comments: author: Elmer Hahn
body: Followed and upvoted / shared around. This is currently one if not The one thing preventing my whole Org from fully embracing Atlassian Analytics. So much so we are custom coding solutions to rip this data out of tickets and build it into another datalake service.
Adding Site filter to the Organization Overview dashboard
Asked by Diana G:

Hi All! I'm new to the Atlassian Analytics. I created Dashboard using "Jira Software - Organization overview". I have 2 sites. How do I add a filter by site?


Answers:
author: Abraham Musalem
body: Hey Diana,

Thanks for reaching out to Community.

You can do this by doing the following:

1. Inside of the dashboard, click on "Control" on the right pane.
2. Then, hit "dropdown" button.
3. In the "add dropdown control", set a name for the dropdown and pick your Data Source.
4. In the "Column" field, type in "URL", and scroll down to the Workspace URL and click on the "url" field.
5. Click "Add".
6. Drop the filter down and you'll see that you'll be able to filter by the URL of whatever sites you have.

Hope this helps!   
Abraham, Analytics support
Is there a way to show the current fix version in Atlassian Analytics?
Asked by Alp Erguney:

I'm getting a list of JIRA issues within a specific fix version using Atlassian Analytics, however it is also showing me an issue that was in that fix version 3 days ago. It no longer has any fix version associated with it. I only want to show the issues that currently have that fix version associated with them, not previously.

Details:

Using the dataset "Project Fix Version \> Name"

Filter is set to : Name = "My Fix Version"

That JIRA issue shows up in "My Fix Version".

1. Added a table with Project to diagnose it
2. Checked both Issue Fix Version Mapping and Project Fix Version datasets' Row Refreshed field
3. They were refreshed 3 minutes and approx 7 hours after the JIRA issue was removed from the Fix Version respectively.

I am not sure if I'm checking the right datasets/fields, any help would be appreciated.


Answers:
author: Tracy Chow
body: Hi Alp,

From what you described this seems to be related to this bug - <https://jira.atlassian.com/browse/ANALYTICS-66>, where even after a fix version is disassociated from a Jira issue, the record still shows up in the jira_issue_fix_version_mapping table.

I recommend voting and watching the ticket to stay informed on when a fix will be available.

Apologies for the inconvenience!

comments: author: Alp Erguney
body: Thanks [@Tracy Chow](/t5/user/viewprofilepage/user-id/4461730) . It doesn't have many votes but the accuracy of this is really essential. I hope it will get resolved soon.
Total white commit section
Asked by Davide Di Figlia:

Hello every1.

I have encountered an issue with my SourceTree Application.

There is a total white page in the commit section except for branches and tag labels, and latest branch (remotes and local) versions.

Here is a screenshot:

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

I have removed sensitive information from the stamp, but you should still be able to understand the problem

I'm using GitLab CE as code history manager.

Could you help?

Thanks


Answers:
author: Davide Di Figlia
body: Added;

I've found a workaround by switching the light theme to dark theme.

Thanks.


author: Paolo Olocco
body: I've open a ticket <https://jira.atlassian.com/browse/SRCTREEWIN-14484>


author: ngeiger
body: Same issue here, ever since updating from Windows versions 3.4.16 to 3.4.18 last week. Neither reverting back to an earlier version nor deleting user preference files has worked. As also reported by OP, dark theme works fine.

comments: author: Davide Di Figlia
body: Hi  
I'm glad to hear that i'm not alone :)  

By the way it's kinda frustrating beacuse dark theme doesn't work very well :/
Red Exclamation on Remote Icon in Sourcetree
Asked by SETH:

Hey, Seth here.

Everything seems normal unless there is the red exclamation mark on Remote icon at the top right. I've tried most of the methods I found online, eg. copy and paste the origin path but they didn't work. Can anyone tell me how to fix it? Is it something I have to worry or it was just a bug? (PS: I'm using Sourcetree in 3.4.9 version)


Answers:
author: Nicolas Grossi
body: [@SETH](/t5/user/viewprofilepage/user-id/5525136) That tooltip should have a message too, do you have it ?

Nicolas

comments: author: SETH
body: I pushed my commits into the branch called "dev" but right after my commits have been pushed, my laptop froze and got shutdown.

After that, I booted my laptop, opening Sourcetree and there was an error message said

"fatal: bad object refs/remotes/origin/dev".

I fixed it (I guess?) by deleting my project's folder in my laptop and re-clone it. That's the whole story.  

Seth


author: Nicolas Grossi
body: [@SETH](/t5/user/viewprofilepage/user-id/5525136) Welcome! Could you please paste an image of your error ?

Nicolas

comments: author: SETH
body: Hi, Nicolas.

I left my laptop at my office but here is the picture I took with my phone.

Tell me if you need more information or anything.

![IMG_1739.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/330906iFFAE5EE2A6E9A3D8/image-size/large?v=v2&px=999 "IMG_1739.jpeg")
Oauth Issues on Windows
Asked by Manuel Graf:

so ever since last week, I can not push or pull to bitbucket cloud anymore.  

We have a paid plan, and I log in via browser atlassian ID/MFA with a hardware token.  

But still, every time i try to push or pull after a fw seconds I get this error  

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

After that, its usually asking me about basic credentials. If In put in either my account password or app password, i get the error **'invalid credentials'**

I am using the latest version of sourcetree for windows and when i authenticate via oauth it takes forever, but in the end it states "Authentication OK", but the issue persists.  

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

<br />

<br />

I also tried some other things I read here in Forums, like deleting all my bitbucket entries from windows credential manager:  

<br />

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

But to no avail. Any Ideas which steps I can try? Right now I basically can not interact with our repos from windows at all.


Answers:
author: Manuel Graf
body: ok I resolved the issue. Updating Windows and restarting did the trick this time.


Tags: bitbucket

bitbucket-cloud

cloud
Invalid Credentials When trying to Clone Repository
Asked by JimWoodworker:

I am having issues with cloning repository onto a new work laptop I am setting up.

On the remote tab it sees all the remote repositories available to me on BitBucket.org website for our companies Bit Bucket Workspace as seen in the picture below.

![SourceTree Remote Repo Tab.png](https://community.atlassian.com/t5/image/serverpage/image-id/329806iDB145AEFEB093120/image-size/large?v=v2&px=999 "SourceTree Remote Repo Tab.png")

However when I right click on MtrCtrl2024 repository and select Clone... I get this error message:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote <https://JimWoodworker@bitbucket.org/kineticupstream/mtrctrl2024.git> Output: Error: remote: Invalid credentials fatal: Authentication failed for '<https://bitbucket.org/kineticupstream/mtrctrl2024.git/>'

![Authentication Invalid pop-up box.png](https://community.atlassian.com/t5/image/serverpage/image-id/329807iFB72FE091423909F/image-size/large?v=v2&px=999 "Authentication Invalid pop-up box.png")

What's up with this? I do not get how my authentication credentials are good enough to see the list of all repositories on our companies Bit Bucket Work Spaces (which I am an administrator of), but it throws an Invalid Credentials message when I try to clone the repository on the new laptop. It has been cloned for some time on the old work laptop.


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@JimWoodworker](/t5/user/viewprofilepage/user-id/2150656) , Welcome to the Atlassian Community!

The use of the Atlassian account password for cloning, and interacting with a local repo over https was deprecated as shown in this Community question.

<https://community.atlassian.com/t5/Bitbucket-questions/Authentication-Failed-cant-access-own-bitbucket-repo-due-to-quot/qaq-p/2427770>

You can set up an app password and connect over https with that and your Bitbucket username. <https://community.atlassian.com/t5/Bitbucket-questions/Authentication-Failed-cant-access-own-bitbucket-repo-due-to-quot/qaq-p/2427770>


Tags: credential

invalid
Your git username is inconsistent with GitLab account name (while Pushing from Local To Remote)
Asked by Manish Shivananda Reddy:

Hi Here,

I am having an issue while pushing the folder/file changes from local machine to GitLab using source tree. Please find the below error.

remote: GitLab: Your git username is inconsistent with GitLab account name

I tried checking my username both in GitLab and sourcetree settings. It looked fine.

Thanks in Advance.


Answers:
author: Shawn Doyle - ReleaseTEAM
body: compare them both to the results of this command.

git config -l

This will return your username and email. Be sure they are the same for GitLab and Sourcetree.

comments: author: Manish Shivananda Reddy
body: [@Shawn Doyle - ReleaseTEAM](/t5/user/viewprofilepage/user-id/815120) I tried running the command as per your suggestion.

Later, I changed my username by using the below command.

git config --local user.name "\[myusername\]"

Now, I am facing the below error:

remote: GitLab: Your git username is inconsistent with GitLab account name


author: Shawn Doyle - ReleaseTEAM
body: so it wasn't consistent? and then you changed it to be consistent?

Verify what your GitLab username is.

Retrieving your GitLab User ID **from your user "Edit Profile" page** . **The numeric value listed under "Main Settings" \> "User ID" is your user ID** . You may also choose to change/update your GitLab user ID from here.


author: Manish Shivananda Reddy
body: [@Shawn Doyle - ReleaseTEAM](/t5/user/viewprofilepage/user-id/815120) : Yes I changed my username from the command and tried to keep it consistent.

I tried checking my GitLab "User ID" as per your suggestion. It's numeric and non-editable, whereas my username is alphanumeric.

Are you suggesting to change my GitLab "User ID" as per my username?


author: Shawn Doyle - ReleaseTEAM
body: I would change the userid your Sourcetree is using for GitLab to match what GitLab is showing you.


author: Manish Shivananda Reddy
body: [@Shawn Doyle - ReleaseTEAM](/t5/user/viewprofilepage/user-id/815120) Still, No Luck! I tried to changed the userid in SourceTree to match with the GitLab.


author: Shawn Doyle - ReleaseTEAM
body: keep working on making sure all usernames are the same.


Tags: cloud

gitlab
source tree cannot update lts
Asked by Anna Goodluck:

**I cannot dowload the content in SOurceTree**

**(The history is not updating)**

**Here is what happens:**

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks lfs pull  
Error updating the Git index:

Errors logged to 'C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs\\logs\\20240602T022110.1823499.log'.  
Use \`git lfs logs last\` to view the log.

Completed successfully.

in log file

git-lfs/3.3.0 (GitHub; windows amd64; go 1.19.3; git 77deabdf)  
git version 2.41.0.windows.3

$ git-lfs pull  
Error updating the Git index:

<br />

exit status 128

Current time in UTC:  
2024-06-01 17:21:10

Environment:  
LocalWorkingDir=C:\\Users\\USER\\Documents\\i-am-future-lfs  
LocalGitDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git  
LocalGitStorageDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git  
LocalMediaDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs\\objects  
LocalReferenceDirs=  
TempDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs\\tmp  
ConcurrentTransfers=8  
TusTransfers=false  
BasicTransfersOnly=false  
SkipDownloadErrors=false  
FetchRecentAlways=false  
FetchRecentRefsDays=7  
FetchRecentCommitsDays=0  
FetchRecentRefsIncludeRemotes=true  
PruneOffsetDays=3  
PruneVerifyRemoteAlways=false  
PruneRemoteName=origin  
LfsStorageDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs  
AccessDownload=basic  
AccessUpload=basic  
DownloadTransfers=basic,lfs-standalone-file,ssh  
UploadTransfers=basic,lfs-standalone-file,ssh  
GIT_CONFIG_PARAMETERS='color.branch'='false' 'color.diff'='false' 'color.status'='false' 'diff.mnemonicprefix'='false' 'core.quotepath'='false'  
GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core  
GIT_OPTIONAL_LOCKS=0  
GIT_PAGER=cat

Client IP addresses:  
fe80::e1eb:dc0b:5f49:8c29 192.168.43.244

**how can I fix this?**

**if i try to switch a brench, it writes me (but i dont see any processes):**

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks checkout Update/05-Olimpia --progress  
fatal: Unable to create 'C:/Users/USER/Documents/i-am-future-lfs/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.  
an editor opened by 'git commit'. Please make sure all processes  
are terminated then try again. If it still fails, a git process  
may have crashed in this repository earlier:  
remove the file manually to continue.

Completed with errors, see above.


Answers:
author: Anna Goodluck
body: **if i try to switch a brench, it writes me (but i dont see any processes):**

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks checkout Update/05-Olimpia --progress  
fatal: Unable to create 'C:/Users/USER/Documents/i-am-future-lfs/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.  
an editor opened by 'git commit'. Please make sure all processes  
are terminated then try again. If it still fails, a git process  
may have crashed in this repository earlier:  
remove the file manually to continue.

Completed with errors, see above.
Source Tree fails to download git content
Asked by Anna Goodluck:

I cannot dowloand the content in SOurceTree

(The history is not updating)

Here is what happens:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks lfs pull  
Error updating the Git index:

Errors logged to 'C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs\\logs\\20240602T022110.1823499.log'.  
Use \`git lfs logs last\` to view the log.

Completed successfully.

in log file

git-lfs/3.3.0 (GitHub; windows amd64; go 1.19.3; git 77deabdf)  
git version 2.41.0.windows.3

$ git-lfs pull  
Error updating the Git index:

<br />

exit status 128

Current time in UTC:  
2024-06-01 17:21:10

Environment:  
LocalWorkingDir=C:\\Users\\USER\\Documents\\i-am-future-lfs  
LocalGitDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git  
LocalGitStorageDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git  
LocalMediaDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs\\objects  
LocalReferenceDirs=  
TempDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs\\tmp  
ConcurrentTransfers=8  
TusTransfers=false  
BasicTransfersOnly=false  
SkipDownloadErrors=false  
FetchRecentAlways=false  
FetchRecentRefsDays=7  
FetchRecentCommitsDays=0  
FetchRecentRefsIncludeRemotes=true  
PruneOffsetDays=3  
PruneVerifyRemoteAlways=false  
PruneRemoteName=origin  
LfsStorageDir=C:\\Users\\USER\\Documents\\i-am-future-lfs\\.git\\lfs  
AccessDownload=basic  
AccessUpload=basic  
DownloadTransfers=basic,lfs-standalone-file,ssh  
UploadTransfers=basic,lfs-standalone-file,ssh  
GIT_CONFIG_PARAMETERS='color.branch'='false' 'color.diff'='false' 'color.status'='false' 'diff.mnemonicprefix'='false' 'core.quotepath'='false'  
GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core  
GIT_OPTIONAL_LOCKS=0  
GIT_PAGER=cat

Client IP addresses:  
fe80::e1eb:dc0b:5f49:8c29 192.168.43.244

how can I fix this?


Answers:
author: Shawn Doyle - ReleaseTEAM
body: 128 is a generic error code, it could be a ssh key issue, like it was removed/revoked. Make a new one and add it to your GitHub account.
Unable to connect to remote repository using SourceTree user interface
Asked by Brett Meroney:

I'm having trouble syncing to my remote GitLab repository through the SourceTree user interface. When I issue a 'pull' request, I get an error saying the host key is not cached for this server ...

![Pull Error.png](/t5/image/serverpage/image-id/327047iD8B6F09059C16BD9/image-dimensions/408x355?v=v2 "Pull Error.png")

However, when I issue the command at the Terminal, it appears to work. It populates the known_hosts file under my profile and I can perform a 'git pull' at the command line. The user interface then either hangs or gives this error. I populated my private SSH key \*.ppk file following normal protocol 'ssh-keygen -t rsa -C "my.email@myhost.gov"' and re-saved this to a PPK file using PuTTYgen.

![Pull Hang.png](/t5/image/serverpage/image-id/327049i0297D0DEFA9D31A2/image-size/large?v=v2&px=999 "Pull Hang.png")

I've also properly added my SSK key to my profile on my matching GitLab profile.


Answers:
author: Brett Meroney
body: Turns out i just needed to upgrade to the latest version. /sigh


Tags: gitlab
[SourceTree] ??????????GitLab CE????????
Asked by ?? ??:

??????????Azure VM??GitLab?GitLab??????VM???

SourceTree??????3.4.18

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

?SourceTree??????????

??????\[Remote\]?????

?\[????????\]?????

?\[??????????\]??GitLab CE????

?\[Personal Access Toke??????\]?????

??????PTA?????????GitLab?????????@??????

?\[????\]???

??????????

AzureVM???????80?443?22????

\[SourceTree\] SSL???????????????ON

AzureVM?GitLab?SourceTree???????????????????????

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

GitLab CE????????Sourcetree????GitLab CE?????????????

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


Answers:
author: K.Kitajima
body: ???????????????????????????????

Gitlab?Soucetree???????????????????????????????????????????????????????????

* [How to connect to GitLab CE](https://community.atlassian.com/t5/Sourcetree-questions/How-to-connect-to-GitLab-CE/qaq-p/914028)
* [\[SourceTree\] ??????????GitLab.com????????](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-%E3%83%AA%E3%83%A2%E3%83%BC%E3%83%88%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA-GitLab-com-%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84/qaq-p/1157958)

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