I'm starting to work with APIs to access Jira data using Python and the requests library. I am focusing on get issue commands to help my understanding of how this can work before branching off. Given the example from the Atlassian documentation, how do I adjust this example to only return the status of an issue? I have authentication working and am getting a response back from the print statement included.
Hi @Nate Dickinson ,
you need just to use fields parameter.
An example should be :
url = "https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}?fields=key,status
Hope this helps,
Fabio
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.