need to get the timestamp of the duration an issue was made the transition into "Waiting-for-Input" state. I tried to get this using custom_fields using this URL <{jira-base-url}/rest/api/2/field> I found out there is a custom_field for it which is as follows
{
<span>"id"</span>: <span>"customfield_13225"</span>,
<span>"name"</span>: <span>'Days in "Waiting-for-Input"'</span>,
<span>"custom"</span>: <span>True</span>,
<span>"orderable"</span>: <span>True</span>,
<span>"navigable"</span>: <span>True</span>,
<span>"searchable"</span>: <span>True</span>,
<span>"clauseNames"</span>: [<span>"cf[13225]"</span>, <span>'Days in "Waiting-for-Input"'</span>],
<span>"schema"</span>: {
<span>"type"</span>: <span>"string"</span>,
<span>"custom"</span>: <span>"com.onresolve.jira.groovy.groovyrunner:scripted-field"</span>,
<span>"customId"</span>: <span>13225</span>,
},
}But when I try to access this customfield I get an error like
AttributeError: 'PropertyHolder' object has no attribute 'customfield_13225'
The code which I am trying is
issue = jira.issue(<span>'ABC-1'</span>)
<span>print</span>(issue.fields.customfield_13225)
Need help to access this customfield.
I am using JIRA Rest API and using python 3.7