Jira issues - Possible improvements
Creating this issue to list the current limitations that could be improved:
Scenarios:
-
If any of the project_keys added is invalid, the Jira API will fail, resulting in an error being raised on the Jira issues index page. This could be confusing for users who are unaware that they provided an incorrect project_key, or if they provided a correct project_key that became invalid in Jira (e.g., due to the project being deleted).
-
We display the same error when attempting to filter the Jira issues page by a project_key that is not valid even if all project_keys provided are valid.
-
Even if the project_keys are populated (e.g., project_keys = test1, test2), users can still display issues from another valid Jira project (e.g., test3) if test3 is a valid project and is passed in the filter parameter.
-
Currently, the only validation we have for project_keys filed is that the user can't insert more than 100 project_keys. We could enhance the validations to check for duplicates, spaces, and potentially validate with Jira to ensure that project keys are correct.