Highlighted
New Member..
New Member..
107 views

(SM) Support Tip: How to move change tickets to "Closure/Closed" phase by Restful API?

(SM) Support Tip: How to move change tickets to "Closure/Closed" phase by Restful API?

 

The requirement is:

To call Restful API to close a change if there is a transition available from a particular phase to Closure/Closed phase. If there is a transition available to abandoned phase and not Closure phase, then the change would be moved to abandoned phase. If a change phase has a transition to both abandoned phase as well as Closure phase, then the transition to Closure phase would be taken.

 

 

Steps to fulfill the requirement:

1> go to extaccess table

2> search with Service Name = "ChangeManagement"

3> add a line in "Allowed Actions" whose name is "closechange"

4> Define the action "closechange" in “extactions” table, with external Action ID = "ChM. closeChange"

5> above action is defined in ScriptLibrary with name "changeManagement" in function "closeChange"

6> with above action, you can define corresponding Restful API to do this action

Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.