I'm trying to automate the process of exporting a report from our Jira board. I'm struggling to find the field in the Issue.fields properties that contains the advanced roadmaps target start and end dates.
from jira import JIRA
jira = JIRA(options, token_auth=token)
issues = jira.search_issues(jql_search_string)
for issue in issues:
print( '{}: {} - {}'.format(issue.key, issue.fields.??target_start??, issue.fields.??target_end??)
This may or may not help -- but if you use the rest api field endpoint like this, you can get all the details about your fields. And I'm guessing the "_" is part of the problem.
Note - your custom field Id will be different than mine.
Thanks
https://ecosystem.atlassian.net/rest/api/3/field
If you're trying to access Advanced Roadmaps fields like Target Start and Target End through the Jira Python API, you first need to identify their custom field IDs. These fields are stored as customfield_xxxxx, so you must look them up under Jira Settings → Issues → Custom Fields.
If the API returns empty values, it usually means the fields aren’t added to the project’s screen. Add them to the correct screen and the Python API will start returning data.
For more guidance on project and workflow optimization, you can check resources here:
<a href="https://www.icertglobal.com/">ICertGlobal</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I was able to retrieve all the fields via the REST API and now I have a complete list of all the fields
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.