Forums

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

fieldChange smart value for multiple values

jose.luna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 18, 2022

Hello there,

I'm trying to get previous value using smart values in automation: 

{{fieldChange.fromString}}

However, when I tried for a custom field with multiple options I got an error: 

Option value 'Option1,Option2' is not valid (customfield)

I'm trying something like this in additional fields but I'm not sure if is correct: 

{
"fields": {
"customfield": [ { "value": "{{fieldChange.fromString}}"}, {"value": "{{fieldChange.fromString}}"} ]
}
}

 

What I'm trying to do is "block" fields so if you are not part of a certain group you won't be able to edit that field and the field will back to the last value. 

 

1 answer

0 votes
Rosa M Fossi
Contributor
August 16, 2022

Hi Jose, I know this is an older issue, but I wanted to toss you a quick response.  

If I understand correctly: what you're trying to achieve is to implement a "DENY" for certain groups to edit certain fields in your issues... if that is the case, the better approach is to create separate EDIT screens (it's the official Atlassian workaround for this kind of field-level control).  

This post will help with that: https://community.atlassian.com/t5/Jira-Software-questions/Authorizations-of-set-of-users-to-change-only-certain-fields/qaq-p/1545129

Suggest an answer

Log in or Sign up to answer