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

'Create JIRA Tickets' not compatible with Jira >= 9.0 #207

Closed
hrobertson opened this issue Jul 19, 2023 · 3 comments · Fixed by #208
Closed

'Create JIRA Tickets' not compatible with Jira >= 9.0 #207

hrobertson opened this issue Jul 19, 2023 · 3 comments · Fixed by #208
Assignees
Labels

Comments

@hrobertson
Copy link

hrobertson commented Jul 19, 2023

The 'Create JIRA Tickets' feature does not work with Jira >= 9.0.

The function getMandatoryFields here https://github.com/SecurityRAT/SecurityRAT/blob/master/securityrat-frontend/src/main/webapp/scripts/app/editor/export/export.controller.js#L360 is calling /issue/createmeta?projectKeys={projectIdOrKey}&issuetypeNames={issuetypeName} but this endpoint no longer exists as of Jira 9.0.

It should be updated to /issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}

See https://confluence.atlassian.com/jiracore/createmeta-rest-endpoint-to-be-removed-975040986.html

Thanks

@AresSec
Copy link
Contributor

AresSec commented Jul 19, 2023

Hey @hrobertson,

thanks for raising this Bug. I'm going to find out if the new URL is also backward compatible to Jira < 9.0

@AresSec AresSec self-assigned this Jul 19, 2023
@AresSec AresSec added the bug label Jul 19, 2023
@hrobertson
Copy link
Author

https://confluence.atlassian.com/jiracore/createmeta-rest-endpoint-to-be-removed-975040986.html says some endpoints have been added to Jira 8.4 to support this.

I don't know how common it is for people to be running versions < 8.4.

@AresSec
Copy link
Contributor

AresSec commented Jul 31, 2023

Hey @hrobertson,
we need to find a solution which will not break functionality of running versions < 8.4 as there are still instances around which are using this old Jira version and we do not want to break it for them. I think we will come up with a fix pretty soon to support both endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants