#1887: Changing group in closed and solved tickets
Отредактирована: сегодняInstructions
-
Log in to Swarmica as Administrator
-
Create a script in Settings - Scripts for the Administrator role

-
Add the script set_group_for_tickets.py
-
Set up Web form settings:
For the list of tickets:
Name: List of tickets
API name: tickets
Type: text field
Required field: on
Read-only: off
It should look like this:

For selecting a group:
Name: Select group
API name: group_uid
Type: Dropdown list
Required field: on
Read-only: off
# Next, you need to enter options for the list of groups in the format:
Name: <GROUP NAME>
API name: <GROUP UID>
It should look like this:

- Click Save
It should look like this in the end:
- In the Web form on the right, enter the list of tickets separated by commas, select the group to which the tickets will be assigned, and click Send:
Troubleshooting
You can track the process in the celeryworker container log before running the script:
docker logs swarmica-celeryworker-1 -f --tail 0