Forums

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

Post function - Update issue custom field - Update Approvers

duynb92 September 2, 2020

Hi folks,

I am trying to add multiple users to Approvers field via post-function in workflow, but could not figure out what value should I use. I have tried user name, user email, user id but no luck.

Thanks in advance.

Screenshot at Sep 03 01-04-34.png

2 answers

1 accepted

2 votes
Answer accepted
Jason D'Cruz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2020

Hi @duynb92 ,

You can use the user's AtlassianID. To see how to find the ID, please follow the instructions in the article below

https://community.atlassian.com/t5/Jira-questions/where-can-i-find-my-Account-ID/qaq-p/976527

Find the ID of the user and paste it into the Custom Field value of the post function and it should work.

Is there any particular reason that you'd like to use the post function instead of an automation rule? I would recommend that you use the Automation functionality to set the value of the Approvers field. If you know the user beforehand you can also update the default value of the field.

Here's a guide to show you automation basics.

https://www.atlassian.com/software/jira/guides/expand-jira/automation-use-cases

Cheers,
Jason

duynb92 September 8, 2020

Thanks Jason, I ended up using Automation rule. Just curious how to do it using Post function.

Regards,
Duy

Like Jason D'Cruz likes this
Jason D'Cruz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2020

Great to hear @duynb92 !

I'm a Product Manager on Jira Service Desk and I'd love to learn more about how you are using Approvals in your organisation and any feature requirements you may have. Do let me know if you'd like to discuss this and I'll reach out to you by email.

0 votes
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 5, 2020

Hi @duynb92 

What kind of field is Approvers? And are these specific users - or if not, how are these users identified?

Ste

duynb92 September 6, 2020

Hi @Ste Wright ,

Approvers field is Jira service desk default field.

These users I want to add are all users which already exist in JIRA system.

Regards,

Duy

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