Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×In our Jira Software Cloud instance, we are successfully using Adaptivist Scriptrunner to clone an issue into a linked issue of a different type in a particular workflow transition, i.e. in a Workflow Post Function. I can set standard fields in the new issue to fixed values or copy field values from the original issue, e.g.
issueInput.fields.summary = "PREFIX: ${issueInput.fields.summary}"
issueInput.fields.description = issue.fields.description
We now want to introduce private, Secure Fields from Caelor’s Custom Field Suite (CFS) extension to the issue type of the originating issue. Their visibility is restricted to specific user roles, the add-on user can be included, so Scriptrunner scripts should be able to read the (numeric) values.
Which is the easiest way, in a Post Function, to access the secure field values and copy them to a different “normal” custom field in the cloned issue? I can’t just do
issueInput.fields.customfield_12345 = issue.fields.customfield_67890
Were you able to find a solution for this?
I am looking forward to your feedback.
Thank you and Kind regards,
Ram
Not yet – it didn’t have that high a priority.
Caelor’s documentation seems to suggest to use the Storage API, but that’s beyond my current expertise.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.