It's all about the answers!

Ask a question

what is the difference between CLOSED_STATES and CLOSED_STATES_GROUPS in RTC Expressions ?

Shwetha G (60231) | asked May 12 '17, 12:23 a.m.

Hello All,

We have a usecase wherein, we need to sync the severity of the defect workitem to problem workitem,
We have the following code . where we  get both closed and invalid workitems

  IQueryableAttribute stateAttribute = QueryableAttributes.getFactory( IWorkItem.ITEM_TYPE).findAttribute(projectArea,IWorkItem.STATE_PROPERTY, auditableCommon, monitor);
  Expression closedStates = new VariableAttributeExpression(stateAttribute,
      AttributeOperation.EQUALS, new StatusVariable(IWorkflowInfo.CLOSED_STATES));

what is the difference between CLOSED_STATES and CLOSED_STATES_GROUPS.

Request you to please assist on this.


Be the first one to answer this question!

Register or to post 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.