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

⚠️ Remove dependence on Jira CreateMeta API #407

Merged
merged 4 commits into from
Jun 20, 2023

Conversation

mansam
Copy link
Collaborator

@mansam mansam commented Jun 16, 2023

On Prem Jira deployments cannot be relied upon to have the CreateMeta endpoint as it can be taxing for large instances and admins may disable it.

Instead of using CreateMeta, we can query project metadata on demand through cheaper endpoints and expose this through the tracker API.

The UI will now need to query /trackers/:id/projects to get a list of projects to display in the select box as the metadata field on the Tracker resource will no longer be present. The UI can then pass the project ID through the /trackers/:id/projects/:id2/issuetypes endpoint to get the list of IssueTypes for the project.

On Prem Jira deployments cannot be relied upon to
have the CreateMeta endpoint as it can be taxing
for large instances and admins may disable it.

Instead of using CreateMeta, we can query project
metadata on demand through cheaper endpoints and
expose this through the tracker API.

The UI will now need to query /trackers/:id/projects
to get a list of projects to display in the select box
as the `metadata` field on the Tracker resource will
no longer be present. The UI can then pass the project
ID through the /trackers/:id/projects/:id2/issuetypes
endpoint to get the list of IssueTypes for the project.

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
@mansam mansam requested a review from jortel June 16, 2023 18:53
Signed-off-by: Sam Lucidi <slucidi@redhat.com>
Copy link
Contributor

@jortel jortel left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
Signed-off-by: Sam Lucidi <slucidi@redhat.com>
@mansam mansam changed the title Remove dependence on Jira CreateMeta API ⚠️ Remove dependence on Jira CreateMeta API Jun 20, 2023
@mansam mansam merged commit 17b3a3f into konveyor:main Jun 20, 2023
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