Tools to dump and keep a drop-down multi-value field in Agile Central consistent with values in a text file. If the values have a "key" portion of the value (e.g. "1234 My Value") then the app will update any values that start with same string (e.g. "1234 My NEW Value").
Run first with "preview": true
(in file config/config.json) to see the changes that will occur.
Preview mode does not make changes in Agile Central.
- Setup Python and install dependencies (
pyral
is the only actual dependency which pulls in the others fromrequirements.txt
)pip install -r requirements.txt
- Setup environment variables (two options):
- Username/password option:
export [email protected]
export RALLY_PASSORD=TopSecret
- APIKey option:
export APIKEY=_12345689...
- Username/password option:
- Edit
config/config.json
to set preview mode, the element name and attribute name. - Edit
config/desired_values.txt
to the values you want to use. One value per line - (optional) Edit
config/logging.json
to control logging output and location. Default is to a file and the console.
python DumpCurrentValues.py config/config.json
python ValueManager.py config/config.json config/desired_values.txt