Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Jira Web UI and API yield different query results

S Isaac I'm New Here Jul 02, 2021

I'm running this JQL in both the web UI and API and getting different results:

project = {key} AND created >= 2021-06-25 AND created <= 2021-07-02 ORDER BY created'

The web UI returns 8 issues while the API returns only 7. I have checked the issue creation dates thoroughly and they are all created between the time frame above. The issue that is missing from the API search results has a createdDate of 2021-07-01.
The user I'm authenticated within the web UI has timezone of CST. The user I'm authenticated with via the API also has timezone of CST.
It's not a user permission issue either because if I change the end createdDate from 2021-07-02 to 2021-07-03 for the API, it does return all 8 issues.

I think this is a bug. Please help. Thank you. 

1 answer

0 votes
Brant Schroeder Community Leader Jul 09, 2021

@S Isaac Welcome to the Atlassian Community

In Jira you can choose the timezone of the server.  You can set it by following these steps https://confluence.atlassian.com/jira063/choosing-a-time-zone-683542442.html

Default time zone : This is the time zone used throughout the JIRA interface. Users can  override the default time zone by using the Time Zone setting in their user profile.

Are both user accounts on the same time zone?  What happens if you use the same account on the API and the user interface do you get the same results?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

105 views 1 5
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