Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.4.3, 5.5
Description
Observed Behavior
"Description is required" is shown although the description fields already been fill up.
Expected Behavior
"Description is required" should not be shown and user able to insert.
It seems Firefox more strict on the missing bracket in the file jira_createissuepanel.js
var issue = {}; issue.fields = { project: { id: AJS.$('.project-select option:selected', $myform).val() }, issuetype: { id: AJS.$('.issuetype-select option:selected', $myform).val() }, summary: AJS.$('.field-group [name="summary"]', $myform).val(), description: AJS.$('.field-group [name="description"', $myform).val() }; $myform.children('.create-issue-required-fields') .children('.jira-field') .children('input,select,textarea').not(".select2-input") .each(function(index, formElement) { var field = AJS.$(formElement); issue.fields[field.attr("name")] = jiraIntegration.fields.getJSON(field); });
which should be
description: AJS.$('.field-group [name="description"]', $myform).val()
To reproduce the issue from scratch, you need to set the description field in the field configuration to be a required field on JIRA side, open a new page with FF or IE then create an issue with the description.
Due to the bug, the http request is sent with the parameters:
{"issues":"[{"fields":{"project":{"id":"10100"},"issuetype":{"id":"3"},"summary":"901"}}]}
which the description field value is not included.
Attachments
Issue Links
- is duplicated by
-
CONFSERVER-33889 JIRA issue description doesn't save when using Firefox
- Closed