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

Validation fails skips work item ids.

 Hello ,  

This seems weird but if I save work item without putting all mandatory fields. The error message appears and after providing all mandatory fields the work item is getting created with ID skipped. 

This is causing lots of ID missed if there is some automation of Importing work items. 

Is there way to avoid ID increase in case of Validation Error ? 

0 votes



One answer

Permanent link
The work item id "counter" is shared across the RTC repository, so it is very probable that from the time the save is attempted and corrections made and re-attempt the save, work items were created in the same project or another.

Said another way:  Given that your project's maximum work item ID is N, there is no guarantee that the next will have value N+1.


0 votes

Comments

as I recall, the number is retrieved when the editor panel is presented, and again presented when the error is shown.   the number retrieved on the first presentation is discarded.

 Hello Thanks Kavin and Sam for Answering. 

@Kavin, I am working on my local development workshop so there is no possibility of someone else working on that. I searched the work item id and there is nothing found. 

@Sam, yes it seems like it worked on basis of editor presentation loaded. It seems high level of enhancement needed for that. Means the work item should be assigned an ID only when confirmed submission. 

Thanks 
Praveen

Yeh,but that is not how it works.  

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
× 10,941

Question asked: Oct 05 '15, 9:57 p.m.

Question was seen: 2,069 times

Last updated: Oct 06 '15, 8:11 p.m.

Confirmation Cancel Confirm