Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor get_jira_obs_report method to account for JIRA REST API user timezone. #292

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

sebastian-aranda
Copy link
Contributor

This PR refactors the get_jira_obs_report method to account for timezones when using the JIRA REST API so we don't rely on a hardcoded date range for queries which could affect if using different users to authenticate the query and also account for daylight saving time. Tests were extended to comply with these changes.

Copy link
Contributor

@wvreeven wvreeven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


Notes
-----
Note that the JIRA REST API query is based on the user timezone so
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an esthetic comment: You start the sentence with Note that the JIRA REST API... while you write this in de Notes section. Just write The JIRA REST API... and it's fine. Up to you if you want to change this or not. It is perfectly fine as it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, its kind of redundant jaja, I'll do the change 👍. Thank you!

@sebastian-aranda sebastian-aranda merged commit 6b0b054 into develop Nov 28, 2024
2 checks passed
@sebastian-aranda sebastian-aranda deleted the tickets/DM-47765 branch November 28, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants