It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confiforms - Using Smart Dropdown to pass choice to JIRA but getting ID instead of option choice

Hi,

I'm using Confiforms to create an intake form in Confluence to create JIRA issues. One of the fields is a Smart Dropdown field referencing a Confiform Table on another page (sub-page of the main page). 

The dropdown correctly shows the options and allows you to select the product. The Stored Data of the form correctly records the product selected, but when it is passed to JIRA in the JSON code it passes the Confiform generated Row ID 8693080a-bec3-4c8c-9708-337f50b24ede

Is there a Virtual Function or other code I need to put on the end of the variable when passing it through JSON? Currently this is the code:  [entry.ImpactedProducts.escapeJSON]

Thanks. 

2 answers

0 votes
Davin Studer Community Leader Nov 09, 2017

It should look like this...

[entry.ImpactedProducts.{fieldnamefromsmartform}.escapeJSON]

So using the below screen shot as an example if the field in the smart form you were connecting to was called thing your entry text would look like this...

[entry.ImpactedProducts.thing.escapeJSON]

Capture.PNG

You will need to have the actual codes your JIRA expects stored in the form which your ImpactedProducts field references.

This way you will need to change the reference to your smart field to actually take that other field from a target form

[entry.ImpactedProducts.<HERE_GOES_THE_FIELD_NAME_OF_THE_FIELD_IN_REFERENCED_FORM_WHICH_HOLDS_THE_ID_YOUR_JIRA_UNDERSTANDS>]

Having your [entry.ImpactedProducts] get's you actually the internal ID (UUID) of the record referenced (from that other form your smart field takes the values from)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,933 views 15 38
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you