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

add support for JIRA servers prior to v9 #198

Merged
merged 3 commits into from
Sep 20, 2022
Merged

Conversation

preslavmihaylov
Copy link
Owner

@preslavmihaylov preslavmihaylov commented Sep 17, 2022

closes #196

JIRA servers prior to v9 use a Bearer authorization mechanism. Later versions use a different mechanism, which todocheck already supports.

I've added some init logic when initializing a JIRA issue tracker to try to automatically detect the server's version. If any issue occurs, it defaults to the latest one supported - v9.

@preslavmihaylov
Copy link
Owner Author

@Jasper-Ben lemme know if this version integrates correctly \w your self-hosted JIRA

@Jasper-Ben
Copy link
Contributor

Looking good 👍

todocheck was able to connect to jira and see that the linked task was closed.

ERROR: Issue is closed
test-todocheck.sh:1: # TODO RDPHOEN-1177: Test todocheck

Copy link
Contributor

@Jasper-Ben Jasper-Ben left a comment

Choose a reason for hiding this comment

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

LGTM

@preslavmihaylov preslavmihaylov merged commit b9fe5d7 into master Sep 20, 2022
@preslavmihaylov preslavmihaylov deleted the fix-jira-8 branch September 20, 2022 08:14
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.

Authentication to selfhosted jira v8.20.11 fails
2 participants