Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Confiform passing "Labels" entries to JIRA Edited

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

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!

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
TAGS

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