Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SCRIPTRUNNER SCRIPT - cloud

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

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

 

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

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

Thank you very much

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

457 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you