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

change assignee of issue using post function to the value of a custom field.

Hi, 

I have a custom field 'Product owner' which is a user picker(single field). 

I have a issue where i want to auto assign an Epic ticket to the user that is selected in the 'Product Owner' Field when going through a certain transition, I want to do this using a post function but i cannot work out how this is done. 

I do have a plugin of JMWE. Can someone please help me :)

Thanks 

2 answers

2 accepted

Hi Emily,

Sure. You need to add the Set field value post-function to the transition. Select the "Assignee" field. Input the value as:

{{ issue.fields["Product Owner"].accountId }}

Save the post-function and publish the workflow.

Regards,

Radhika

thank you so much this has worked. I can use this throughout the workflow and its changed my life! very excited there was a solution to this! 

In THis post function, iam not able to find any space to enter the above query . It gives only three option , to set it to :unassigned, automatic, to a specific user. 

 

how can i set Assignee field same as product owner field , i do not have any plugin installed though for the workflows.

0 votes
Answer accepted

Note that you could also have used the Copy Value From Field To Field post-function to copy from the "Product Owner" field to the "Assignee" field. This would require zero scripting.

Suggest an answer

Log in or Sign up to answer
TAGS

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