Retrieve Jira LinkTypes via JIRA REST API -
i need complete list of linktypes
known jira. since couldn't find documentation provides info, prefer retrieve types via jira rest api. there way that?
list<type> types = jirarestclient.runquery("https://jira-host.com/rest/api/latest/<alllinktypes>"); ... @jsoninclude(jsoninclude.include.non_null) @generated("org.jsonschema2pojo") @jsonpropertyorder({ "id", "name", "inward", "outward", "self" }) public class type { @jsonproperty("id") private string id; @jsonproperty("name") private string name; @jsonproperty("inward") private string inward; @jsonproperty("outward") private string outward; @jsonproperty("self") private string self;
the rest client , running. need url retrieval.
i not sure think looking rest request.
/rest/api/2/issuelinktype
example : https://jira.atlassian.com/rest/api/2/issuelinktype
also can find documentation here.
https://docs.atlassian.com/jira/rest/latest/
thanks.
Comments
Post a Comment