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.94k stars 860 forks source link

Getting the context of custom fields #1654

Closed qequ closed 1 year ago

qequ commented 1 year ago

Problem trying to solve

Is there a way to have the list of values a field (custom field in my case) can have?

Additional Context

Using the issue only returns data of the issue, not in general

Keenpachi commented 1 year ago

you can get this with requests library as described ->

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts/#api-group-issue-custom-field-contexts

I don't see that this was implemented inside jira library.

studioj commented 1 year ago

@qequ @Keenpachi thank you for reporting. We're open to PR's which could "fix" this feature request. Don't forget to add a test and excuse us for late responses. Kind Regards

studioj commented 1 year ago

@qequ I'm closing this as it seems to be a duplicate of this one https://github.com/pycontribs/jira/issues/1619 please reopen if thats not the case

qequ commented 1 year ago

@studioj is still possible to make a pull request with this feature or will it continue as a workaround ?

studioj commented 1 year ago

Sure, is the other ticket an ok duplicate?