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

how do i remove a tag in csv file import to rtc

When using a csv file import to RTC, how do I format a tag field to remove a tag already on the work item?

0 votes

Comments

Yes and then all tags were removed.  I would like to be able to remove one tag and leave the rest. 

I also found that if I add a new tag that also replaces all the tags previously added with just the new value.

Michelle, thanks for the suggestion.



One answer

Permanent link

Have you tried specifying blank values in the "Tags" column of your CSV.

0 votes

Comments

Maureen,

I tried a simple Export of work items (used RTC Eclipse) - of the Id and Tags.  I then removed the 'unwanted' Tag from the CSV file, re-Imported and it seemed to work.  I imagine you'd need to do a find/replace of the unwanted tag in your CSV - if you're dealing with many records/work items.

Exported
"Id","Tags"
"100","keepthis, removethis"

Imported
"Id","Tags"
"100","keepthis"

 The problem here is assumptions. I created my own importer and for attributes with multiple values such as tags you have to make assumptions a bout how this is supposed to work. There are several potential conflicting requirements such as 


1. In the import I want to remove all tags and only set the tags from the import data
2. In the import I want to add tags that are in the import data

Looking at Michelles test the approach taken was 1. Which means if only one tag should be removed you have to find all tags first, remove the one you don't want and import the rest.

I am not aware of an option to switch behavior between 1 and 2 in the RTC importer. 

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
× 12,029

Question asked: Mar 08 '17, 11:00 a.m.

Question was seen: 2,375 times

Last updated: Mar 09 '17, 3:18 a.m.

Confirmation Cancel Confirm