youngmon/atlassian-qna huggingface dataset:
Display Date Calendar filter by specific date
Asked by Shraddha:

Hello,

Atlassian Analytics has the Calendar control which gives ability to pick date between ranges. Is there a way to restrict the range to start from a specific date?

Currently it goes back to 2014.

![Screenshot 2024-03-01 at 4.31.38?PM.png](/t5/image/serverpage/image-id/309798i3A3855DAF0A55BC5/image-size/large?v=v2&px=999 "Screenshot 2024-03-01 at 4.31.38?PM.png")


Answers:
author: Jessie Turpin
body: Hi Shradda! Currently, you won't be able to restrict users from selecting a date in 2014 in your Calendar control. Though you can edit the [default start and end](https://support.atlassian.com/analytics/docs/set-up-a-calendar-control/) dates in your Calendar to be the default dates filtering your charts.

![Screenshot 2024-03-04 at 11.00.06?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/310064iA4DE8717FC0EA74D/image-dimensions/466x417?v=v2 "Screenshot 2024-03-04 at 11.00.06?AM.png")

You can either use a fixed date (2024-03-04) or a relative date using one of our [relative date variables](https://support.atlassian.com/analytics/docs/relative-date-variables/). Once you've edited your default start and end dates, all charts connected to the Calendar will filter by the default date range until a different date range is manually selected in the control.

I hope that helps!

comments: author: Shraddha
body: Thanks for the response [@Jessie Turpin](/t5/user/viewprofilepage/user-id/4493061)

Its there any other customized calendar filter that can be created to avoid going long back dates/years?


author: Jessie Turpin
body: You're welcome, Shraddha! Here is a link to our [documentation](https://support.atlassian.com/analytics/docs/variable-control-types/) on the different control types available. The Date slider control is similar to the Calendar control, but one difference is you can select a specific column to be used to create the control. One caveat with using the Date slider control is that the data will still go as far back as the first data in your instance. For example, if you created the first ticket in your site in March 2024, the Date slider would start from March 2024. I hope that helps!
I cant source data from a 3rd part custom field
Asked by Matthew.Kistner:

Hi all,

Working in Analytics were trying to use a custom field in Jira called "program increments" that is created and populated by a 3rd party add on called easy agile programs.

We have tried to follow a few source articles and videos and being able to reference custom field but we haven't had much luck in populating data. Any help or suggestions would be appreciated.

At this point were just experimenting trying to get anything from this field to show weather its the values or a count of tickets pretty much anything to validate that analytics can source this particular field or not in the system. But we haven't had much luck

1. Does analytics source 3rd party custom fields from other applications? If so how can we get this to work?  

We were referencing this source for our process.  
<https://confluence.atlassian.com/analyticskb/query-jira-custom-fields-1188411074.html>  

![analytics.PNG](/t5/image/serverpage/image-id/309724i7769C558FFF7B69E/image-size/large?v=v2&px=999 "analytics.PNG")![Easy Agile.PNG](/t5/image/serverpage/image-id/309723iD5C17185CA28602C/image-size/large?v=v2&px=999 "Easy Agile.PNG")


Answers:
author: Jessie Turpin
body: Hi Matthew! Thanks for posting your question and sharing the screenshot. Locked fields are currently unavailable in the Atlassian Data Lake, but we have a [feature request](https://jira.atlassian.com/browse/ANALYTICS-159) that you can watch for updates on when these fields might be available to query.

Hope that helps!
How do you hide the first month in a bar chart?
Asked by Chrystal Harris:

Hi. I have a chart showing bugs created vs resolved month by month for the past 2 years. My problem is that it appears to be a rolling 2 years - so the first month of the chart day by day is getting reduced results and the most recent month is growing. I can live with the most current data growing - but it just seems wrong to have the oldest data shrink day by day.

Can I just hide the first month?

I have tried using both 2 years and 24 months in the queries, but I always end up with 25 monthly bars.

![25th month.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/308985i35ACE020CB9113E9/image-size/large?v=v2&px=999 "25th month.PNG")


Answers:
author: Tracy Chow
body: Hi Chrystal,

You can change the way your queries are doing the date filters. It sounds like the query is currently filtering on **"last 2 years"** which is a rolling 2 years based on the current timestamp.

![Screenshot 2024-02-27 at 1.59.28?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/309030iA1A87FE93E67ED8B/image-size/large?v=v2&px=999 "Screenshot 2024-02-27 at 1.59.28?PM.png")

This produces the following SQL: *WHERE \`Issue\`.\`created_at\` BETWEEN (CURRENT_TIMESTAMP - INTERVAL 2 YEAR) AND CURRENT_TIMESTAMP*

Instead of doing that, you can filter on **"between and including {CURRENT_MONTH.START.SUB(23,'month')} and {TODAY}"** which uses [relative date variables](https://support.atlassian.com/analytics/docs/relative-date-variables/).

![Screenshot 2024-02-27 at 1.57.12?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/309031iABADB5BAB762BBF0/image-size/large?v=v2&px=999 "Screenshot 2024-02-27 at 1.57.12?PM.png")

Which is doing this in SQL: *WHERE \`Issue\`.\`created_at\` \>= TIMESTAMP('2022-03-01')*   
*AND \`Issue\`.\`created_at\` \< (TIMESTAMP('2024-02-27') + INTERVAL 1 DAY)*

The latter method will only return the dates from 23 months prior to the first date of the current month, so it is returning 24 bars instead of 25.

Let me know if this works for you.

comments: author: Chrystal Harris
body: This works! Thank you very much :-)
what is the field name for Team
Asked by CESAR DALDOSSO:

I am trying to create a report with metrics and so far I just found a way to connect team which is workspace id. What is the name of the Teams field and where is the table in which this is ?


Answers:
author: Tracy Chow
body: Hi Cesar,

Team data is expected to be added to the Atlassian Data Lake very soon in March! You can follow this ticket for updates: <https://jira.atlassian.com/browse/ANALYTICS-27>, and we'll also announce it here in Community when it's released to everyone.
Work logged by user in a week
Asked by andrew_pass:

Hi,

I'm trying to do a report as part of a dashboard that shows how much time a user has logged in a given week.

It's working using the ticket updated date currently and the time logged but is there a way to actually use the date the work was logged instead?

I know there is -

* Resolved Date,
* Created Date

Is there a way to filter this by the date the work was actually logged on the ticket? I.e the work log date at all please?

Thanks,

Andy


Answers:
author: Tracy Chow
body: Hi Andrew,

You can check out the workaround described in this ticket <https://jira.atlassian.com/browse/ANALYTICS-22>, which entails querying the Jira Issue History table.

Worklog data is also in the process of being added to the Atlassian Data Lake.


author: Laurie Sciutti
body: Hi [@andrew_pass](/t5/user/viewprofilepage/user-id/3716231) \~ I'm not too familiar with Analytics, but in Jira you can search for the following 3 worklog items (worklogDate would seem to be what you are looking for). If that isn't available, you may find more information [here](https://support.atlassian.com/analytics/resources/).

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

comments: author: andrew_pass
body: Hi Laurie,

Thanks, I'm already aware of that but I'm after a specific Analytics solution :)

Unfortunately it's not mapped in Analytics,

Andy
training
Asked by CESAR DALDOSSO:

Hello, i am looking for training on this product


Answers:
author: Laurie Sciutti
body: Hi [@CESAR DALDOSSO](/t5/user/viewprofilepage/user-id/5439045) and welcome to the Community! In addition to what Michael provided, there are YouTube training videos as well. Have a look at [this one](https://www.youtube.com/watch?v=zBFbxRyacYw). HTH


author: Michael Yaroshefsky - Visor for Jira
body: Hi [@CESAR DALDOSSO](/t5/user/viewprofilepage/user-id/5439045)  

Welcome to the Atlassian Community.   

I'm curious what other folks have to say but this**Atlassian Analytics Resources page** is a good place to start <https://support.atlassian.com/analytics/resources/>

I hope this helps,  

Michael

comments: author: CESAR DALDOSSO
body: hey Michael, as I am very experienced with Easy Bi (in my opinion the best one so far to have metrics from Jira) , it looks very interesting. So far it seems to require improvement on performance and I am still facing issues regarding teams (what is the field) and how to connect it to everyone. But having access on data with the usage of SQL seems to be incredibly dispurptive!
Creating a custom date bucket for yearly values
Asked by Niranjan Deshpande:

To cater to reporting needs for a financial year (starting in the month of July and ending in the month of June the next year), I am looking to build a custom date bucket picket in Atlassian Analytics. Something to the likes of

<https://confluence.atlassian.com/analyticskb/create-custom-date-buckets-using-a-dropdown-control-1180147025.html>

but with the options such that the drop down will contain these values:

1 July 2019 - 30th June 2020, and so on to current year.

Is it possible using the JQL / visual builder in Atlassian Analtics?


Answers:
author: Agaci Avinas
body: Hi [@Niranjan Deshpande](/t5/user/viewprofilepage/user-id/4447183) ,

Thank you for reaching Atlassian Analytics support. Sure, yes you can set the financial year for the year filter in the Date Bucket. You can follow the same steps in the [document](https://confluence.atlassian.com/analyticskb/create-custom-date-buckets-using-a-dropdown-control-1180147025.html) which you have specified. You just need to modify the logic for the Year in the case statement to show next year range for month greater than or equal to 07 (July)

Please find the below example,

```
Case when {DATE_BUCKET_DROPDOWN}="year" Then( Case when strftime("%m", "Created") >= "07" Then Concat(strftime("%Y","Created"),' - ' , strftime("%Y","Created")+1) Else Concat(strftime("%Y","Created") - 1,' - ' , strftime("%Y","Created")) END) Else "Created" END?
```

So, with this statement when you select year the values would look like below,

![Screenshot 2024-02-19 at 4.04.33?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/307195i2F5FEBA32BDCC2DD/image-size/large?v=v2&px=999 "Screenshot 2024-02-19 at 4.04.33?PM.png")

You can modify your case statement as per your requirement.

Regards,

Agaci
JWM: What are common queries/charts you expose on your dashboard?
Asked by Jonathan Smith:

Hello all,

I am not a BI developer so I am looking to understand why I would use Analytics for Jira Work Management instead of a traditional Jira dashboard.

Also, I am looking to know what you typically put on your analytics dashboards.

Thank you for your time!

Jonathan


Answers:
author: Rodney D_Souza
body: The out-of-the-box charts tend to answer the simple and most-common questions. But if you wanted to do time-series analysis (see counts over time), multiple metrics/lines on the same chart so that you can compare them, aggregations (e.g. sum for totals) of metrics across rows and/or columns, then you'd need something else.

The "something else" could be something like the "Custom Charts for Jira Reports and Time in Status", which would give you better charting, but it likely would not answer the mail in terms of more complex needs. These plugins tend to rely on JQL and so if you cannot phrase your query in JQL then you can't get an answer to your question.

For more complex needs i.e. BI, you would need something like EazyBI or the Atlassian Analytics.


Tags: jira-work-management
Translate Reporter_Account_Id
Asked by jeff.rhoad:

Is there a way to translate the jira_issue.reporter_account_id to the object key of the reporter in asset_object table?

I am trying to create a list of tickets reported by location and I need the object key of the reporter to determine their location.

Thanks.


Answers:
author: Tracy Chow
body: Hi Jeff,

Is your Jira issue linked to the reporter's object in Assets through a Jira custom field? If so, you can use the ["Assets object issue mapping" table](https://support.atlassian.com/analytics/docs/schema-for-asset-and-configuration-management/#Assets-object-issue-mapping).

Let me know if that works for you or if you have further questions.

Cheers,  
Tracy

comments: author: jeff.rhoad
body: Yes I can link from Jira_issue to asset_object_issue_mapping via the issue id. But how do I tell which object in the asset_object_issue_mapping table is the issue reporter?


author: Tracy Chow
body: If you have a specific asset type set up for your user objects, you can add a query filter to filter for the desired object type, such as "Assets Type"."Name" = 'User'.

Does this approach work for your current setup?


author: Rodney Dsouza _Atlassian Certified Expert_
body: First do a 'Lookup Objects' call first for schema = People and the query is **User = {{issue.reporter}}**

Then you can used the resulting Lookup object/s (in above scenario it would be called 'User'). So, you could print out the results, say as Comment or Log action, using code like this:

```
reporter ID = {{issue.reporter.accountId}}
{{#lookupObjects}}
* {{User}} , {{User.displayName}} , {{User.accountId}} 
{{/}}
```

For me the results look like:

reporter ID = 6406540e9ce2cd2c240fc14c

* 6406540e9ce2cd2c240fc14c , Rodney D'Souza , 6406540e9ce2cd2c240fc14c

As you can see *displayName and accountId*keywords you can use.

If this helps, let me know, and 'Accept' this answer
Help with a chart, tickets assigned to a user over time
Asked by andrew_pass:

Hi,

Hoping someone can help me figure this out please,

I'm trying to do a report that I can use to give me a graph representation of how many times a user may have been assigned to different tickets in any different week.

So for an example -

* **User A**are assigned to a ticket on Monday,
* That ticket is then re-assigned to **User B,**
* **User A** is assigned to a second ticket on Thursday

Report would show they've been assigned to two tickets that week.

Thanks :)


Answers:
author: Matthew Lempitsky
body: Hi Andrew, you could query the Issue History table for this information. This will store a historical record of all field changes. If you query the table for the field name assignee, you will be able to perform a count of issues assigned to users.   

Here is a very basic approach to begin looking at that information:  

![Explore_-_Add_chart.png](https://community.atlassian.com/t5/image/serverpage/image-id/301532iA844E45B54DD4805/image-size/large?v=v2&px=999 "Explore_-_Add_chart.png")
How do I filter for only issue with component "X"?
Asked by Wong:

Trying to count issue resolved and created for a particular component but unable to build filter for component, any suggestion?


Answers:
author: Tracy Chow
body: Hi Wong,

To add a filter for a component associated with your Jira issues, you can select the **Name** column from the Jira ["Project component" table](https://support.atlassian.com/analytics/docs/schema-for-jira-family-of-products/#Project-component) and then set it to equal the name of the component.

You'll also want to make sure the join path is going through the "Issue component mapping" table.

![Screenshot 2024-01-09 at 2.42.41?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/299763i1B33B592995AB70D/image-dimensions/492x395?v=v2 "Screenshot 2024-01-09 at 2.42.41?PM.png")

Let me know if this works for you!
Analytics Issue Details Chart - display custom field column
Asked by Frank Drago:

Using the Issue Details template, I need to add a column displaying some custom incident fields. (field id's known) TBH I'm in the middle to 2 go lives and up against it, I bet this way is faster.


Answers:
author: Tracy Chow
body: Hi Frank,

Jira custom fields will be in the Jira "Issue field" table. You can follow the steps here on how to [query Jira custom fields](https://confluence.atlassian.com/analyticskb/query-jira-custom-fields-1188411074.html).

Only one custom field can be added per query, given how the Jira "Issue field" table is structured, so [creating a custom column](https://confluence.atlassian.com/analyticskb/query-jira-custom-fields-with-custom-columns-or-custom-tables-1299910024.html) for your custom field in your Data Lake schema may be a more scalable approach if you will be using these columns frequently across charts.

Take a look at these articles and let me know if you run into any trouble.

Best,  
Tracy


author: Frank Drago
body: Knew it would be faster   
<https://community.atlassian.com/t5/Atlassian-Analytics-questions/Does-Analytics-product-support-trending-charts/qaq-p/2551432>

<https://community.atlassian.com/t5/Atlassian-Analytics-questions/Does-Analytics-product-support-trending-charts/qaq-p/2551432>
How to use custom fields in chart that we are using in Jira projects in Cloud? eg. Request Type
Asked by rajneekant.pathak:

Hi,

We are using many custom field as per our client need in Jira software project. However we are not able to use that in Atlassian analytics in chart column. For example we are using Request Type, Support Group, Applicable Client etc fields in our projects but not able to see in Analytics. We are only able to see system fields used in our jira projects.

We want to understand how can we add custom filed that we are using in our project in data source schema to see this in chart column.

Regards,

Rajneekant


Answers:
author: Inder Singh
body: Hi [@rajneekant.pathak](/t5/user/viewprofilepage/user-id/5384601) : In Atlassian Analytics, you can either query custom fields directly, or turn the custom fields into a custom column or custom table that you can then query.

You can read the following Knowledge Base articles to learn how to use custom fields in Atlassian Analytics:

1. Querying custom fields - <https://confluence.atlassian.com/analyticskb/query-jira-custom-fields-1188411074.html>.
2. Turn the custom field into a custom column or custom table - <https://confluence.atlassian.com/analyticskb/query-jira-custom-fields-with-custom-columns-or-custom-tables-1299910024.html>
Does Analytics product support trending charts ?
Asked by Shraddha:

Hi Team,

We have an ask to fulfill using Analytics that pertains to creating charts that displays trends. The end user would like to see how the TTR(time to resolution) metric is trending month over month.

Is this possible using Analytics? How? Can i get some sample/examples OR articles to refer?

Thanks


Answers:
author: Steven Drury
body: Hey [@Shraddha](/t5/user/viewprofilepage/user-id/2630913)

Depends if you want to see the **SLA** for TTR, or you want the actual time taken to resolve the issue.

For the SLA, look at the "Incidents breaching SLA/not breaching SLA" chart template. This should show you a trend based on a SLA.

For the actual time, you could use lots of examples in the templates to see how the time to resolution is calculated.

Thanks,  
Steve

comments: author: Shraddha
body: Hi [@Steven Drury](/t5/user/viewprofilepage/user-id/5208097) yes the actual time.

We do have reports that calculate TTR but it should values in days for a given team member for given time period.

Ideally we would want to see the trend of these actual times per month.


author: Steven Drury
body: It would be possible, once you have all your information.

First, query all the issue data you want, but at a minimum the issue id, resolution date (days) and assignee id.

Join that query to the organisational data on assignee id so that you can get the assignees display name or email.

Group by resolution data and assignee, but then count by the number of issue id and you will have your trend.

If you are doing this for multiple assignees it will be chaos. I would also put a control in to select the assignee and then use that to filter your issues.
Pie Chart Legend - How to use something other than percentages
Asked by Andrew Herrera:

I have gone through every setting for the chart and can not get it to give me the legend in non percentage numbers. Even though I'm handing it number of tickets per user.


Answers:
author: Tracy Chow
body: Hi Andrew,

Currently, there is no option to change the data format of the legend in a pie chart. We have a feature request ticket for that here - <https://jira.atlassian.com/browse/ANALYTICS-118>. I recommend voting on and watching the ticket for updates.

If you want to display the number of tickets, I recommend using the "value labels" setting available from the Series tab.

Let me know if you have further questions on this.
How to query for inbound/outbound reference for Asset object?
Asked by Wong:

I have a Contact asset type that has an inbound reference (Member) to a Team asset type. Are references between asset types accessible in Analytics?


Answers:
author: Skyler Ataide
body: Hey there Wong!

Linked objects data (outbound and inbound object references) is not currently available in the Assets schema in the Atlassian Data Lake. While you can manually query the individual objects that are linked to other objects, there isn't currently a default column that links the objects together. If you would like, I can raise a feature request to have linked object data added to the Atlassian Data Lake.

comments: author: jeff.rhoad
body: Hi Skyler. I would like to see that feature added to the data lake.


author: Skyler Ataide
body: Hello!

Here is a link to a new feature request that I've raise to have linked object data (outbound and inbound object references) added to the Atlassian Data Lake for Assets: <https://jira.atlassian.com/browse/ANALYTICS-156>

Please vote for the ticket and add yourself as a watcher for future updates, as top-voted tickets are more likely to be triaged for development by our engineering team. ?
sourcetree authorization error
Asked by Fatma Ya?anlar:

Hello, a user found the wrong place I wrote here. How can I solve the problem? I receive authorization service via Bitbucket to send the current software via SourceTree. ? Identity alignment failed login check failed for user. You do not have permission to access the URL '<https://api.bitbucket.org/2.0/>' User'. The request returned with status code 'Unauthorized


Answers:
author: Nicolas Grossi
body: [@Fatma Ya?anlar](/t5/user/viewprofilepage/user-id/5504289) Are you using the latest sourcetree version ?

Nicolas

comments: author: Fatma Ya?anlar
body: yes
Files list window in the FiIe Status view
Asked by Adam Raszkiewicz:

For some reason, the Files list window in the File Status view disappeared and I'm not able to restore it:

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

Is there any way to get it back without removing Sourcetree?


Answers:
author: Adam Raszkiewicz
body: It came up that I needed to delete this file

`/Users/YOUR_USERNAME/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist`


Tags: server

sourcetree-server