Custom Field configuration schemes API

IshanL
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.
December 9, 2013

We can assign project to only one custom field configuration scheme from JIRA admin UI. Even if this is the case JIRA API returns list of projects for give custom field configration scheme. Can anyone explain why is this?

e.g

final CustomField field;

for(FieldConfigScheme fieldConfigScheme: field.getConfigurationSchemes()){

List<Project> projects = fieldConfigScheme.getAssociatedProjectObjects();

}

1 answer

1 accepted

2 votes
Answer accepted
RambanamP
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.
December 9, 2013

you can configure same field configuration scheme to multiple projects that's why the api retuning List of projects

IshanL
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.
December 9, 2013

Right, I got it. Thanks.

Suggest an answer

Log in or Sign up to answer