Forums

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

Confiform passing "Labels" entries to JIRA

Andre T_
Contributor
January 29, 2020

I know adding the following code will add labels to JIRA Issue from Confluence Confiform plugin:

 

"Labels": ["Label1", "Label2"],

 

What if I want to add entry.field to the above code, how can that be done successfully?

2 answers

2 votes
Manuel_vA
Contributor
May 25, 2020

For me the following line included in my IFTTT-JSON works:

"labels": ["[entry.label1]", "[entry.label2]"],

Whrere 'label1' and 'label2' are fields you defined in your ConfiForms form via a 'Confiforms Form Field Definition':

confiforms_label1_field_definition.PNG

 

That's what my whole IFTTT-block looks like:

confiforms_create_issue_ifttt_json.PNG

(ConfiForms Version: 2.12.4 )

 

Hope that helps!

1 vote
Alex Medved _ConfiForms_
Community Champion
May 25, 2020

Also, if you have a multi-value field in ConfiForms and you want to pass it to Jira into labels field then you can do it like this (assuming the field in ConfiForms is called "myfield")

"labels" : [[entry.myfield.asArray]]

See https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions

Suggest an answer

Log in or Sign up to answer