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

could not set the attribute value while work item import in RTC

Hello ,

We have exported the work items using internal id in RTC. And we are trying to import using only the default attributes except 2 attribute values called " phase detected" & "phase injected".

But while import its throwing the following error though we are providing the exact values in above attribute columns
as per the preconditions of process template all the work item kept under "open" state. Hence the mandatory fields including above attributes are provided with proper values.

Errors thrown while import on the above attribute columns are.
"Could not create the work item from : Attribute 'Attribute Phase Detected ' not set.

Problem
The 'Phase Detected' attribute needs to be set (work item <03:40:24>).

Reason
All workitems require at minimum a summary and a category be provided.  Additionally, depending on workitem and status, additional fields may be required as indicated by the asterisk.

And we verified all the preconditions like permission to the user performing this having Admin with all procss roles assigned.

So could some body suggest me where we are doing wrong.

Thanks in advance...





0 votes


Accepted answer

Permanent link
Well , you can debug  step by step
Take the Backup of the Process .
Next
Open the Project -->........-->  Operation Behavior--> Select Save WorkItem Server --> Select "Required attribute for Types and State" for a workitem type --> Edit --> Unselect all Check Box [[ Please Note down what you are unchecking ]] --> SAVE

So you do not have any Mandatory field
Now Import only one Row from the csv file [[ the Original CSV keep a Backup with all rows ]] for the same workitem type
Since that workitem type now does not have any mandatory fields -- it is expected that the import will pass . It will also indicate if passed that csv file is OK .

Make sure that datatype in csv column is same as in attribute type ( vice-versa )

If ok -- may import the full.

Should test first in demo project using the same process as in actual.

Thanks
PKC

Prasanta Kumar Chaudhuri


Ashwath G selected this answer as the correct answer

0 votes


One other answer

Permanent link
Hello Prasanta,

Thank you. Solution worked.

Ashwath.

0 votes

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

Question asked: Jan 05 '15, 5:24 a.m.

Question was seen: 4,916 times

Last updated: Jan 08 '15, 6:44 a.m.

Confirmation Cancel Confirm