Creating Custom Workflow

Description
yashgolwara
Posts: 8
Joined: Mon Mar 12, 2018 4:53 am

Creating Custom Workflow

Postby yashgolwara » Mon Mar 19, 2018 10:10 am

I am trying to create new Workflow in polarion through Java Web Services API.

Currently i am able to fetch the available workflows int the project(pre-defined).

Code: Select all

EnumOptionId[] valuesss = trackerService.getAvailableEnumOptionIdsForId(wiURI, "workitem-type");
         for (int i = 0; i < valuesss.length; i++) {
            EnumOptionId value = valuesss[i];
             System.out.println("available enum option id...." + value.getId());

         }



eg: testcase or unittestcase

i want to create one new workflow custom for my project, i was not able to find any exposed methods to create new workflow.

ALMighty
Posts: 80
Joined: Wed Apr 27, 2016 10:34 am
Location: Austria

Re: Creating Custom Workflow

Postby ALMighty » Mon Mar 19, 2018 1:21 pm

yashgolwara wrote:i want to create one new workflow custom for my project, i was not able to find any exposed methods to create new workflow.


There are none, I am very certain. The Javadoc usage page of the WorkflowAction class is a good indicator that the API lacks any of these methods.

Even if there would be I still would recommend to change the workflow manually in the Administration section of your Polarion project, since a worklfow is a complex matrix of status options and actions.
---------------------------------------------------------------------------------------------------
Playing a good game is never lame. :D
Image


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 9 guests