Following json is successfully perfomed with the automation rule that is running to update the value for the "Found in version" from the jira field "Affects versions". However "found in version" field still returns as empty value on the test issue. Can you please advise.
{ "fields": { "customfield_13981": { "value": { "id": "{{issue.customfield_11644}}" } } } }
If Found in version is a single select version picker. You need to push only 1 value to the field. But Affects Version is a multi version picker. You could use smart value on the edit field directly and not use the Advanced edit with json.
Smart value could be {{issue.versions.last}}
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
welcome to the community and thank you for your question.
What type has the Found in version field?
Why not just simply copy the value from one field to the other using edit issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Kai Becker
it's Version Picker (single version) type.
I tried first copy the value option, however that jira field (Affects versions) is not listing in the dropdown "Field to copy value from".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kemal Solmaz ok, so the problem here is, that only fields of the same type will be listed there. And as Affects versions is a multi select, it does not show up.
I would recommend the solution @Florian Bonniec provided:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exactly, after this change automation worked as expected. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.