Issue Fields¶
Accessed via jira.fields. List system and custom fields configured in your Jira instance.
get_fields¶
Get all system and custom issue fields.
fields = jira.fields.get_fields()
for field in fields:
kind = "custom" if field["custom"] else "system"
print(f"{field['id']}: {field['name']} ({kind})")
# Find a specific custom field by name
target = "Story Points"
match = next((f for f in jira.fields.get_fields() if f["name"] == target), None)
if match:
print(f"Use field ID '{match['id']}' for {target}")
This method takes no parameters.
Returns: list[dict[str, Any]] — list of field objects with id, name, custom, schema, and other properties.