Hello team!
I have a Project that for the stories we have a couple of custom fields, one is a user picker called "Developer", that is different to the default assigned field.
I want to create an automation, but when I set the new action to edit issue and select the Develoepr field there is no option to select the user that triggered the event.
how can I do that?
You can use the advanced option that allows you to specify the JSON code to set the field to the user that triggered it. Something like this will do it:
{
"fields": {
"customfield_xxxxx": {
"id": "{{initiator.accountId}}"
}
}
}
Just set the custom field to the Id of your developer field.
Also check out the documentation for smart values, it has more examples on how you can add/edit/delete values from a field using the JSON function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank! you are my hero!
I finally manage to make it work with:
{
"fields": {
"customfield_XXXXX": { "name": "{{initiator.name}}" }
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.