pycontribs / jira

Python Jira library. Development chat available on https://matrix.to/#/#pycontribs:matrix.org
https://jira.readthedocs.io
BSD 2-Clause "Simplified" License
1.92k stars 859 forks source link

Make PropertyHolder iterable #1749

Closed mmcclimon closed 6 months ago

mmcclimon commented 8 months ago

I would like to be able to get list all the fields in an issue by iterating over them in a loop, with code like:

for field in issue.fields:
    print(field, issue.get_field(field))

(I can't easily run the tests, and so I haven't added one here, but I can probably sort it out if I need to.)

github-actions[bot] commented 6 months ago

Label error. Requires exactly 1 of: bug, enhancement, major, minor, patch, skip-changelog. Found: