Details
-
Type:
Bug
-
Status: Gathering Impact (View Workflow)
-
Priority:
Low
-
Resolution: Unresolved
-
Component/s: Issue - Backend
-
Labels:None
-
Support reference count:26
-
Symptom Severity:Severity 2 - Major
-
UIS:10
-
Bug Fix Policy:
Description
Summary
When REST PUT is made to change the request type of an issue that has a completely different workflow is made, the result is a success. This shouldn't be the case as a change like this invalidates the workflow.
Steps to Reproduce
- Create two workflows with different status
- Associate issue type separately to the two workflows created above
- Create two Jira issue and set each request type to the workflows created earlier
- If you attempt to change the issue type from the UI, it won't be possible.
- If you attempt to change the issue type via REST api, the issue type is changed. This shouldn't be possible.
For Example:
PUT https://<instancename>.atlassian.net/rest/api/2/issue/SDD-17\\
{
"fields": {"issuetype":{"id":10002}}
}
Expected Results
An error should be returned that this is not possible.
Actual Results
A successful execution is returned.
Workaround
Currently none.
Attachments
Issue Links
- is duplicated by
-
JRACLOUD-67997 Change Issue Type using REST API causing broken workflow
-
- Closed
-
- was cloned as
-
JSWSERVER-20062 Using REST API the issue type can be change when workflows are completely different
-
- Gathering Impact
-