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

[Jira] Error management can be improved #12154

Open
luarmr opened this issue May 3, 2024 · 5 comments · May be fixed by #12405
Open

[Jira] Error management can be improved #12154

luarmr opened this issue May 3, 2024 · 5 comments · May be fixed by #12405
Labels
extension: jira Issues related to the jira extension extension Issues related to one of the extensions in the Store feature request New feature or improvement

Comments

@luarmr
Copy link

luarmr commented May 3, 2024

Extension

https://www.raycast.com/raycast/jira

Description

I'm unable to create an issue after fill of the form (I did before successfully ), likely due to something tied to my workflow in Jira. However, I'm unsure about the specific problem because the information I'm receiving is limited. Failed creating issue
It will be great to be able to see the response from the server.

Who will benefit from this feature?

Every user?

Anything else?

Observe that the app is functioning well. I can view my tasks and the entire sprints and filters. Actually, the app is very impressive.

@luarmr luarmr added extension Issues related to one of the extensions in the Store feature request New feature or improvement labels May 3, 2024
@raycastbot raycastbot added the extension: jira Issues related to the jira extension label May 3, 2024
@raycastbot
Copy link
Collaborator

Thank you for opening this issue!

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

💡 Author and Contributors commands

The author and contributors of raycast/jira can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.

@thomaslombart
Copy link
Collaborator

Could you share a recording? It'll make it easier to see what's happening.

@luarmr
Copy link
Author

luarmr commented May 15, 2024

Absolutely, I'm not certain about the situation that I encountered when I first identified the issue, but while attempting to recreate it and record the process, I noticed something.

Some fields are recognized as mandatory, yet others are not. I investigate a little further and looks like the elements are not being mark as mandatory are the custom fields.

I drop here an example from the API, this field is in used in the screen recording.

                        "fieldId": "customfield_xxxxx",
                        "name": "Environment",
                        "type": "com.atlassian.jira.plugin.system.customfieldtypes:select",
                        "description": "The environment where the bug was discovered.",
                        "fieldConfig": {
                            "isRequired": true,
                            "isEditable": true,
                            "nonEditableReason": null,
                            "__typename": "JiraFieldConfig"
                        },

In the screenshot, I purposely created an error to see the "required field" message. I filled in that field and tried to re-submit the issue. However, it failed again. This time, there was no warning or error near any field, nor did the window shake.

I filled in the fields, without guidance from the app, that I knew were necessary.

Afterwards, the ticket was created.

2024-05-14 17 03 51

@thomaslombart
Copy link
Collaborator

Indeed! Something is likely missing here. Do you want to take a look at it? 🙂

@luarmr
Copy link
Author

luarmr commented May 16, 2024

@thomaslombart, I think you're correct.

All we need to do is add 'required' parameter. I noticed yesterday that it already exists in the 'customFields'. Probably, we should add 'FormValidation.Required' there. I've seen this in other extensions in the repository.

I'll do that as soon and have time to test it out.

@luarmr luarmr linked a pull request May 16, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension: jira Issues related to the jira extension extension Issues related to one of the extensions in the Store feature request New feature or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants