-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
10.3.0, 10.4.0, 10.4.1, 10.4.2
-
None
-
10.03
-
Severity 2 - Major
-
Issue Summary
This is reproducible on Data Center: (yes) / (no): Yes
Jira provides jira-api library for interacting with Jira. The method
MutableIssue->setSummary(...) allows to set a new text to the summary field in jira. The limit for this field from Jira is 255 characters. However, this API allows to set the summary to any length.
Similarly the API MutableIssue->setDescription(...) and MutableIssue->
setEnvironment(...) should limit the text to 32767 characters. However, this too is not honoured.
Additionally, MutableIssue->setCustomFieldValue should honor the max character length for custom field(if any). This also is not happening at the moment.
Steps to Reproduce
- Call the API MutableIssue->setSummary with the text larger than 255 characters
or
call MutableIssue->setDescription or MutableIssue->setEnvironment with text larger than 32767 characters.
or
call MutableIssue->setCustomFieldValue with your custom field and string larger than max limit for that custom field.
Expected Results
The API should fail and throw an exception as the text is larger than the allowed limit.
Actual Results
The field gets updated with the larger text length.
Workaround
N/A
- derived from
-
FORMDC-800 Updates larger than mapped field are not saved and no error is thrown
-
- Closed
-