It's all about the answers!

Ask a question

RTC Script for defect


Abhishek Kumar (132) | asked Sep 09, 3:04 p.m.
retagged Sep 13, 4:43 p.m. by Ken Tessier (84117)

 I want to have the default text appearing on each new defect created.

Can anyone give me the solution that how can we create the script for this?


Comments
Ralph Schoon commented Sep 10, 2:37 a.m. | edited Sep 10, 2:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Purpose of text? Text needs to be changeable? Use Case? Why would you require a script?


Abhishek Kumar commented Sep 10, 2:42 a.m.

I want that whenever I create a defect for a particular project , I get the default text appearing in the description field.

The text needs to be changeable.
I need the script so that I can create this default text in the description field of the defect

3 answers



permanent link
Ralph Schoon (55.3k23642) | answered Sep 10, 6:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Sep 10, 6:01 a.m.

 Consider https://jazz.net/library/article/1093 the last two labs at least.

Note, default values work for all work item types that have the attribute.
Note, calculated values can check the work item types, but can overwrite user input if not used carefully.

I am pretty sure examples have been discussed here.


permanent link
Ken Tessier (84117) | answered Sep 13, 4:43 p.m.

You can also do this through the UI. For details, see Configuring default values.


Ken 


permanent link
Karen Steele (1.1k112399) | answered Sep 16, 3:34 p.m.
Use the attribute customizations to set up a "default" - choose the multi line text and input what you want to be displayed.

On the field in question at the work item types - update the field to select the new default value.

Your answer


Register or to post your answer.