Confiform - How to display Labels loaded from JIRA in confiform multi select dropdown

Mahendra September 26, 2019

I am using the confiform to load the data from the JIRA. The Jira has multiple 'Labels' and I want to display 'Labels' on the confiform in such a way so that user can see existing labels, remove existing lables and add new label on the UI and submit.

What is right kind of field to use? Please give some sample as well.

 

 

 

1 answer

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2020

Hi

you will need to set up a field that "reads" all the labels available in your Jira for specific project

Something like https://wiki.vertuna.com/display/TEST/Building+a+dropdown+field+in+ConfiForms+backed+by+webservice+call+to+Jira+Rest+API+-+components+field  but for labels (see Jira REST API to find appropriate one which lists project labels)

And then have a ConfiForms Field Definition Rules macro that sets the value on that field based on the selected Jira issue (I assume you have a field for that)

You can access issue properties directly as shown https://wiki.vertuna.com/display/CONFIFORMS/Accessing+Jira+issue+fields+directly+from+ConfiForms+using+Jira+issue+field 

And that means you will be able to access "labels" from an issue and set them on the form's field

This is the concept of course, feel free to open support requests with us if you have any questions

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events