Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
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

Advanced JQL queries doesn't work as expected Edited

I'm trying to set up some custom filters, and I'm really struggling to understand why certain advanced JQL doesn't work for me.

Example 1, below will return a considerable number of issues

status changed after -5w before -2w and project = xxx 

Example 2, will not provide any, although I'm using the same format as in other JQL queries:

status changed to Done after -5w before -2w and project = xxx

2 answers

1 accepted

2 votes
Answer accepted

The problem is related to how status is interpreted in certain configurations.

In this case, apparently "Done" is not properly translated into the state used and stored internally. 

To check the actual value, use REST API endpoint, and update the JQL:

status changed to 12316 after -5w before -2w and project = xxx

I would assume that this is a bug in JIRA.

Hello @Slawek Dobrzanski 

 

Your query is correct! 

Are you sure the filter isn't just supposed to return no results? (=there are no issues that satisfy the condition)

That is exactly the issue - I think :).

I can simplify the query to:

status changed to Done and project = xxx

For such query, I'm sure that some issues should be returned, but again - nothing.

The problem might be in the status "Done", but this is what I see if I remove the "changed to" part, or when I try to use status in (Done)

 

Side note: this is next gen project

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

98 views 2 8
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