mattermost / mattermost-plugin-jira

JIRA plugin for Mattermost 🔌
https://mattermost.gitbook.io/plugin-jira/
Apache License 2.0
98 stars 128 forks source link

Make epic link selector pull from epics search API #978

Open mickmister opened 1 year ago

mickmister commented 1 year ago

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.

https://github.com/mattermost/mattermost-plugin-jira/blob/17e8a47f8a644f853383301e6129ee940d715942/webapp/src/components/data_selectors/jira_epic_selector/jira_epic_selector.tsx#L79

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.

Jenis07 commented 9 months ago

Can you assign me this issue?

mickmister commented 9 months ago

Absolutely :+1: Thanks @Jenis07!!

mickmister commented 6 months ago

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

Kshitij-Katiyar commented 2 months ago

Hey @wiggin77, Do you think we should pick this feature request since the contributor has not responded in a while?