Did the jiraApi recently change? I am no longer to fetch status of a jira ticket ("Open", "Pending", "Closed"). In the past these were values of the "Status" field. Now if you grab the fields of the jira ticket, there is no field of "Status"
Hello @James Tang
What API call are you executing?
as an example:
ticket = JiraTicket("RECON-280819")
ticket.fields
there is no longer a STATUS key in the raw results, which makes it difficult for us to filter out certain tickets
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide a link to the reference/source of the API library you are using?
The call you are making doesn't match the native REST API.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/
It doesn't match the Python library.
https://pypi.org/project/jira/
It doesn't appear to match the Node library.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
from jira import JIRA
jira = Jira()
ticket = jira.fetch_ticket("RECON-279976")
'Status': None,
Is this helpful? A few weeks back 'Status' would reflect the ticket status: Pending, Open, Closed, In Progress. Now all tickets have a status value of None. And there are no other key values in the fetch_ticket function that return the actual status of a ticket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately that is not terribly helpful to me.
I need to be able to find the source for the API library you are using in order to understand what it is doing.
The syntax you're using makes me think you are using the Python library I referenced, but I am not finding a reference to "fetch_ticket" in any of the three sources I listed.
The only reference Google found to "fetch_ticket" was from 2014 and references a bash shell script:
https://mondhs.github.io/en/2014/01/28/en-jira-rest-parsing/
Whatever API library you are using is providing some intermediate interface to the Atlassian-provided Jira REST API. We need to see the source for that library in order to try to debug what it is doing to try to retrieve issue Status information.
Do you have a link to some documentation that talks about the usage of "fetch_ticket"? That might be a starting point for us to find the API library source code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.