Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Timezone issue while querying data from Jira

Mridul Gupta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2022

Hi,

I'm querying data from jira api endpoint for different tickets using python.
Account which I'm using to query data from jira is having timezone set in UTC. I am able to query data in UTC timezone. But the date data it returned is not in utc. This is the value of Updated filed. (2022-06-06 04:22:20.269000-06:00)

it returned data in US/Mountain.

Anybody know what's the reason behind this. 

2 answers

0 votes
Mridul Gupta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2022

Thank you @Bill Sheboy 

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2022

Hi @Mridul Gupta -- Welcome to the Atlassian Community!

I did not see this behavior described on the REST API documentation pages, but I did see this post in the developer community which notes use of UTC...except for some fields which use the profile setting of the user who created an issue, updated it, etc.

https://community.developer.atlassian.com/t/what-timezone-are-dates-in-api-data/42649

Please consider also reposting your question in the developer community to see who has other thoughts on this.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events