0

JIRA version 7.3.5 does not supports SOAP APIs, hence I want to migrate my code from SOAP to REST APIs.

PROBLEM STATEMENT:

For a given JIRA ID, i want the API which can return me the JIRA details:

For Example:

If I query for "Issue Type", the API should return one of the following types:

Issue Type:

New Feature
Support
Bug 
Change Request
Story
Epic
Summary Task
Task
Documentation

Similarly, i want to get the result for other details such as "Status", "Priority", "Resolution", "Labels", "Severity" etc. etc.

I'm new to REST APIs and hence unable to locate the exact documentation for same.

I referred to following documentation but it didn't help much: https://docs.atlassian.com/software/jira/docs/api/REST/7.3.5/

1 Answer 1

0

If you use the endpoint GET /rest/api/2/issue/{issueIdOrKey} you get back a representation of the issue. In that there is fields.issueType which contains name (probably what you need) but also a more thorough description, id and link to the definition, icon etc.

1
  • Thanks @Roger. I will check that.
    – Yash
    Dec 20, 2018 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.