Forums

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

Add multiple participants based on the other custom fields

Anita Sudan
Contributor
July 12, 2023

Hi all,

 

I would appreciate your help a lot! I'm browsing different threads elsewhere across the Internet today, but still cannot find an answer :(

 

Context:

We have a JSM project for recruitment. When a person creates a new vacancy request, they fill 3 fields with People - HR, Direct reporting to, Approver. 

I would like to know how I can copy ALL the values from this fields (3 people) to Shared with (custom Request participants) field in the ticket?

 

Thanks a lot!

1 answer

1 vote
Jeroen Poismans
Community Champion
July 12, 2023

Hi Anita,

I managed to get this to work using automations:

Screenshot 2023-07-12 at 21.00.42.png

 

It all comes down to using Smartvalues and as you can see in the screenshot I fill the Request Participants field with the values of 2 customfields:

{{issue.field.customfield_10079}}

Important: In my case the customfield_10079 is a Single userpicker field.

Can you try?

Jeroen

Anita Sudan
Contributor
July 13, 2023

Hi Jeroen,

Thanks a lot, but unfortunately that didn't work :( Just tried. 

Request participants is still an empty field.

All the fields I try to append there are User picker (single user) type.

In the audit log for automation I see that this automation has been successfully executed, but no changes. 

Like John Funk likes this
Jeroen Poismans
Community Champion
July 13, 2023

Hi Anita,

I have elaborated my example to a portal request with 2 user picker fields (only fields on the request), then on create of the request I fire the same rule as in my screenshot. Still works like a charm. 

Does the actor of the rule have the right permissions to edit the field? Is the Request Participants field editable? Because removing the field from edit, did cause the behaviour you are describing.

Jeroen

Like John Funk likes this
Anita Sudan
Contributor
July 13, 2023

Hi Jeroen,

 

I just tried to edit this field manually and I could.

Could you help me to check whether is Automation for Jira can edit this field (actor of the automation)?

 

Thanks! 

Like John Funk likes this

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