Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Dashboard Code Question: Response issue

So I have a couple of questions.

Q1>I notice when your trying to get results if they are over 9999+ it just doesn't provide a true number is there a fix for that, or that is how it is intended? 

Q2> Dashboard Question;
Code: statusCategoryChangedDate >= -8w AND status in (Closed, Done, Resolved) AND assignee in (userid)
*This should grab the last 8 weeks of data; and I have it set to show in a bar graph; I wanted to be certain; as I am not seeing the active day show up? Do I have to wait 24 hours to show the new numbers?

Q3: Current Logic;
statusCategoryChangedDate >= -1d AND status in (Closed, Done, Resolved) AND assignee in (userid)
Is there a way to show the previous day; not 1d(24hrs)? meaning I want to see yesterday's data 1201-2399; looking to identify alternate logic.

4 answers

2 accepted

1 vote
Answer accepted

Hi, @Dan _Daniel_ Newman !

Welcome to the Community!

Q3. 

Yes, it is possible, for example with 2 ways:

statusCategoryChangedDate >= startOfDay(-1) and statusCategoryChangedDate <= startOfDay() AND status in (Closed, Done, Resolved) AND assignee in (userid)

or

statusCategoryChangedDate >= startOfDay(-1) and statusCategoryChangedDate <= endOfDay(-1) AND status in (Closed, Done, Resolved) AND assignee in (userid)
1 vote
Answer accepted

Q1. 

I think it is correct, because you should limit it ti save Jira's performance. 

I know how to do it on Server: 

How to increase the JIRA search results limit on the issue navigator 

Limiting the number of issues returned from a search view such as an RSS feed 

Try to contact Atlassian support in Cloud case. 

But my recommendation to use external BI apps to large analytical reports, for example - 

eazyBI Reports and Charts for Jira Cloud

It will be more comfortable to you to work with data.

Hello @Dan _Daniel_ Newman 

Welcome to the community.

Q1: When you say "get results" are you talking about for an issue filter? Are you talking about in the UI or using the API?

Q2: When you say you are not seeing the "active day", what exactly do you mean? Do you mean you have issues that changed Status Category (not to be confused with changing Status) on the current date and they don't show up in your results?

Q3: I'll have to think more on that one...

Q1> Dashboard Filter assignee=x status in (Closed, Done, Resolved) alltime.
Q2> Active day meaning: I am seeing a person close over 100 tickets, and the current script should see anything closed, but for w/e reason, the 100 tickets are not showing in the graph; so for some reason not sure if it needs a day to appear correctly? At least how my code is written?

0 votes

Q2. 

If I correctly understand - you don't want to see issues that status category were changed "today". 

In that case:

statusCategoryChangedDate <= startOfDay(-8w) AND status in (Closed, Done, Resolved) AND assignee in (userid)

So I wanted to see everything they have closed, done, resolved. For some reason looks like the code I am using is not displaying the current day or something is written incorrectly. 

The API is using a Java Script Gadget

@Dan _Daniel_ Newman , try this query please:

statusCategory in (Done) and status changed TO (Done, Closed, Resolved) DURING (-8w, now()) AND assignee in (userid)

Also like you can see I changed construction. 

In you construction it will be:

statusCategoryChangedDate >= startOfDay(-8w) and statusCategoryChangedDate <= now() AND status in (Closed, Done, Resolved) AND assignee in (userid)

Compare results and find the best one for you!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

226 views 7 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you