Jira Rest Java Client Core works only for one issuetype?

Hallo!

I would need all the field ids (particulary for the custumfields) in JIRA project. Therefore I've wrote (for trying out) this piece of code.

Its written using

        <dependency>

            <groupId>com.atlassian.jira</groupId>

            <artifactId>jira-rest-java-client-core</artifactId>

            <version>2.0.0-m31</version>

        </dependency>

in m ypom.xml dependencies. The is running against a JIRA 5.1.8. on a Linux machine.

import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import com.atlassian.jira.rest.client.api.GetCreateIssueMetadataOptions;
import com.atlassian.jira.rest.client.api.GetCreateIssueMetadataOptionsBuilder;
import com.atlassian.jira.rest.client.api.IssueRestClient;
import com.atlassian.jira.rest.client.api.JiraRestClient;
import com.atlassian.jira.rest.client.api.JiraRestClientFactory;
import com.atlassian.jira.rest.client.api.domain.CimFieldInfo;
import com.atlassian.jira.rest.client.api.domain.CimIssueType;
import com.atlassian.jira.rest.client.api.domain.CimProject;
import com.atlassian.jira.rest.client.api.domain.FieldSchema;
import com.atlassian.jira.rest.client.api.domain.StandardOperation;
import com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory;
import com.atlassian.util.concurrent.Promise;

public class Tryout {

    public static void main(String[] args)  {
        JiraRestClientFactory restFactory = new AsynchronousJiraRestClientFactory();
        JiraRestClient client = null;
        
        try {
            URI jiraUri = new URI("http://localhost:80");
             client= restFactory.createWithBasicHttpAuthentication(
                    jiraUri, "me", "mypassword");
            IssueRestClient issueClient = client.getIssueClient();  
            
            Map&lt;String, Long&gt; fields = getFieldtypeandId(issueClient, "P0735");
            Set&lt;String&gt; fkeys = fields.keySet();
            for(String key: fkeys){
                System.out.println(key + " =&gt; " + fields.get(key));
            }
            System.out.println("==================================================");
            GetCreateIssueMetadataOptions metaOpts = new GetCreateIssueMetadataOptionsBuilder().withExpandedIssueTypesFields().withIssueTypeIds(14L).withProjectKeys("P0735").build();
            Promise&lt;Iterable&lt;CimProject&gt;&gt; metaData=issueClient.getCreateIssueMetadata(metaOpts);
            
            Iterable&lt;CimProject&gt; metaPrj = metaData.claim();
            
            for(CimProject p: metaPrj){
                Iterable &lt;CimIssueType&gt; issueTypes = p.getIssueTypes();
                
                for(CimIssueType type: issueTypes){
                    
                    System.out.println(type.getName() + " "+type.getId());
                    Map&lt;String, CimFieldInfo&gt; fieldInfo =type.getFields();
                    Set&lt;String&gt; keys = fieldInfo.keySet();
                    for(String key: keys){
                        String fieldname = fieldInfo.get(key).getName();
                        boolean required = fieldInfo.get(key).isRequired();
                        System.out.println(key + " =&gt; "+ fieldname+ (required?" required":""));
                        Iterable &lt;Object&gt; allowed = fieldInfo.get(key).getAllowedValues();
                        if(allowed != null)
                            for(Object o : allowed){
                                System.out.println(o.toString());
                            }
                        Set&lt;StandardOperation&gt; ops =fieldInfo.get(key).getOperations();
                        for(StandardOperation op: ops){
                            System.out.println(op.name());
                        }
                        FieldSchema fs = fieldInfo.get(key).getSchema();
                        System.out.println(fs.getType());
                        System.out.println();
                    }
                    
                }
                
            }
            

        } catch (URISyntaxException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }finally{
            try {
                client.close();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }

    }
    
    static Map&lt;String, Long&gt; getFieldtypeandId(IssueRestClient client,String pkey){
        Map&lt;String, Long&gt; fnid = new HashMap&lt;String, Long&gt;();
        GetCreateIssueMetadataOptions metaOpts = new GetCreateIssueMetadataOptionsBuilder().withProjectKeys(pkey).build();
        Promise&lt;Iterable&lt;CimProject&gt;&gt; metaData=client.getCreateIssueMetadata(metaOpts);
        Iterable&lt;CimProject&gt; metaPrj = metaData.claim();
        for(CimProject p: metaPrj){
            Iterable &lt;CimIssueType&gt; issueTypes = p.getIssueTypes();
            for(CimIssueType type: issueTypes){
                fnid.put(type.getName(), type.getId());
            }
        }
        return fnid;
    }

}

This works fine only if I ask for the issuetype id 12 (Testcase/Testfall) and I will get:

Verbesserung =&gt; 4
Verbesserung (sub) =&gt; 14
Fehler =&gt; 1
Testfall =&gt; 12
Fehler (sub) =&gt; 13
Testfall (sub) =&gt; 16
Neue Funktionalität =&gt; 2
Neue Funktionalität (sub) =&gt; 15
==================================================
Testfall 12
summary =&gt; Zusammenfassung required
SET
string

customfield_10080 =&gt; Fachlicher Tester required
SET
ADD
REMOVE
array

customfield_10280 =&gt; ID
SET
string

customfield_10282 =&gt; Teststufe
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10281, id=10281, value=Systemtest, children=[], child=null}
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10282, id=10282, value=Systemeinzeltest, children=[], child=null}
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10283, id=10283, value=Systemintegrationstest, children=[], child=null}
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10284, id=10284, value=Systemgesamttest, children=[], child=null}
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10285, id=10285, value=Abnahmetest, children=[], child=null}
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10286, id=10286, value=Entwicklertest, children=[], child=null}
SET
string

