OCA / connector-jira

GNU Affero General Public License v3.0
20 stars 43 forks source link

Jira timezone mismatch with Odoo. Jira uses user timezone != UTC #64

Closed yvaucher closed 1 year ago

yvaucher commented 3 years ago

Timezone for JQL queries (used to retrieve list of cards for instance) uses the Jira user timezone.

Curently the connector is sending queries always in UTC [as mentioned in the code]](https://github.com/OCA/connector-jira/blob/12.0/connector_jira/components/importer.py#L499).

For instance the timestamp is used here and comes from a MilliDatetime field field which returns datetimes in UTC on python side.

The issue is mentioned here on atlassian. https://community.atlassian.com/t5/Jira-questions/JIRA-API-JQL-datetime-format-does-not-have-timezone/qaq-p/870844

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.