It's all about the answers!

Ask a question

Change the work item id of a specific work item type


Abuzaid Shaikh (89145) | asked Apr 08 '13, 11:30 a.m.
edited Apr 08 '13, 12:12 p.m. by Ralph Schoon (58.7k23642)
We have a work item type 'Project'.
Need to Change the Work Item id of ‘Project’ work item type
 whenever a new Project work item is created, Instead of system generated work item id, we want a customized id.
The id should be of the format YYXXX (where YY is the Year and XXX is the number starting from 001 and incrementing it)

Is it Possible?

2 answers



permanent link
Kevin Ramer (4.5k6171187) | answered Apr 08 '13, 11:36 a.m.
I doubt this can be done.  The ID is stored in the database as an Integer, not a string.

permanent link
Ralph Schoon (58.7k23642) | answered Apr 08 '13, 12:03 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Apr 08 '13, 12:03 p.m.
I second Kevin,

the ID is managed by the repository. You can normally not select it yourself. If you try, you could get into real trouble. I would suggest to use a custom attribute to store an "ID" in the format you want.

See https://jazz.net/library/article/1093 lab 4 and 5 for approaches that would allow this. 

Your answer


Register or to post your answer.