fixVersions =&gt; Lösungsversion(en)
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17158, id=17158, name=tmx_fo12, description=Original Referenzumgebung MxG2000, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17159, id=17159, name=tmx_fo10, description=Referenzumgebung MxG2000 nach Purge, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17162, id=17162, name=tmx3_o10, description=DZ 1st-Migration TP02, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16775, id=16775, name=tmx3_o01, description=MxPress TP02, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17157, id=17157, name=tmx3_f10, description=DZ 1st-Migration TP01, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16774, id=16774, name=tmx3_f01, description=MxPress TP01, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17156, id=17156, name=tmx3_r21, description=DZ 1st-Migration TP04, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17161, id=17161, name=tmx3_r20, description=DZ 1st-Migration TP04, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17155, id=17155, name=tmx3_r11, description=DZ 1st-Migration TP03, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17160, id=17160, name=tmx3_r10, description=DZ 1st-Migration TP03, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16773, id=16773, name=tmx3_r02, description=MxPress TP04, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16772, id=16772, name=tmx3_r01, description=MxPress TP03, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17154, id=17154, name=tmx3_i13, description=DZ 1st-Migration TP07, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17153, id=17153, name=tmx3_i12, description=DZ 1st-Migration TP05, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17152, id=17152, name=tmx3_i11, description=DZ 1st-Migration TP06, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16918, id=16918, name=tmx3_i10, description=DZ 1st-Migration Master, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16771, id=16771, name=tmx3_i04, description=MxPress TP05, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16770, id=16770, name=tmx3_i03, description=MxPress TP07, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16769, id=16769, name=tmx3_i02, description=MxPress TP06, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16768, id=16768, name=tmx3_i01, description=MxPress Master, isArchived=false, isReleased=false, releaseDate=null}
ADD
SET
REMOVE
array

customfield_10281 =&gt; Testschritt
SET
string

customfield_10122 =&gt; Entwickler
SET
ADD
REMOVE
array

customfield_10140 =&gt; ChaRM ID
SET
string

customfield_10141 =&gt; HPSM ID
SET
string

customfield_10123 =&gt; Erwartetes Ergebnis required
SET
string

customfield_10124 =&gt; Koordinator
SET
ADD
REMOVE
array

description =&gt; Beschreibung
SET
string

