2022-01-25 11:25:20 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Restore workspace contents in mongo/elastic
|
2023-06-09 13:36:55 +03:00
|
|
|
./tool.sh backup-restore ./sanity-ws sanity-ws
|
|
|
|
|
|
|
|
./tool.sh upgrade-workspace sanity-ws
|
2022-01-25 11:25:20 +03:00
|
|
|
|
|
|
|
# Re-assign user to workspace.
|
2023-08-26 12:37:26 +03:00
|
|
|
./tool.sh assign-workspace user1 sanity-ws
|
2023-11-22 12:14:26 +03:00
|
|
|
./tool.sh assign-workspace user2 sanity-ws
|
2023-04-25 10:34:10 +03:00
|
|
|
|
|
|
|
./tool.sh configure sanity-ws --enable=*
|
|
|
|
./tool.sh configure sanity-ws --list
|
2024-03-03 19:47:26 +03:00
|
|
|
|
|
|
|
# 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
|