HI I have a custom field called "QA Tester" which is a drop down option of all the users in the system.
When I transition a ticket from "ready for testing" to "In testing" i want this fields to autfill with the User name of the person who initiated the transition of status.
How do I do this?
Kind regards,
Jaina
Hi @Jaina Chavda ,
which field type is the custom field? User Picker (single user)?
If yes, you could build an automation with 'User who triggered the event'.
Otherwise you could try the smart value {{initiator.displayName}} in the JSON (More options).
I do not want to change assignee but rather a new custom field called QA tester ( user single select)
and right now the "user who triggered the event" option is not showing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, I guess you have to use JSON and {{initiator.displayName}} then.
Please get the ID of the custom field:
https://confluence.atlassian.com/jirakb/find-my-custom-field-id-number-in-jira-744522503.html
Please try it with this JSON in More options - Additional fields:
{
"fields": {
"customfield_12346": {
"id": "{{initiator.accountId}}"
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jaina Chavda -- Welcome to the Atlassian Community!
Adding to the suggestion from Mike, the JSON expression is not needed.
Instead the field may be set directly by selecting it from the dropdown list entering the smart value for the user who triggered the rule: {{initiator.accountId}}
When the value appears below the field, select it to use for the edit.
Kind regards,
Bill
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.