Forums

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

Using smart values with smart values

Christof Hurst
Contributor
January 15, 2025

Hi, 

I need to use a smart value within another smart value and do not get the correct syntax. 

In my case I want to get values from attached forms. As I do not know how many forms are attached I need to determine the latest form.

  1. So first I create a smart value "MyFormID".
  2. Then I want to fetch the real value "{{issue.properties."proforma.forms.i<HERE_MY_ID>".state.answers."1".choices}}

I tried by replacing and with including with different brackets but I do not get a result.

Perhaps there is also an alternativ way the get the form values?

Asking the other way: How can I use a string as a smart value? 

Can anybody provide correct syntax please?

BR Christof

1 answer

1 accepted

3 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 15, 2025

Hi Christof,

There is a much better way to do this now. Take a look at this article. You can use last. for the form also to get the last form. 

https://community.atlassian.com/t5/Jira-articles/Forms-Automation-Access-form-fields-with-smart-values/ba-p/2862665

 

Christof Hurst
Contributor
January 15, 2025

Thanks John, 

that solved the problem. Wonder why this isn't linked with smart values.

BR Christof

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 15, 2025

Great! Glad to hear it helped.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events