1

我需要获取LinkTypesJira 已知的所有内容的完整列表。由于我找不到任何提供此信息的文档,我更愿意通过 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;

其余客户端已经启动并运行。我只需要检索的 URL。

4

1 回答 1

2

我不确定,但我认为您正在寻找此 REST 请求。

/rest/api/2/issueLinkType

示例: https ://jira.atlassian.com/rest/api/2/issueLinkType

您也可以在此处找到文档。

https://docs.atlassian.com/jira/REST/latest/

谢谢。

于 2015-07-27T18:31:50.137 回答