Rally - REST API for creating and updating FlowState on the Team Board

book

Article ID: 145540

calendar_today

Updated On:

Products

CA Agile Central SaaS (Rally)

Issue/Introduction

A customer is trying to create and update the FlowState via REST API.

Payload is this:

{

"flowstate" :

{"Name" : "TestFlowState",

 "ScheduleStateMapping" : "In-Progress",

 "Project" : "project/63198288721"

 }

}


For both creation and an update of the flowstate object, there is an error and one warning:


"Errors": [

      "Validation error: FlowState.ScheduleStateMappingMapped schedule state must be greater than or equal to Accepted."

    ],

    "Warnings": [

      "Ignored JSON element flowstate.Project during processing of this request."

    ],

The FlowState gets created in the correct project, if the mapping points to Accepted state.

 

 

Environment

Release : SAAS

Component : AGILE CENTRAL

Resolution

The payload needs to add OrderIndex to API call, the order example here number will place the new FlowState at the 5th position on the page.





And the result is that 'In-Progress4' is now showing in the 5th column from the left;

Attachments