priority =&gt; Priorität
BasicPriority{self=http://jira1.dzbank.vrnet:8080/rest/api/2/priority/1, name=1 - Blockade, id=1}
BasicPriority{self=http://jira1.dzbank.vrnet:8080/rest/api/2/priority/2, name=2 - Kritisch, id=2}
BasicPriority{self=http://jira1.dzbank.vrnet:8080/rest/api/2/priority/3, name=3 - Wichtig, id=3}
BasicPriority{self=http://jira1.dzbank.vrnet:8080/rest/api/2/priority/4, name=4 - Unwichtig, id=4}
BasicPriority{self=http://jira1.dzbank.vrnet:8080/rest/api/2/priority/5, name=5 - Unbedeutend, id=5}
BasicPriority{self=http://jira1.dzbank.vrnet:8080/rest/api/2/priority/6, name=6 - Information, id=6}
SET
priority

duedate =&gt; Fälligkeitsdatum
SET
date

assignee =&gt; Bearbeiter
SET
user

attachment =&gt; Anhang
array

customfield_10129 =&gt; Testobjekt
SET
string

customfield_10128 =&gt; Testabschluss
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10073, id=10073, value=Tests wurden auf der entwicklungsnahen Testumgebung durchgeführt, children=[], child=null}
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10074, id=10074, value=Tests wurden auf der Integrationsumgebung durchgeführt, children=[], child=null}
CustomFieldOption{self=http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10075, id=10075, value=Tests wurden auf der produktionsnahen Testumgebung durchgeführt, children=[], child=null}
SET
ADD
REMOVE
array

customfield_10127 =&gt; Tatsächliches Ergebnis
SET
string

customfield_10126 =&gt; Referenz
SET
string

versions =&gt; betrifft Version(en)
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17158, id=17158, name=tmx_fo12, description=Original Referenzumgebung MxG2000, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17159, id=17159, name=tmx_fo10, description=Referenzumgebung MxG2000 nach Purge, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17162, id=17162, name=tmx3_o10, description=DZ 1st-Migration TP02, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16775, id=16775, name=tmx3_o01, description=MxPress TP02, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17157, id=17157, name=tmx3_f10, description=DZ 1st-Migration TP01, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16774, id=16774, name=tmx3_f01, description=MxPress TP01, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17156, id=17156, name=tmx3_r21, description=DZ 1st-Migration TP04, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17161, id=17161, name=tmx3_r20, description=DZ 1st-Migration TP04, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17155, id=17155, name=tmx3_r11, description=DZ 1st-Migration TP03, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17160, id=17160, name=tmx3_r10, description=DZ 1st-Migration TP03, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16773, id=16773, name=tmx3_r02, description=MxPress TP04, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16772, id=16772, name=tmx3_r01, description=MxPress TP03, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17154, id=17154, name=tmx3_i13, description=DZ 1st-Migration TP07, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17153, id=17153, name=tmx3_i12, description=DZ 1st-Migration TP05, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17152, id=17152, name=tmx3_i11, description=DZ 1st-Migration TP06, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16918, id=16918, name=tmx3_i10, description=DZ 1st-Migration Master, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16771, id=16771, name=tmx3_i04, description=MxPress TP05, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16770, id=16770, name=tmx3_i03, description=MxPress TP07, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16769, id=16769, name=tmx3_i02, description=MxPress TP06, isArchived=false, isReleased=false, releaseDate=null}
Version{self=http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16768, id=16768, name=tmx3_i01, description=MxPress Master, isArchived=false, isReleased=false, releaseDate=null}
ADD
SET
REMOVE
array

project =&gt; Projekt required
BasicProject{self=http://jira1.dzbank.vrnet:8080/rest/api/2/project/P0735, key=P0735, id=12232, name=P0735 MX.3}
SET
project

customfield_10130 =&gt; Testparameter
SET
string

components =&gt; Komponente(n)
BasicComponent{id=17812, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17812, name=Client-Java, description=null}
BasicComponent{id=17813, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17813, name=Client-MX, description=null}
BasicComponent{id=17811, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17811, name=Client-Terminalserver, description=null}
BasicComponent{id=17815, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17815, name=Config-Datamart, description=null}
BasicComponent{id=17810, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17810, name=Config-Logging, description=null}
BasicComponent{id=17814, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17814, name=Config-MLC, description=null}
BasicComponent{id=17733, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17733, name=GUI, description=null}
BasicComponent{id=17735, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17735, name=SST, description=null}
BasicComponent{id=17816, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17816, name=Sybase-ASE, description=null}
BasicComponent{id=17818, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17818, name=Sybase-DB-Datamart, description=null}
BasicComponent{id=17817, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17817, name=Sybase-DB-Financial, description=null}
BasicComponent{id=17819, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/17819, name=Sybase-DB-MLC, description=null}
BasicComponent{id=19333, self=http://jira1.dzbank.vrnet:8080/rest/api/2/component/19333, name=Z_TEST, description=null}
SET
ADD
REMOVE
array

customfield_10482 =&gt; AnforderungsID
SET
string

customfield_10173 =&gt; Technischer Tester
SET
ADD
REMOVE
array

But if I try to get the information from any other issuetype say 14 (Verbesserung (sub)), I'll receive the folloing exception:

Verbesserung =&gt; 4
Verbesserung (sub) =&gt; 14
Fehler =&gt; 1
Testfall =&gt; 12
Fehler (sub) =&gt; 13
Testfall (sub) =&gt; 16
Neue Funktionalität =&gt; 2
Neue Funktionalität (sub) =&gt; 15
==================================================
Exception in thread "main" RestClientException{statusCode=Optional.absent(), errorCollections=[]}
    at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)
    at de.dzbank.jira.rest.firstep.Tryout.main(Tryout.java:45)
Caused by: RestClientException{statusCode=Optional.absent(), errorCollections=[]}
    at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$3.apply(AbstractAsynchronousRestClient.java:181)
    at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$3.apply(AbstractAsynchronousRestClient.java:175)
    at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:62)
    at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:12)
    at com.atlassian.util.concurrent.Promises$Of$3.apply(Promises.java:285)
    at com.atlassian.util.concurrent.Promises$2.onSuccess(Promises.java:162)
    at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
    at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
    at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
    at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
    at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
    at com.atlassian.util.concurrent.Promises$Of$3.apply(Promises.java:285)
    at com.atlassian.util.concurrent.Promises$2.onSuccess(Promises.java:162)
    at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
    at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
    at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
    at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
    at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
    at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$1$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:46)
    at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:197)
    at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient.runInContext(SettableFuturePromiseHttpPromiseAsyncClient.java:90)
    at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable.run(SettableFuturePromiseHttpPromiseAsyncClient.java:192)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
Caused by: org.codehaus.jettison.json.JSONException: JSONObject["description"] not found.
    at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
    at org.codehaus.jettison.json.JSONObject.getString(JSONObject.java:487)
    at com.atlassian.jira.rest.client.internal.json.SecurityLevelJsonParser.parse(SecurityLevelJsonParser.java:36)
    at com.atlassian.jira.rest.client.internal.json.SecurityLevelJsonParser.parse(SecurityLevelJsonParser.java:30)
    at com.atlassian.jira.rest.client.internal.json.GenericJsonArrayParser.parse(GenericJsonArrayParser.java:39)
    at com.atlassian.jira.rest.client.internal.json.CimFieldsInfoMapJsonParser.parseAllowedValues(CimFieldsInfoMapJsonParser.java:107)
    at com.atlassian.jira.rest.client.internal.json.CimFieldsInfoMapJsonParser.parseIssueFieldInfo(CimFieldsInfoMapJsonParser.java:75)
    at com.atlassian.jira.rest.client.internal.json.CimFieldsInfoMapJsonParser.parse(CimFieldsInfoMapJsonParser.java:65)
    at com.atlassian.jira.rest.client.internal.json.CimIssueTypeJsonParser.parse(CimIssueTypeJsonParser.java:43)
    at com.atlassian.jira.rest.client.internal.json.CimIssueTypeJsonParser.parse(CimIssueTypeJsonParser.java:33)
    at com.atlassian.jira.rest.client.internal.json.GenericJsonArrayParser.parse(GenericJsonArrayParser.java:39)
    at com.atlassian.jira.rest.client.internal.json.GenericJsonArrayParser.parse(GenericJsonArrayParser.java:23)
    at com.atlassian.jira.rest.client.internal.json.CimProjectJsonParser.parse(CimProjectJsonParser.java:46)
    at com.atlassian.jira.rest.client.internal.json.CimProjectJsonParser.parse(CimProjectJsonParser.java:35)
    at com.atlassian.jira.rest.client.internal.json.GenericJsonArrayParser.parse(GenericJsonArrayParser.java:39)
    at com.atlassian.jira.rest.client.internal.json.CreateIssueMetadataJsonParser.parse(CreateIssueMetadataJsonParser.java:34)
    at com.atlassian.jira.rest.client.internal.json.CreateIssueMetadataJsonParser.parse(CreateIssueMetadataJsonParser.java:28)
    at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$1.handle(AbstractAsynchronousRestClient.java:138)
    at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$3.apply(AbstractAsynchronousRestClient.java:179)
    ... 26 more

