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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.