Forums

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

Adaptavist Script Runner for Jira CLOUD examples

Deleted user
November 7, 2019

Adaptavist Script Runner for Jira Cloud is a different beast to its server/DC cousin.

Can anyone direct me to some example scripts?  For example, I am trying to create a sub-task and populate the summary of the sub-task based on a prefix and the parent summary.  Relatively straightforward on Server, but "different" on Cloud.  I would also like to populate other custom fields in the subtask (in most cases just a copy from the parent).

Any examples I can use?

Roy

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
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.
October 27, 2019

This code would work right up until the last line.  The custom field will not return a string, it will return a list (collection/array etc) of user objects.

TAGS
AUG Leaders

Atlassian Community Events