The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Update a custom field value in a workflow post function with scriptrunner (Cloud version!)

Ward Schwillens_ Schwillie
Contributor
November 14, 2022

Hi,

In Jira on server we used to have some scriptrunner workflow post function that gave some custom fields an initial value at issue creation or another transition in a workflow.

I'm a bit surprised to find such a basic function and usage of scriptrunner to be undocumented.

Does anyone has an example script of setting a custom field value with some screenshots? 

Note this is a question for Jira Cloud, so a Rest API script is needed. 

 

Thanks!

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 14, 2022
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events