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

How do I check in and deliver a file using the scm command?

When I try to deliver a file to the stream, I get the following error. Also, I'm unable to add a comment to my checkin using the checkin command. How would I do this?

Process Reports:
  Name: Deliver
  Participant Reports:
    Name: Descriptive Change Sets
      A work item or change request must be associated with the change set or a
comment must be set.
Problem running 'deliver':
'Deliver' failed. Preconditions have not been met: A work item or change request
 must be associated with the change set or a comment must be set.

0 votes



One answer

Permanent link
 Hello Jeffrey,
please follow this document 
and let us know if this helped.

Thanks,
Eric

2 votes

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,

more on this topic in the InfoCenter:

Thanks,
Eric

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
× 12,023
× 1,381
× 43
× 11

Question asked: Oct 03 '13, 7:38 p.m.

Question was seen: 9,700 times

Last updated: Oct 08 '13, 3:05 p.m.

Confirmation Cancel Confirm