ConfiForm to transform checked boxes values to jira components

Laurent January 30, 2025

Hello,

I use a webservice checkbox to display Jira components with ConfiForm
in a form in order to create new Jira tickets

      ConfiForms Field Definition for webservice checkbox: 

      Field name is "components" with id as [entry.id] and label as [entry.name]

I defined json to create the new Jira ticket in the ConfiForms IFTTT Integration Rules using:

"components": [[entry.components.transform(label).asArrayOfKVPairs(name)]]

but result seems to be empty

Any idea ? I tried different syntaxes but no way to have the ticket created with the choosen components


Thanks for your help.

BR

1 comment

Comment

Log in or Sign up to comment
Alex Medved _ConfiForms_
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 31, 2025

Hi @Laurent 

I have recorded a little video, hope it helps

Showing the field configuration, as well as how the expression gets transformed (using PlainView to render)

Alex

Like Laurent likes this
Laurent February 11, 2025

Thanks Alex for you help !

I replaced [entry.id] by id and replaced also [entry.name] by name to make it working 

Would be nice if you could explain the difference between this syntax please ?
I'm alway stuck on it.

Laurent

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Both syntaxes will work

[entry.field_name] will allow you to access even the sub-property, if needed

Something like 

[entry.somefield.anotherfield]

If this specific case, both syntaxes will work as we are accessing the "first level" property (field)

Laurent February 11, 2025

Hello Alex,
I'm not sure to understand.


In my case this definition of "components" does not work:

do-not-work.png

 

 

whereas this definition works fine:

 

works.png

 

 

 




Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

It might depend on the ConfiForms version, but both options should work

TAGS
AUG Leaders

Atlassian Community Events