In a declarative pipeline, I can specify the parameter that the pipeline expects right in the pipeline script like so:
pipeline {
parameters([
string(name
I highly recommend using the "Snippet Generator" for first time use of figuring this out. It will allow you to use a GUI that looks maybe exactly like the snapshot you shared above, to fill out the settings you want, and generate the appropriate syntax. For this question in-particular, select the sample step "properties: Set job properties" from the Snippet Generator
You can access the "Snippet Generator" from any Jenkins server by going to the /pipeline-syntax
endpoint.
For more info on the snippet generator see: https://jenkins.io/doc/book/pipeline/getting-started/#snippet-generator