On all issues except id 12 there is this json exception:

Caused by: org.codehaus.jettison.json.JSONException: JSONObject["description"] not found.

And I have no idea what is the error here. Shouldn't the above code work for every issuetyp? Or what is my mistake?

At least the raw json.

Issuetype 12

{ "expand" : "projects",
  "projects" : [ { "avatarUrls" : { "16x16" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?size=small&amp;pid=12232&amp;avatarId=11606",
            "48x48" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?pid=12232&amp;avatarId=11606"
          },
        "expand" : "issuetypes",
        "id" : "12232",
        "issuetypes" : [ { "description" : "Eine Testsituation, die beschreibt wie das System zu testen ist.",
              "expand" : "fields",
              "fields" : { "assignee" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/user/assignable/search?issueKey=null&amp;username=",
                      "name" : "Bearbeiter",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "assignee",
                          "type" : "user"
                        }
                    },
                  "attachment" : { "name" : "Anhang",
                      "operations" : [  ],
                      "required" : false,
                      "schema" : { "items" : "attachment",
                          "system" : "attachment",
                          "type" : "array"
                        }
                    },
                  "components" : { "allowedValues" : [ { "id" : "17812",
                            "name" : "Client-Java",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17812"
                          },
                          { "id" : "17813",
                            "name" : "Client-MX",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17813"
                          },
                          { "id" : "17811",
                            "name" : "Client-Terminalserver",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17811"
                          },
                          { "id" : "17815",
                            "name" : "Config-Datamart",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17815"
                          },
                          { "id" : "17810",
                            "name" : "Config-Logging",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17810"
                          },
                          { "id" : "17814",
                            "name" : "Config-MLC",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17814"
                          },
                          { "id" : "17733",
                            "name" : "GUI",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17733"
                          },
                          { "id" : "17735",
                            "name" : "SST",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17735"
                          },
                          { "id" : "17816",
                            "name" : "Sybase-ASE",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17816"
                          },
                          { "id" : "17818",
                            "name" : "Sybase-DB-Datamart",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17818"
                          },
                          { "id" : "17817",
                            "name" : "Sybase-DB-Financial",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17817"
                          },
                          { "id" : "17819",
                            "name" : "Sybase-DB-MLC",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17819"
                          },
                          { "id" : "19333",
                            "name" : "Z_TEST",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/19333"
                          }
                        ],
                      "name" : "Komponente(n)",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "items" : "component",
                          "system" : "components",
                          "type" : "array"
                        }
                    },
                  "customfield_10080" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10080&amp;query=",
                      "name" : "Fachlicher Tester",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : true,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10080,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10122" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10122&amp;query=",
                      "name" : "Entwickler",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10122,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10123" : { "name" : "Erwartetes Ergebnis",
                      "operations" : [ "set" ],
                      "required" : true,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textarea",
                          "customId" : 10123,
                          "type" : "string"
                        }
                    },
                  "customfield_10124" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10124&amp;query=",
                      "name" : "Koordinator",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10124,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10126" : { "name" : "Referenz",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10126,
                          "type" : "string"
                        }
                    },
                  "customfield_10127" : { "name" : "Tatsächliches Ergebnis",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textarea",
                          "customId" : 10127,
                          "type" : "string"
                        }
                    },
                  "customfield_10128" : { "allowedValues" : [ { "id" : "10073",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10073",
                            "value" : "Tests wurden auf der entwicklungsnahen Testumgebung durchgeführt"
                          },
                          { "id" : "10074",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10074",
                            "value" : "Tests wurden auf der Integrationsumgebung durchgeführt"
                          },
                          { "id" : "10075",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10075",
                            "value" : "Tests wurden auf der produktionsnahen Testumgebung durchgeführt"
                          }
                        ],
                      "name" : "Testabschluss",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes",
                          "customId" : 10128,
                          "items" : "string",
                          "type" : "array"
                        }
                    },
                  "customfield_10129" : { "name" : "Testobjekt",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10129,
                          "type" : "string"
                        }
                    },
                  "customfield_10130" : { "name" : "Testparameter",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10130,
                          "type" : "string"
                        }
                    },
                  "customfield_10140" : { "name" : "ChaRM ID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10140,
                          "type" : "string"
                        }
                    },
                  "customfield_10141" : { "name" : "HPSM ID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10141,
                          "type" : "string"
                        }
                    },
                  "customfield_10173" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10173&amp;query=",
                      "name" : "Technischer Tester",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10173,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10280" : { "name" : "ID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10280,
                          "type" : "string"
                        }
                    },
                  "customfield_10281" : { "name" : "Testschritt",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10281,
                          "type" : "string"
                        }
                    },
                  "customfield_10282" : { "allowedValues" : [ { "id" : "10281",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10281",
                            "value" : "Systemtest"
                          },
                          { "id" : "10282",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10282",
                            "value" : "Systemeinzeltest"
                          },
                          { "id" : "10283",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10283",
                            "value" : "Systemintegrationstest"
                          },
                          { "id" : "10284",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10284",
                            "value" : "Systemgesamttest"
                          },
                          { "id" : "10285",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10285",
                            "value" : "Abnahmetest"
                          },
                          { "id" : "10286",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10286",
                            "value" : "Entwicklertest"
                          }
                        ],
                      "name" : "Teststufe",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:select",
                          "customId" : 10282,
                          "type" : "string"
                        }
                    },
                  "customfield_10482" : { "name" : "AnforderungsID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10482,
                          "type" : "string"
                        }
                    },
                  "description" : { "name" : "Beschreibung",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "description",
                          "type" : "string"
                        }
                    },
                  "duedate" : { "name" : "Fälligkeitsdatum",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "duedate",
                          "type" : "date"
                        }
                    },
                  "fixVersions" : { "allowedValues" : [ { "archived" : false,
                            "description" : "Original Referenzumgebung MxG2000",
                            "id" : "17158",
                            "name" : "tmx_fo12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17158"
                          },
                          { "archived" : false,
                            "description" : "Referenzumgebung MxG2000 nach Purge",
                            "id" : "17159",
                            "name" : "tmx_fo10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17159"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP02",
                            "id" : "17162",
                            "name" : "tmx3_o10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17162"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP02",
                            "id" : "16775",
                            "name" : "tmx3_o01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16775"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP01",
                            "id" : "17157",
                            "name" : "tmx3_f10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17157"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP01",
                            "id" : "16774",
                            "name" : "tmx3_f01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16774"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17156",
                            "name" : "tmx3_r21",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17156"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17161",
                            "name" : "tmx3_r20",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17161"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17155",
                            "name" : "tmx3_r11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17155"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17160",
                            "name" : "tmx3_r10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17160"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP04",
                            "id" : "16773",
                            "name" : "tmx3_r02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16773"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP03",
                            "id" : "16772",
                            "name" : "tmx3_r01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16772"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP07",
                            "id" : "17154",
                            "name" : "tmx3_i13",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17154"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP05",
                            "id" : "17153",
                            "name" : "tmx3_i12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17153"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP06",
                            "id" : "17152",
                            "name" : "tmx3_i11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17152"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration Master",
                            "id" : "16918",
                            "name" : "tmx3_i10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16918"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP05",
                            "id" : "16771",
                            "name" : "tmx3_i04",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16771"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP07",
                            "id" : "16770",
                            "name" : "tmx3_i03",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16770"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP06",
                            "id" : "16769",
                            "name" : "tmx3_i02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16769"
                          },
                          { "archived" : false,
                            "description" : "MxPress Master",
                            "id" : "16768",
                            "name" : "tmx3_i01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16768"
                          }
                        ],
                      "name" : "Lösungsversion(en)",
                      "operations" : [ "set",
                          "add",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "items" : "version",
                          "system" : "fixVersions",
                          "type" : "array"
                        }
                    },
                  "priority" : { "allowedValues" : [ { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_blocker.gif",
                            "id" : "1",
                            "name" : "1 - Blockade",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/1"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_critical.gif",
                            "id" : "2",
                            "name" : "2 - Kritisch",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/2"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_major.gif",
                            "id" : "3",
                            "name" : "3 - Wichtig",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/3"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_minor.gif",
                            "id" : "4",
                            "name" : "4 - Unwichtig",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/4"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_trivial.gif",
                            "id" : "5",
                            "name" : "5 - Unbedeutend",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/5"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/dz_images/meldung.gif",
                            "id" : "6",
                            "name" : "6 - Information",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/6"
                          }
                        ],
                      "name" : "Priorität",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "priority",
                          "type" : "priority"
                        }
                    },
                  "project" : { "allowedValues" : [ { "avatarUrls" : { "16x16" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?size=small&amp;pid=12232&amp;avatarId=11606",
                                "48x48" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?pid=12232&amp;avatarId=11606"
                              },
                            "id" : "12232",
                            "key" : "P0735",
                            "name" : "P0735 MX.3",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/project/P0735"
                          } ],
                      "name" : "Projekt",
                      "operations" : [ "set" ],
                      "required" : true,
                      "schema" : { "system" : "project",
                          "type" : "project"
                        }
                    },
                  "summary" : { "name" : "Zusammenfassung",
                      "operations" : [ "set" ],
                      "required" : true,
                      "schema" : { "system" : "summary",
                          "type" : "string"
                        }
                    },
                  "versions" : { "allowedValues" : [ { "archived" : false,
                            "description" : "Original Referenzumgebung MxG2000",
                            "id" : "17158",
                            "name" : "tmx_fo12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17158"
                          },
                          { "archived" : false,
                            "description" : "Referenzumgebung MxG2000 nach Purge",
                            "id" : "17159",
                            "name" : "tmx_fo10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17159"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP02",
                            "id" : "17162",
                            "name" : "tmx3_o10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17162"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP02",
                            "id" : "16775",
                            "name" : "tmx3_o01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16775"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP01",
                            "id" : "17157",
                            "name" : "tmx3_f10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17157"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP01",
                            "id" : "16774",
                            "name" : "tmx3_f01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16774"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17156",
                            "name" : "tmx3_r21",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17156"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17161",
                            "name" : "tmx3_r20",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17161"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17155",
                            "name" : "tmx3_r11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17155"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17160",
                            "name" : "tmx3_r10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17160"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP04",
                            "id" : "16773",
                            "name" : "tmx3_r02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16773"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP03",
                            "id" : "16772",
                            "name" : "tmx3_r01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16772"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP07",
                            "id" : "17154",
                            "name" : "tmx3_i13",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17154"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP05",
                            "id" : "17153",
                            "name" : "tmx3_i12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17153"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP06",
                            "id" : "17152",
                            "name" : "tmx3_i11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17152"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration Master",
                            "id" : "16918",
                            "name" : "tmx3_i10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16918"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP05",
                            "id" : "16771",
                            "name" : "tmx3_i04",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16771"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP07",
                            "id" : "16770",
                            "name" : "tmx3_i03",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16770"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP06",
                            "id" : "16769",
                            "name" : "tmx3_i02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16769"
                          },
                          { "archived" : false,
                            "description" : "MxPress Master",
                            "id" : "16768",
                            "name" : "tmx3_i01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16768"
                          }
                        ],
                      "name" : "betrifft Version(en)",
                      "operations" : [ "set",
                          "add",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "items" : "version",
                          "system" : "versions",
                          "type" : "array"
                        }
                    }
                },
              "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/task.gif",
              "id" : "12",
              "name" : "Testfall",
              "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/issuetype/12",
              "subtask" : false
            } ],
        "key" : "P0735",
        "name" : "P0735 MX.3",
        "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/project/P0735"
      } ]
}

