Hi everyone,
We are trying to create an automation rule which fill the value of a custom field of the epic issue type with the project category of the epic.
Is it possible?
I' have tried this but it doesn't seem to work.
From the audit it goes on success but actually the field isn't valued.
Am I missing something?
Thanks for every suggestion.
Valmira
Hi @v_bixhi -- Welcome to the Atlassian Community!
What value are you trying to store in the Roadmap Owner field?
The smart value {{issue.project.projectCategory.name}} is the Project Category value, not a user.
Kind regards,
Bill
Hello @Bill Sheboy
Exactly, we want to store the Project Category value
Any suggestions
Thanks
Valmira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What type of field is "Roadmap Owner"? If that is a user field, you cannot store a text value from Project Category there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that case, I believe you would need to use advanced edit with JSON rather than the basic field edit.
The syntax for updating that type of field is shown here: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Single-select-custom-field
And so you would de-select Roadmap owner from the fields to change, and instead select the More Options area to add JSON for the edit, such as this:
{
"fields" : {
"Roadmap Owner" : { "value" : "{{issue.project.projectCategory.name}}" }
}
}
If that does not work, it is likely that either:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot @Bill Sheboy , it was related to this '' the value on the right side (from the project category) does not exactly match a value in your list. The fix for this is to update one of the values so they match.''
I fixed this and it works.
Thanks again
Kindly regards
Valmira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome; I am glad to learn that helped!
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.