You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# DN scenario 1: Find artifacts that are Stakeholder Requirements with Status set to "In Process" and add the word METERING at the start of the Title
11
+
#
12
+
13
+
#parameters
14
+
15
+
jazzhost='https://jazz.ibm.com:9443'
16
+
17
+
username='ibm'
18
+
password='ibm'
19
+
20
+
jtscontext='jts'
21
+
rmcontext='rm'
22
+
23
+
# the project+compontent+config that will be updated
24
+
proj="rm_optin_p2"
25
+
comp=proj
26
+
conf=f"{comp} Initial Stream"
27
+
28
+
# provide on the commandline the id of an artifact in the project/component/configuration
29
+
# also provide on the commandline a string (surrounded in " if it includes space) and this will be put on the front of the existing text of the artifact
30
+
31
+
importlogging
32
+
importos.path
33
+
importsys
34
+
importtime
35
+
36
+
importlxml.etreeasET
37
+
38
+
importelmclient.serveraselmserver
39
+
importelmclient.utilsasutils
40
+
importelmclient.rdfxmlasrdfxml
41
+
42
+
# setup logging - see levels in utils.py - TRACE,OFF means that a log of all http communication is put in the logs folder below wherever this example is run
# DN scenario 2: Find artifacts that are Stakeholder Requirements with Status set to "In Process" and change their status to Approved
11
+
#
12
+
13
+
#parameters
14
+
15
+
jazzhost='https://jazz.ibm.com:9443'
16
+
17
+
username='ibm'
18
+
password='ibm'
19
+
20
+
jtscontext='jts'
21
+
rmcontext='rm'
22
+
23
+
# the project+compontent+config that will be updated
24
+
proj="rm_optin_p2"
25
+
comp=proj
26
+
conf=f"{comp} Initial Stream"
27
+
28
+
# provide on the commandline the id of an artifact in the project/component/configuration
29
+
# also provide on the commandline a string (surrounded in " if it includes space) and this will be put on the front of the existing text of the artifact
30
+
31
+
importlogging
32
+
importos.path
33
+
importsys
34
+
importtime
35
+
36
+
importlxml.etreeasET
37
+
38
+
importelmclient.serveraselmserver
39
+
importelmclient.utilsasutils
40
+
importelmclient.rdfxmlasrdfxml
41
+
42
+
# setup logging - see levels in utils.py - TRACE,OFF means that a log of all http communication is put in the logs folder below wherever this example is run
0 commit comments