Forums

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

SCRIPTRUNNER SCRIPT - cloud

Dima Kotler April 20, 2021

Project Manager field should should be automatically populated per the project Lead -  using a post function on create transition I want to automatically populated the  Project Manager field per the the project Lead. 

could not find script examples.

I would appreciate your help

1 answer

0 votes
Kate Kabir
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 Leaders.
April 20, 2021

Hi @Dima Kotler 

Thank you for your question.

Can you kindly provide us with the full screenshot of the custom fields page showing what type the Project Manager field is?

Thank you. 

Kind Regards

Kate

Dima Kotler April 20, 2021

 

Hi Kateצילום מסך 2021-04-20 120640.jpg,it is User Picker (single user)

Kate Kabir
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 Leaders.
April 20, 2021

Hi @Dima Kotler 

Thank you for the update.

We have an example of how to set the user picker here. The example shows you how to set different types of group of picket fields. In line 22 shows the syntax to set a single group picket fields specifying the user by the accountID. 

You can run the example script in the Script Console and you can use this to help you create the post function that you require. The example will help to guide you. 

I hope this will helps.

Kind Regards

Kate

Dima Kotler April 25, 2021

Thank you very much

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events