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

Required custom attributes

Greetings,

I have created a couple of new work item types for which I have defined custom attributes. I would like to make some of these custom attributes required fields for these work items. Is that possible?

In some cases, I don't want the custom attribute to be required when creating the work item, but I do want it to be required when resolving the work item. For example, I want to require root cause analysis information to be filled in before closing a defect. Is that possible?

Thanks,
Alex Feinberg

0 votes



3 answers

Permanent link
Hi Alex
Have a look at the Required Properties section of that document:
https://jazz.net/learn/LearnItem.jsp?href=content/docs/work-items-cust/index.html

With RTC 2.0 it is also possible to configure required properties just for some workflow states (in the same place as above).

Regards

Marcel
Jazz Work Item team

0 votes


Permanent link
Thanks for the reply. It was very helpful.

One issue that I am having with the solution is that I can't seem to require custom attributes with enumerated types. These custom attributes are simply not displayed in the selection list of fields that I can make required.

I initially thought that this was because I had default literals set for them, but I removed the defaults and they still don't show up. Am I missing something? It certainly seems reasonable for enumerated types to be flagged as required, unless perhaps if they have default values.

Thanks,
Alex Feinberg

0 votes


Permanent link
Requiring enumeration attributes is not possible in 1.0. Starting with 2.0, you can specify a 'null value' for an enumeration (additionally to the default value) and require the enumeration attribute to have a value other than that 'null value' one.

Regards

Marcel
Jazz Work Item team

0 votes

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,953

Question asked: Apr 16 '09, 10:21 a.m.

Question was seen: 6,821 times

Last updated: Apr 16 '09, 10:21 a.m.

Confirmation Cancel Confirm