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
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Radhika, does your solution work only for JIRA cloud? I am not in JIRA cloud. What is the syntax we use for JIRA server in field value to set a custom field value to the assignee. I have a custom field that is a SQL+JQL text field. It returns a user account id. However i do not have a proper syntax to put into the field value of JSU in order to set this value to the Assignee field
In my below example you see the custom field name is "CodeReviewAssignee"
Pls help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.