Issuetype 14

{ "expand" : "projects",
  "projects" : [ { "avatarUrls" : { "16x16" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?size=small&amp;pid=12232&amp;avatarId=11606",
            "48x48" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?pid=12232&amp;avatarId=11606"
          },
        "expand" : "issuetypes",
        "id" : "12232",
        "issuetypes" : [ { "description" : "Eine Verbesserung, die einem Vorgang untergeordnet ist.",
              "expand" : "fields",
              "fields" : { "assignee" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/user/assignable/search?issueKey=null&amp;username=",
                      "name" : "Bearbeiter",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "assignee",
                          "type" : "user"
                        }
                    },
                  "attachment" : { "name" : "Anhang",
                      "operations" : [  ],
                      "required" : false,
                      "schema" : { "items" : "attachment",
                          "system" : "attachment",
                          "type" : "array"
                        }
                    },
                  "components" : { "allowedValues" : [ { "id" : "17812",
                            "name" : "Client-Java",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17812"
                          },
                          { "id" : "17813",
                            "name" : "Client-MX",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17813"
                          },
                          { "id" : "17811",
                            "name" : "Client-Terminalserver",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17811"
                          },
                          { "id" : "17815",
                            "name" : "Config-Datamart",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17815"
                          },
                          { "id" : "17810",
                            "name" : "Config-Logging",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17810"
                          },
                          { "id" : "17814",
                            "name" : "Config-MLC",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17814"
                          },
                          { "id" : "17733",
                            "name" : "GUI",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17733"
                          },
                          { "id" : "17735",
                            "name" : "SST",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17735"
                          },
                          { "id" : "17816",
                            "name" : "Sybase-ASE",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17816"
                          },
                          { "id" : "17818",
                            "name" : "Sybase-DB-Datamart",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17818"
                          },
                          { "id" : "17817",
                            "name" : "Sybase-DB-Financial",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17817"
                          },
                          { "id" : "17819",
                            "name" : "Sybase-DB-MLC",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/17819"
                          },
                          { "id" : "19333",
                            "name" : "Z_TEST",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/component/19333"
                          }
                        ],
                      "name" : "Komponente(n)",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "items" : "component",
                          "system" : "components",
                          "type" : "array"
                        }
                    },
                  "customfield_10060" : { "name" : "Geänderte Dateien",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textarea",
                          "customId" : 10060,
                          "type" : "string"
                        }
                    },
                  "customfield_10080" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10080&amp;query=",
                      "name" : "Fachlicher Tester",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10080,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10111" : { "allowedValues" : [ { "id" : "10060",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10060",
                            "value" : "Ja, ohne Nachbearbeitung"
                          },
                          { "id" : "10061",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10061",
                            "value" : "Ja, mit Nachbearbeitung"
                          },
                          { "id" : "10380",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10380",
                            "value" : "Kein Review wegen marginaler Änderungen"
                          },
                          { "id" : "10062",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10062",
                            "value" : "Nein"
                          },
                          { "id" : "10781",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10781",
                            "value" : "Ja"
                          }
                        ],
                      "name" : "Code Review durchgeführt",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:select",
                          "customId" : 10111,
                          "type" : "string"
                        }
                    },
                  "customfield_10120" : { "name" : "Auftraggeber",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10120,
                          "type" : "string"
                        }
                    },
                  "customfield_10121" : { "allowedValues" : [ { "id" : "10480",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10480",
                            "value" : "Umsetzungsfähige DV-Konzepte liegen vor"
                          },
                          { "id" : "10070",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10070",
                            "value" : "Versionierung ist erfolgt"
                          },
                          { "id" : "10071",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10071",
                            "value" : "Bearbeitung wurde dokumentiert"
                          },
                          { "id" : "10072",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10072",
                            "value" : "Entwicklertest wurde durchgeführt"
                          }
                        ],
                      "name" : "Bearbeitungsabschluss",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes",
                          "customId" : 10121,
                          "items" : "string",
                          "type" : "array"
                        }
                    },
                  "customfield_10122" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10122&amp;query=",
                      "name" : "Entwickler",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10122,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10123" : { "name" : "Erwartetes Ergebnis",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textarea",
                          "customId" : 10123,
                          "type" : "string"
                        }
                    },
                  "customfield_10124" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10124&amp;query=",
                      "name" : "Koordinator",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10124,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10125" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10125&amp;query=",
                      "name" : "Produktionsbetreuer",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10125,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10126" : { "name" : "Referenz",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10126,
                          "type" : "string"
                        }
                    },
                  "customfield_10127" : { "name" : "Tatsächliches Ergebnis",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textarea",
                          "customId" : 10127,
                          "type" : "string"
                        }
                    },
                  "customfield_10128" : { "allowedValues" : [ { "id" : "10073",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10073",
                            "value" : "Tests wurden auf der entwicklungsnahen Testumgebung durchgeführt"
                          },
                          { "id" : "10074",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10074",
                            "value" : "Tests wurden auf der Integrationsumgebung durchgeführt"
                          },
                          { "id" : "10075",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10075",
                            "value" : "Tests wurden auf der produktionsnahen Testumgebung durchgeführt"
                          }
                        ],
                      "name" : "Testabschluss",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes",
                          "customId" : 10128,
                          "items" : "string",
                          "type" : "array"
                        }
                    },
                  "customfield_10129" : { "name" : "Testobjekt",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10129,
                          "type" : "string"
                        }
                    },
                  "customfield_10130" : { "name" : "Testparameter",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10130,
                          "type" : "string"
                        }
                    },
                  "customfield_10140" : { "name" : "ChaRM ID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10140,
                          "type" : "string"
                        }
                    },
                  "customfield_10141" : { "name" : "HPSM ID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10141,
                          "type" : "string"
                        }
                    },
                  "customfield_10172" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10172&amp;query=",
                      "name" : "Reviewer",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10172,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10173" : { "autoCompleteUrl" : "http://jira1.dzbank.vrnet:8080/rest/api/1.0/users/picker?fieldName=customfield_10173&amp;query=",
                      "name" : "Technischer Tester",
                      "operations" : [ "add",
                          "set",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
                          "customId" : 10173,
                          "items" : "user",
                          "type" : "array"
                        }
                    },
                  "customfield_10186" : { "name" : "Epic Link",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.pyxis.greenhopper.jira:gh-epic-link",
                          "customId" : 10186,
                          "items" : "string",
                          "type" : "array"
                        }
                    },
                  "customfield_10280" : { "name" : "ID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10280,
                          "type" : "string"
                        }
                    },
                  "customfield_10281" : { "name" : "Testschritt",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10281,
                          "type" : "string"
                        }
                    },
                  "customfield_10282" : { "allowedValues" : [ { "id" : "10281",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10281",
                            "value" : "Systemtest"
                          },
                          { "id" : "10282",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10282",
                            "value" : "Systemeinzeltest"
                          },
                          { "id" : "10283",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10283",
                            "value" : "Systemintegrationstest"
                          },
                          { "id" : "10284",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10284",
                            "value" : "Systemgesamttest"
                          },
                          { "id" : "10285",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10285",
                            "value" : "Abnahmetest"
                          },
                          { "id" : "10286",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10286",
                            "value" : "Entwicklertest"
                          }
                        ],
                      "name" : "Teststufe",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:select",
                          "customId" : 10282,
                          "type" : "string"
                        }
                    },
                  "customfield_10482" : { "name" : "AnforderungsID",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10482,
                          "type" : "string"
                        }
                    },
                  "customfield_10483" : { "name" : "Taskreferenz",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:textfield",
                          "customId" : 10483,
                          "type" : "string"
                        }
                    },
                  "customfield_10881" : { "allowedValues" : [ { "id" : "10791",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10791",
                            "value" : "Ja"
                          },
                          { "id" : "10792",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/customFieldOption/10792",
                            "value" : "Nein"
                          }
                        ],
                      "name" : "Code Review erforderlich",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "custom" : "com.atlassian.jira.plugin.system.customfieldtypes:select",
                          "customId" : 10881,
                          "type" : "string"
                        }
                    },
                  "description" : { "name" : "Beschreibung",
                      "operations" : [ "set" ],
                      "required" : true,
                      "schema" : { "system" : "description",
                          "type" : "string"
                        }
                    },
                  "duedate" : { "name" : "Fälligkeitsdatum",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "duedate",
                          "type" : "date"
                        }
                    },
                  "fixVersions" : { "allowedValues" : [ { "archived" : false,
                            "description" : "Original Referenzumgebung MxG2000",
                            "id" : "17158",
                            "name" : "tmx_fo12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17158"
                          },
                          { "archived" : false,
                            "description" : "Referenzumgebung MxG2000 nach Purge",
                            "id" : "17159",
                            "name" : "tmx_fo10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17159"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP02",
                            "id" : "17162",
                            "name" : "tmx3_o10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17162"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP02",
                            "id" : "16775",
                            "name" : "tmx3_o01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16775"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP01",
                            "id" : "17157",
                            "name" : "tmx3_f10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17157"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP01",
                            "id" : "16774",
                            "name" : "tmx3_f01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16774"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17156",
                            "name" : "tmx3_r21",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17156"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17161",
                            "name" : "tmx3_r20",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17161"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17155",
                            "name" : "tmx3_r11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17155"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17160",
                            "name" : "tmx3_r10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17160"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP04",
                            "id" : "16773",
                            "name" : "tmx3_r02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16773"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP03",
                            "id" : "16772",
                            "name" : "tmx3_r01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16772"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP07",
                            "id" : "17154",
                            "name" : "tmx3_i13",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17154"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP05",
                            "id" : "17153",
                            "name" : "tmx3_i12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17153"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP06",
                            "id" : "17152",
                            "name" : "tmx3_i11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17152"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration Master",
                            "id" : "16918",
                            "name" : "tmx3_i10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16918"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP05",
                            "id" : "16771",
                            "name" : "tmx3_i04",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16771"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP07",
                            "id" : "16770",
                            "name" : "tmx3_i03",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16770"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP06",
                            "id" : "16769",
                            "name" : "tmx3_i02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16769"
                          },
                          { "archived" : false,
                            "description" : "MxPress Master",
                            "id" : "16768",
                            "name" : "tmx3_i01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16768"
                          }
                        ],
                      "name" : "Lösungsversion(en)",
                      "operations" : [ "set",
                          "add",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "items" : "version",
                          "system" : "fixVersions",
                          "type" : "array"
                        }
                    },
                  "parent" : { "name" : "Übergeordnet",
                      "operations" : [ "set" ],
                      "required" : true,
                      "schema" : { "system" : "parent",
                          "type" : "issuelink"
                        }
                    },
                  "priority" : { "allowedValues" : [ { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_blocker.gif",
                            "id" : "1",
                            "name" : "1 - Blockade",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/1"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_critical.gif",
                            "id" : "2",
                            "name" : "2 - Kritisch",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/2"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_major.gif",
                            "id" : "3",
                            "name" : "3 - Wichtig",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/3"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_minor.gif",
                            "id" : "4",
                            "name" : "4 - Unwichtig",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/4"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/icons/priority_trivial.gif",
                            "id" : "5",
                            "name" : "5 - Unbedeutend",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/5"
                          },
                          { "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/dz_images/meldung.gif",
                            "id" : "6",
                            "name" : "6 - Information",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/priority/6"
                          }
                        ],
                      "name" : "Priorität",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "priority",
                          "type" : "priority"
                        }
                    },
                  "project" : { "allowedValues" : [ { "avatarUrls" : { "16x16" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?size=small&amp;pid=12232&amp;avatarId=11606",
                                "48x48" : "http://jira1.dzbank.vrnet:8080/secure/projectavatar?pid=12232&amp;avatarId=11606"
                              },
                            "id" : "12232",
                            "key" : "P0735",
                            "name" : "P0735 MX.3",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/project/P0735"
                          } ],
                      "name" : "Projekt",
                      "operations" : [ "set" ],
                      "required" : true,
                      "schema" : { "system" : "project",
                          "type" : "project"
                        }
                    },
                  "security" : { "allowedValues" : [ { "description" : "Nur die Projektrolle Administrators darf den Vorgang sehen",
                            "id" : "10010",
                            "name" : "Administrators",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/securitylevel/10010"
                          },
                          { "id" : "10014",
                            "name" : "Public",
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/securitylevel/10014"
                          }
                        ],
                      "name" : "Sicherheitsstufe",
                      "operations" : [ "set" ],
                      "required" : false,
                      "schema" : { "system" : "security",
                          "type" : "securitylevel"
                        }
                    },
                  "summary" : { "name" : "Zusammenfassung",
                      "operations" : [ "set" ],
                      "required" : true,
                      "schema" : { "system" : "summary",
                          "type" : "string"
                        }
                    },
                  "versions" : { "allowedValues" : [ { "archived" : false,
                            "description" : "Original Referenzumgebung MxG2000",
                            "id" : "17158",
                            "name" : "tmx_fo12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17158"
                          },
                          { "archived" : false,
                            "description" : "Referenzumgebung MxG2000 nach Purge",
                            "id" : "17159",
                            "name" : "tmx_fo10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17159"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP02",
                            "id" : "17162",
                            "name" : "tmx3_o10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17162"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP02",
                            "id" : "16775",
                            "name" : "tmx3_o01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16775"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP01",
                            "id" : "17157",
                            "name" : "tmx3_f10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17157"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP01",
                            "id" : "16774",
                            "name" : "tmx3_f01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16774"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17156",
                            "name" : "tmx3_r21",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17156"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP04",
                            "id" : "17161",
                            "name" : "tmx3_r20",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17161"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17155",
                            "name" : "tmx3_r11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17155"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP03",
                            "id" : "17160",
                            "name" : "tmx3_r10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17160"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP04",
                            "id" : "16773",
                            "name" : "tmx3_r02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16773"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP03",
                            "id" : "16772",
                            "name" : "tmx3_r01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16772"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP07",
                            "id" : "17154",
                            "name" : "tmx3_i13",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17154"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP05",
                            "id" : "17153",
                            "name" : "tmx3_i12",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17153"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration TP06",
                            "id" : "17152",
                            "name" : "tmx3_i11",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/17152"
                          },
                          { "archived" : false,
                            "description" : "DZ 1st-Migration Master",
                            "id" : "16918",
                            "name" : "tmx3_i10",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16918"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP05",
                            "id" : "16771",
                            "name" : "tmx3_i04",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16771"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP07",
                            "id" : "16770",
                            "name" : "tmx3_i03",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16770"
                          },
                          { "archived" : false,
                            "description" : "MxPress TP06",
                            "id" : "16769",
                            "name" : "tmx3_i02",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16769"
                          },
                          { "archived" : false,
                            "description" : "MxPress Master",
                            "id" : "16768",
                            "name" : "tmx3_i01",
                            "released" : false,
                            "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/version/16768"
                          }
                        ],
                      "name" : "betrifft Version(en)",
                      "operations" : [ "set",
                          "add",
                          "remove"
                        ],
                      "required" : false,
                      "schema" : { "items" : "version",
                          "system" : "versions",
                          "type" : "array"
                        }
                    }
                },
              "iconUrl" : "http://jira1.dzbank.vrnet:8080/images/dz_images/dz_verbesserung_sub.gif",
              "id" : "14",
              "name" : "Verbesserung (sub)",
              "self" : "http://jira1.dzbank.vrnet:8080/rest/api/latest/issuetype/14",
              "subtask" : true
            } ],
        "key" : "P0735",
        "name" : "P0735 MX.3",
        "self" : "http://jira1.dzbank.vrnet:8080/rest/api/2/project/P0735"
      } ]
}

Any help or hint on how to get the issues' information would be fine.

Greetings, Ulf

1 answer

So, finally I've found a solution for the above described problem.

We use Issue Security scheme. In one of our security levels we omitted the description field. Once we deleted that security level and recreated it with some text in the description field, everything worked fine with the JIRA rest java client core.

 

/Ulf

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

431 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you