Hi,
I am using ScriptRunner on my Jira cloud instance. I am trying to add a custom script as a post function for a transition in my Workflow in Jira. When I try to create the script at first, it shows me 4 automatically available parameters, like this:

But, the next time when I try to update the script, it is showing only these two automatically available parameters:

What might be the reasons behind this?
Note: I have added this workflow to a workflow scheme and also associated this workflow to a company-managed software type project. After activating this workflow, I am trying to add this script as a post function.