Hi,
I am new to scriptrunner and I do not understand why the code is underlined when I define the header of my POST request.
Thanking you in advance.
It is often the case that errors later in the file are caused by earlier ones, so generally you want to work top-to-bottom.
The problem with your first three lines is the same - each one starts with the name of a variable that you have not yet defined. The code can't know what they are.
You might want to simply stick "def" in front of them, so they change from "unknown thing X should be set to a copy of the contents of Y" to "create an object X which contains a copy of the contents of Y"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.