Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How the query condition- work item status can be grouped?

 In RTC 502, we have Defect, Task, Story work items which we have Analysis state. 
When we create these work item and work flow in template, the Defect and Task are using same Analysis state (literal id is same) but for story it is different. 
So when we see the status in query condition, it is showing as
Analysis (Defect, Task)
Analysis (Story)
Closed (Task)
Closed (Story)
Closed (Defect)
I want to group these states and show it like below

Analysis (Defect, Task, Story)
Closed (Defect, Task, Story)

To meet this, in the process configuration source, I have copied the Defect Analyis state literal ID and replace it in Story - Analysis literal ID. 
This will show the query condition as expected i.e.

Analysis (Defect, Task, Story)

But when I check the story work item which all are in Analysis state earlier become uninitialized and NOT at all editable. 
What is the issue? How to solve this? 

0 votes


Accepted answer

Permanent link
As the literal ID of the state is actually used to determine the state, you can not change it later, without loosing the state information of all items in the state.

You could try to export all stories in the state, change the ID and then import the exported stories and set the new ID. I am not sure if that is a good idea though.
Mohanraj Ragupathi selected this answer as the correct answer

1 vote


One other answer

Permanent link
 Ralph,                    I tried this earlier and when I import the workitem with ID change, RTC is showing an error like you don't have access to work item. 
             Today after your response, I sit and search the literal ID usage in for e.g. epic -  "closed" state and replace it with defect - "Closed" state literal ID.
                 Before that I exported all epic workitems in "closed" state. Once the ID in the project configuration source got modified, the csv file is imported back with "custom data mapping" file which will map "closed" state to literal id.
<action icon="processattachment:/workflow/close.gif" id="com.ibm.team.apt.epic.workflow.action.a7" name="Set Closed" state="com.ibm.team.apt.epic.workflow.state.s3"/>
<state group="closed" icon="processattachment:/workflow/close.gif" id="com.ibm.team.apt.epic.workflow.state.s3" name="Closed" showResolution="false">
wherever literal ID com.ibm.team.apt.epic.workflow.state.s3 is used , that is replaced with Defect workitem closed state literal id "s4".
<action icon="processattachment:/workflow/close.gif" id="com.ibm.team.apt.epic.workflow.action.a7" name="Set Closed" state="s4"/>
<state group="closed" icon="processattachment:/workflow/close.gif" id="s4" name="Closed" showResolution="false">


NOW the question is: Whether this will create any issue in Planning or BASIC rtc functionality? something like LOAD BAR calculation  / Ranking / effort hours "rollup", etc...????

0 votes

Comments

How would I know? I think thi sis something you have to test and decide for yourself.

 Ralph, Basically I am worrying about the state literal ID which is belongs to Story or Task replaced by defect state literal ID. In case if RTC in-built "scripts" used the  Story/Task state ID in LOAD Bar or Ranking or any of the plan view or effort hours roll up, then it will have an effect. To make sure this shouldn't be an indirect effect and disturb the plan review.

  Ralph, Basically I am worrying about the state literal ID which is belongs to Story or Task replaced by defect state literal ID. In case if RTC in-built "scripts" used the  Story/Task state ID in LOAD Bar or Ranking or any of the plan view or effort hours roll up, then it will have an effect. To make sure this shouldn't be an indirect effect and disturb the plan review.

Ralph, Basically I am worrying about the state literal ID which is belongs to Story or Task replaced by defect state literal ID. In case if RTC in-built "scripts" used the  Story/Task state ID in LOAD Bar or Ranking or any of the plan view or effort hours roll up, then it will have an effect. To make sure this shouldn't be an indirect effect and disturb the plan review.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,117

Question asked: Mar 24 '16, 3:05 a.m.

Question was seen: 2,047 times

Last updated: Mar 28 '16, 6:08 a.m.

Related questions
Confirmation Cancel Confirm