Skip to content

[Jira] Optimize Issue Creation for Large Issue Creation Metadata#9330

Merged
thomaslombart merged 10 commits intoraycast:mainfrom
royathan:ext/jira
Nov 20, 2023
Merged

[Jira] Optimize Issue Creation for Large Issue Creation Metadata#9330
thomaslombart merged 10 commits intoraycast:mainfrom
royathan:ext/jira

Conversation

@royathan
Copy link
Contributor

@royathan royathan commented Nov 20, 2023

Description

Previously when creating a Jira issue the panel would load all the data for all issue types for the specified project. For some organizations with excessive metadata, this response was too large and the process was running out of memory:

This changes the behavior so we will initially load the issue types for the specified project, then, we will load the issue type metadata per issue as it's selected.

Screencast

image

Checklist

- Add the ability to start/stop watching issues
- Initial commit
- Update minor versions of dependencies
- Separate out the issue metadata per issuetype for optimization
- Initial commit
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: jira Issues related to the jira extension OP is contributor The OP of the PR is a contributor of the extension labels Nov 20, 2023
@raycastbot
Copy link
Collaborator

raycastbot commented Nov 20, 2023

Thank you for your contribution! 🎉

🔔 @thomaslombart @FezVrasta @igor9silva @jesperorb @teziovsky @gavinroderick @gavinroderick @michael-par you might want to have a look.

@royathan royathan changed the title Update jira extension [Jira] Optimize Issue Creation for Large Issue Creation Metadata Nov 20, 2023
- Update minor versions of dependencies
- Linting
- Update minor versions of dependencies
- Update minor versions of dependencies
- Update minor versions of dependencies
Copy link
Contributor

@thomaslombart thomaslombart left a comment

Choose a reason for hiding this comment

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

I forgot to ask you to update the CHANGELOG.md file in the watching issues PR. Could you rebase/merge your PR with the main branch, and add an entry in the changeling with the watching issues feature and your fix? Here's our guidelines about that: Version History.

@thomaslombart
Copy link
Contributor

There also seems to be a type error on the md-to-adf.ts file, probably because of the TypeScript update. Changing the any to object should do it. Otherwise, let's just ignore this comment with @ts-ignore.

- Update minor versions of dependencies and fix added linting error
- Update minor versions of dependencies
@thomaslombart thomaslombart self-assigned this Nov 20, 2023
Copy link
Contributor

@thomaslombart thomaslombart left a comment

Choose a reason for hiding this comment

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

🚀

@thomaslombart thomaslombart merged commit 5767d2b into raycast:main Nov 20, 2023
@royathan royathan deleted the ext/jira branch November 20, 2023 02:03
@raycastbot
Copy link
Collaborator

Published to the Raycast Store:
https://raycast.com/raycast/jira

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: jira Issues related to the jira extension OP is contributor The OP of the PR is a contributor of the extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants