- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2022 06:22 AM
Hi there!
I am trying to create the Change Task using API. I am getting the below error message, but I am not sure what it is causing this issue.
Payload:
Error Message:
{
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 10:17 PM
@rsram312 Yes, we found the issue. In the ACL's there is a condition as "Active = true".
As a normal ITIL user, when you submit a request to create the Change Req. or Change Task. This "Active = true" field value is not setting automatically.
Solution Proposed:
1. Adjust your ACL's to bypass this condition based on Active field.
OR
2. Add "active: true" in the request Payload whenever you send the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 10:17 PM
@rsram312 Yes, we found the issue. In the ACL's there is a condition as "Active = true".
As a normal ITIL user, when you submit a request to create the Change Req. or Change Task. This "Active = true" field value is not setting automatically.
Solution Proposed:
1. Adjust your ACL's to bypass this condition based on Active field.
OR
2. Add "active: true" in the request Payload whenever you send the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 10:31 PM
@Ram118 Thanks for the response.
This is the request I was trying
I tried passing active=true both as query parameter and the payload. I still am seeing the same error -
{"error":{"message":"Change Task found, but not related to Change Request: <task-id>","detail":""},"status":"failure"}%
Anything else we had to change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 10:41 PM
First check if there are any data policies that are blocking this. If so, then deactivate them.
No need to pass the active =true in query parameters. Inside payload is enough.
Still if you are facing the issue, try de-activating the create ACL's on Change Task table level.
Note: Ensure you are taking backup or capturing the changes in the Updateset. Just to be on safe side.