How do I check in and deliver a file using the scm command?
Process Reports:Name: DeliverParticipant Reports:Name: Descriptive Change SetsA work item or change request must be associated with the change set or acomment must be set.Problem running 'deliver':'Deliver' failed. Preconditions have not been met: A work item or change requestmust be associated with the change set or a comment must be set.
One answer
Comments
I read through that document and I have a follow up question from the doc:
After the change set is created, you can associate it with a work item and add a comment. To assign a work item, use lscm changeset associate . To set the comment, use lscm changeset comment .
I'm unclear about how the work item comes into play here. Could you clarify this? Also, do I need to parse the uuid of the changeset? I simply want to check in a file.
Work items come into play because a work item is a much better way to add metadata to a change set than simply setting a comment. So a stream owner can decide whether to require a work item be associated with a change set for that change set to be delivered to that stream, or whether a change set comment is sufficient (or whether neither is required). If you simply want to check in a file, none of this applies ... a checkin can always be performed.
Hello Jeffrey,