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

[MM-794]: Fixed the issue of fields not prefilled when creating issue with custom fields #1127

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Kshitij-Katiyar
Copy link
Contributor

Summary

Fixed the issue of fields not being prefilled when creating issues with custom fields. Unable to support the fields related to the users because the Username is not available in the create issue data and all the user picker fields on the Jira create issue form work on the username.

Added Support for:
  • Labels
  • Select list(multiple choices)
  • Checkboxes
Fields still not supported
  • User picker
  • Assignee
  • Reporter

Issue link

Fixes #794

Video Link

https://flonnect.com/video/6d26327abd0d-4a7d-855a-3f4c909e8648

How to test

  • On a Jira instance create the following custom fields Date Picker, Date Time Picker, Number Field
  • Configure the fields to be mandatory for the Screen / Project / Issue type you are using
  • Attempt to create an issue through Mattermost
  • Provide values for all fields
  • Create the issue
  • Follow the link

@raghavaggarwal2308 raghavaggarwal2308 added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Sep 26, 2024
@raghavaggarwal2308 raghavaggarwal2308 added this to the v4.3.0 milestone Sep 26, 2024
q.Add(key, id)
}
case []interface{}:
for _, element := range fieldTyped {
Copy link
Member

Choose a reason for hiding this comment

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

@Kshitij-Katiyar can you add some comments indicating what field type(s) each case represents.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wiggin77 Added the comment for what fields are handled in each case.
please have a look

Copy link
Member

@wiggin77 wiggin77 left a comment

Choose a reason for hiding this comment

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

Looks good. Needs some comments.

@wiggin77
Copy link
Member

/update-branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data missing from Jira issue when unsupported custom fields are mandatory
4 participants