[closed] Limit the size of summary field in WI
Hi,
My concern here is that is there any other way supported right now to limit the size of "summary" field to some fix number of characters.
The only way i can think of is writing own precondition( Though not tried yet) , but was wondering if something like this already exist.
Thanks
My concern here is that is there any other way supported right now to limit the size of "summary" field to some fix number of characters.
The only way i can think of is writing own precondition( Though not tried yet) , but was wondering if something like this already exist.
Thanks
The question has been closed for the following reason: "The question is answered, right answer was accepted" by rschoon Jul 24 '15, 3:22 a.m.
Accepted answer
Hi,
My concern here is that is there any other way supported right now to
limit the size of "summary" field to some fix number of
characters.
The only way i can think of is writing own precondition( Though not
tried yet) , but was wondering if something like this already exist.
The limit is 1024 characters, but it is currently not customizable.
This would be part of the more general topic of validation. I created an
umbrella item for this:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/97771
--
Regards,
Patrick
Jazz Work Item Team
2 other answers
As mentioned above the summary is a medium String/HTML and thus limited to 1024 bytes. This limit is not customizable. What you can do is:
- Use JavaScript and create a validator
- Use Java and create a validator
- Use Java and create a workitem save advisor plugin extension; The advisor interface is a little different to the participant interface used in Rational Team Concert Extensions Workshop but the workshop must be done to understand how this works and how to get there by Setting up Rational Team Concert for API Development