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

Skip email notifications using WCL batch file

Hello Team,

We have configured a batch script to update a set of workitems using a query. We do not want the email notifications to be triggered while this script is run. The /skipEmailNotification parameter is not working as expected.
Could you please help me with skipping the email notifications while the batch file is run?

Please find below the batch file configured.
[WCL Version 5.2]

cd /d "D:\"
set JAVA_HOME=D:\RTC-Client-Win64-6.0.6\jazz\jdk
set PLAIN_JAVA=D:\RTC-Client-plainJavaLib-6.0.6

rem Parameters to configure
set repo="TEST"
set pa="TEST"
@echo off
set username=%1%
set pw=%2%
@echo on
set queryname="Task WIs"

rem Execution command
%JAVA_HOME%\jre\bin\java -Djava.ext.dirs=./lib;%PLAIN_JAVA%;%JAVA_HOME%/jre/lib/ext -cp ./lib;%PLAIN_JAVA% -jar "D:\WCL_5_2\WCL.jar" -bulkupdate password=%pw% /skipEmailNotification projectArea=%pa% query=%queryname% /enforceSizeLimits repository=%repo% /ignoreErrors user=%username% com.bosch.rtc.configuration.workitemtype.customattribute.developmenttype:set=
pause

Thanks in advance.

0 votes


Accepted answer

Permanent link

You can file an issue in the work item command line GIT project. For all I know the flag to skip e-mail notification should work. It did the last time I tried. I think the feature was introduced in 6.0.5

Divya _ selected this answer as the correct answer

1 vote

Comments

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
× 7,495
× 6,121
× 1,325

Question asked: Nov 04 '22, 11:39 a.m.

Question was seen: 804 times

Last updated: Nov 07 '22, 7:03 p.m.

Confirmation Cancel Confirm