1

Jiraが認識しているすべてのリストを取得する必要がありますLinkTypes。この情報を提供するドキュメントが見つからなかったため、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 に答える