-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 9.12.20, 10.3.4
-
9.12
-
1
-
Severity 3 - Minor
Issue Summary
To create versions or components, the request body can include the 'archived' value, which is a boolean type. However, it is important to note that this value is always processed as 'false'.
Steps to Reproduce
- Create versions & components using REST API versions or components.
- Sample data
{ "name": "ExcellentComponent1", "description": "This is a Jira component for test", "leadUserName": "admin", "assigneeType": "PROJECT_LEAD", "isAssigneeTypeValid": false, "project": "KANBAN", "archived": true }
{ "description": "An excellent version for testing", "name": "excellentVersion", "archived": true, "released": true, "releaseDate": "2010-07-06", "project": "KANBAN" }
- The response will show that the versions and components were created with 'archived:false' flag.
Expected Results
It is important to either clarify that creating archived versions and components is not permitted, or to resolve the bug, as creating versions that are released indeed working.
Actual Results
Unable to create versions & components which are archived.
Workaround
- Create a versions & components and then send an update call to mark the same as archived