Profields get field value programatically

Camila Lopes August 23, 2014

How can i get a profields field value programatically, is possible?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
carlos.fernandez
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.
August 25, 2014

Hello,

In server side, you have Java Api:

http://profields.javadoc.deiser.com/4.0/

You should use the FieldService (com.deiser.jira.profields.api.field.FieldService) to get the Profields field (com.deiser.jira.profields.api.field.ProfieldsField) by its id and then use the method getValueInProject.

In the client side, you have Rest Api:

http://profields.rest.deiser.com/4.0/

In concrete

http://profields.rest.deiser.com/4.0/#/field/%7Bid%7D/value/%7BprojectId%7D

you should give the field id and the project id in the Rest url.

TAGS
AUG Leaders

Atlassian Community Events