通过Jira REST API检索Jira链接类型

通过Jira REST API检索Jira链接类型,jira,jira-rest-api,jira-rest-java-api,Jira,Jira Rest Api,Jira Rest Java Api,我需要获得Jira知道的所有链接类型的完整列表。因为我找不到任何提供此信息的文档,所以我更愿意通过JIRA REST API检索所有类型。有办法吗 List<Type> types = jiraRestClient.runQuery("https://jira-host.com/rest/api/latest/<allLinkTypes>"); ... @JsonInclude(JsonInclude.Include.NON_NULL) @Generate

我需要获得Jira知道的所有
链接类型的完整列表。因为我找不到任何提供此信息的文档,所以我更愿意通过JIRA REST API检索所有类型。有办法吗

 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;
List types=jiraRestClient.runQuery(“https://jira-host.com/rest/api/latest/");
... 
@JsonInclude(JsonInclude.Include.NON_NULL)
@生成(“org.jsonschema2pojo”)
@JsonPropertyOrder({“id”、“名称”、“向内”、“向外”、“自我”})
公共类类型
{
@JsonProperty(“id”)
私有字符串id;
@JsonProperty(“名称”)
私有字符串名称;
@JsonProperty(“内向”)
私有字符串向内;
@JsonProperty(“外向”)
私有字符串向外;
@JsonProperty(“自我”)
私有字符串自身;

rest客户端已启动并正在运行。我只需要用于检索的URL。

我不确定,但我认为您正在查找此rest请求

/rest/api/2/issueLinkType

例如:

您也可以在这里找到文档

谢谢