Version picker (single version) Custom field value

Cheng HUANG April 26, 2020

I create a Version picker (id == 10335) with version : 5.6 5.7 5.8


In my automation job, i wanna get selected version value

I used : 

{{issue.customfield_10335}} it return id of version not the name

I tried also : 
{{issue.customfield_10335.displayName}}

 

How Can I get version name, not versin id?

Thanks

2 answers

0 votes
Cheng HUANG May 4, 2020

Hi @Elad Ben-Noam 
It works with {{issue.customfield_10335.name}}

Thanks a lot

0 votes
Elad Ben-Noam April 28, 2020

@Cheng HUANG 

Try this: {{issue.customfield_10335.name}}

and if it doesn't work {{issue.customfield_10335.first.name}}

Suggest an answer

Log in or Sign up to answer