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

Attribute only editable on submit

Can I somehow configure an attribute (without java or javascript) to just be editable when the work item is being submitted - so just at the very first save? And as soon as it has the first state it cannot be changed anymore?
(It is a mandatory field so the editor has to choose a value before he/she saves for the first time)

I don't really want to create a separate state so that the user has to change states after saving..

Thanks in advance!

0 votes


Accepted answer

Permanent link
So I used a precondition "read-only attributes for condition" and checked in the condition if the dropdown is still set to "Please select" or to a valid value. That kind of works out.
Ralph Schoon selected this answer as the correct answer

0 votes

Comments

Good approach, but you explicitly excluded attribute customization in your question.

True - I hoped it would work better in another way and I'd overlooked something maybe in the configuration but it seems like a condition is the best option for this


One other answer

Permanent link
You can use the advisor "Read-Only Attributes For Type and State" and configure the attribute read only for all states but new. That is the closest I think you can get. In a custom condition or advisor you might be able to check that this is really the very first save, but I am not certain.

RTC Work Items where targeted to be simple to use and have limitations if it comes to fancy designs.

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
× 6,122

Question asked: Dec 13 '16, 4:46 a.m.

Question was seen: 1,741 times

Last updated: Dec 14 '16, 6:32 a.m.

Confirmation Cancel Confirm