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

Make epic link selector pull from epics search API #978

Open
mickmister opened this issue Oct 3, 2023 · 3 comments
Open

Make epic link selector pull from epics search API #978

mickmister opened this issue Oct 3, 2023 · 3 comments
Assignees
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Hacktoberfest Help Wanted Community help wanted Tech/Go Tech/ReactJS Tech/TypeScript Type/Enhancement New feature or improvement of existing feature

Comments

@mickmister
Copy link
Member

At the moment, we are using JQL directly to fetch epic links for a given project. This is resulting in inconsistent behavior between Mattermost's epic selector and Jira's.

const fullJql = `project=${projectKey} and issuetype=${epicIssueType.id} ${jqlSearch} ${searchDefaults}`;

We can instead use the autocomplete endpoint for a project's epic links:
https://myorg.atlassian.net/rest/agile/1.0/epic/search?excludeDone=true&projectKey=CLD&maxResults=20&query=

One known limitation to the current implementation is that the epic links must be a member of the same project as selected in the MM form. Jira's epic link selector allows for epics from other projects, so that functionality should be tested with this feature.

@mickmister mickmister added Help Wanted Community help wanted Up For Grabs Ready for help from the community. Removed when someone volunteers Good First Issue Suitable for first-time contributors Hacktoberfest Tech/ReactJS Tech/Go Tech/TypeScript Difficulty/1:Easy Easy ticket Type/Enhancement New feature or improvement of existing feature labels Oct 3, 2023
@Jenis07
Copy link

Jenis07 commented Feb 10, 2024

Can you assign me this issue?

@mickmister
Copy link
Member Author

Absolutely 👍 Thanks @Jenis07!!

@mickmister mickmister removed the Up For Grabs Ready for help from the community. Removed when someone volunteers label Feb 10, 2024
@mickmister
Copy link
Member Author

Hi @Jenis07, just checking in. Do you have any questions about this issue? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Hacktoberfest Help Wanted Community help wanted Tech/Go Tech/ReactJS Tech/TypeScript Type/Enhancement New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants