It's all about the answers!

Ask a question

How to add attachment as a mandatory field in type and state.


Krunal Gaoli (671269) | asked Oct 01 '21, 12:44 a.m.

 Hi Team,


My use case is that when I try to move my work item from "New" state to "IN progress" state, I must have an attachment to be added in the attachment drop box of work item. 

I am not been able to do it using option "Required attribute for type and state"

Please suggest.
Kind regards, 
Krunal.

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered Oct 01 '21, 2:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Oct 01 '21, 2:55 a.m.
  1. Attachments are known to bloat the database. If you must have such process requirements consider to configure EWM to store attachments in an external artifact repository. See https://www.ibm.com/docs/en/SSYMRC_7.0.3/com.ibm.team.workitem.doc/topics/t_enable_external_attachments_for_wi.html 
  2. Attachments are not a attribute and thus not accessible in the built in pre-condition for required attributes. If you need such a capability, you would have to develop your own pre-condition.
Krunal Gaoli selected this answer as the correct answer

Your answer


Register or 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.