How to get StateId / ActionId from its State name / Action name?
Hi all,
I want to perform some action based on the State of the Work item. For every state, I will perform some code. But I don't want to hard code the State id / Action Id in all my conditions. I know the workflow name, State name and Action name. With this information, How can I retrieve ID? I am looking for something like String WFStateID = getWorkFlowStateID(ProjectArea, WorkflowNameIdentifier, StateName); String WFActionID = getWorkFlowStateID(ProjectArea, WorkflowNameIdentifier, ActionName); Any other workaround also welcome... Thanks in advance Muthukumar.C |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Jun 15 '12, 3:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please consider reading https://jazz.net/library/article/634 I believe the aspect editor has some code that can help.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.