Currently we are subject to the whims of Jira, and when they change the way their page works we might have to rewrite the booklet popup. It could be worth investigating whether it would be feasible to do a separate popup similar to how PayPal handles transactions. I've drawn up a sequence diagram of how that might work:

And here is the mermaid code for that diagram:
sequenceDiagram
actor User
participant PERT Script
participant PERT Window
participant WebServer
participant Jira Page
User->>PERT Script: Click PERT Button
activate PERT Script
PERT Script-)WebServer: Fetch a form ID
activate WebServer
WebServer--)PERT Script: Return a form ID
deactivate WebServer
PERT Script->>PERT Window: Open new window
deactivate PERT Script
activate PERT Window
PERT Window-)WebServer: Fetch Form with ID
activate WebServer
WebServer--)PERT Window: Return Form
deactivate WebServer
User->>PERT Window: Fill in form & Click "save"
PERT Window-)WebServer: POST Form data with ID
PERT Window->>PERT Script: Window Closed Event
deactivate PERT Window
activate PERT Script
PERT Script-)WebServer: Fetch form data with ID
activate WebServer
WebServer--)PERT Script: Return PERT data
deactivate WebServer
PERT Script->>Jira Page: Fill text box
deactivate PERT Script```
Currently we are subject to the whims of Jira, and when they change the way their page works we might have to rewrite the booklet popup. It could be worth investigating whether it would be feasible to do a separate popup similar to how PayPal handles transactions. I've drawn up a sequence diagram of how that might work:

And here is the mermaid code for that diagram: