Project

General

Profile

Actions

Bug #4134

closed

API for Change Request details returns the wrong action name

Added by Vincent MEMBRÉ about 11 years ago. Updated about 11 years ago.

Status:
Released
Priority:
3
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Action displayed when looking at a change request details are not correct ...

here for a rule modification the action is delete ...


{
    "id":2,
    "displayName":"Update Rule tet",
    "status":"Pending validation",
    "created by":"jon.doe",
    "isAcceptable":true,
    "description":"",
    "changes":{
      "directives":[],
      "rules":[{
        "action":"delete",
        "change":{
          "id":"ecba3f1f-c29f-4fb8-a361-b10cbaada172",
          "displayName":{
            "from":"tets",
            "to":"tet" 
          },
          "shortDescription":"",
          "longDescription":"",
          "directives":["5dd24d41-cdde-44f7-bffb-a6b8e2ebfc6a"],
          "targets":["special:all_exceptPolicyServers"],
          "enabled":true
        }
      }],
      "groups":[],
      "parameters":[]
    }
  }

Actions

Also available in: Atom PDF