Trouble with State transition using OSLC
Hello,
I have a custom work item type in which I have 3 states: New, In Progress and Closed
I am trying to perform the State Transition on this work item type using OSLC.
New ->In progress works
In progress -> Closed works
New -> Closed does not work
But New -> Closed works via RTC Web client.
using OSLC do I need to perform New -> In Progress and then Closed?
any one has experience this
Thanks
Karthik Krishnan
I have a custom work item type in which I have 3 states: New, In Progress and Closed
I am trying to perform the State Transition on this work item type using OSLC.
New ->In progress works
In progress -> Closed works
But New -> Closed works via RTC Web client.
using OSLC do I need to perform New -> In Progress and then Closed?
any one has experience this
Thanks
Karthik Krishnan
5 answers
Hi,
I'm not aware of a mechanism for performing a state transition through the OSLC-CM. What approach are you using?
State transitions can only performed through workflow Actions. You cannot change the state of a work item in order to perform a state transition. Actually, the state attribute is read-only.
So if you want to perform a state transition from "New" to "Closed" you need an explicit action that does this.
Cheers,
--andre
Andre Weinand
RTC Work Item Team
I'm not aware of a mechanism for performing a state transition through the OSLC-CM. What approach are you using?
State transitions can only performed through workflow Actions. You cannot change the state of a work item in order to perform a state transition. Actually, the state attribute is read-only.
So if you want to perform a state transition from "New" to "Closed" you need an explicit action that does this.
Cheers,
--andre
Andre Weinand
RTC Work Item Team
Hi andre,
I perform the state change with action as the PUT URL. That is no problem.
New -> In Progress and In Progress to Closed works perfectly file (via perl script using OSLC)
Only New -> Closed (via script) does not work
was wondering if I need to perform New -> In Progress -> Closed in order to perform New -> Closed
Regards
Karthik
I perform the state change with action as the PUT URL. That is no problem.
New -> In Progress and In Progress to Closed works perfectly file (via perl script using OSLC)
Only New -> Closed (via script) does not work
was wondering if I need to perform New -> In Progress -> Closed in order to perform New -> Closed
Regards
Karthik
The legal state transitions are defined by the Process Configuration of
your project area. A script can only perform legal state transitions.
So if you want to be able to transition New -> Closed, you'd need to add
that transition to the Process Configuration of your project area.
Cheers,
Geoff
On 10/17/2011 4:53 AM, karthikkrishnan wrote:
your project area. A script can only perform legal state transitions.
So if you want to be able to transition New -> Closed, you'd need to add
that transition to the Process Configuration of your project area.
Cheers,
Geoff
On 10/17/2011 4:53 AM, karthikkrishnan wrote:
Hi andre,
I perform the state change with action as the PUT URL. That is no
problem.
New -> In Progress and In Progress to Closed works perfectly file
(via perl script using OSLC)
Only New -> Closed (via script) does not work
was wondering if I need to perform New -> In Progress -> Closed
in order to perform New -> Closed
Regards
Karthik
The legal state transitions are defined by the Process Configuration of
your project area. A script can only perform legal state transitions.
So if you want to be able to transition New -> Closed, you'd need to add
that transition to the Process Configuration of your project area.
Cheers,
Geoff
Hi Glen,
New->Closed in my workitem is a legal state transition. I am able to perform this via Web GUI. Just that I am not able to do that via OSLC
thanks
Karthik