mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 11:06:50 +03:00
164a258f75
Signed-off-by: Alex Velichko <alex@hardcoreeng.com>
16 lines
574 B
Bash
Executable File
16 lines
574 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Restore workspace contents in mongo/elastic
|
|
./tool.sh backup-restore ./sanity-ws sanity-ws
|
|
|
|
./tool.sh upgrade-workspace sanity-ws
|
|
|
|
# Re-assign user to workspace.
|
|
./tool.sh assign-workspace user1 sanity-ws
|
|
./tool.sh assign-workspace user2 sanity-ws
|
|
|
|
./tool.sh configure sanity-ws --enable=*
|
|
./tool.sh configure sanity-ws --list
|
|
|
|
# setup issue createdOn for yesterday
|
|
./tool.sh change-field sanity-ws --objectId 65e47f1f1b875b51e3b4b983 --objectClass tracker:class:Issue --attribute createdOn --value $(($(date +%s)*1000 - 86400000)) --type number --domain task |