Hello,

We use Maven release plugin with Jazz repository for automated release. While 
performing deliver operation below command is used.

"scm deliver --repository-uri <url> --username <uname> --password ***** 
--source <source> --target <target> --overwrite-uncommitted"

Internally we have configured commit rules in our repository, where deliver 
would fail, if the particular changeset is not associated with any workitem or 
comment.
Below is the error message:
Error: Process Reports:
  Name: Deliver
  Participant Reports:
    Name: Require Work Items and Comments
      A work item or change request must be associated with the change set or a 
comment must be set.
      At least one of the associated work items must specify that the work is 
planned for the current iteration.
      At least one of the associated work items must be assigned to you.
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.

Since the changeset is generated automatically, changeset id cannot be 
captured, without which associating workitem/comment to changeset is impossible.


To overcome the above issue, we can perform deliver with " -C/--components" 
argument, will consider the outgoing changeset currently available for deliver 
operation.
Link for reference: 
https://jazz.net/forum/questions/217830/how-to-checkin-and-deliver-changes-from-local-workspace-automatically

Is there any options available to override the above command with the inbuilt 
command available in Release Plugin? Or is there any possible way available 
using maven release plugin?

Let us know for options if any.
Thanks!


Best regards,

Rahamathullah Anisha
RBEI/ETB2

Tel. +91 422 676-2621

Reply via email to