JIRA Filters list of fields

akazi June 12, 2022

I am using the JIRA Python API.

I cannot find a way to figure out the list of fields associated with the filter (which I can see in the JIRA UI ).

I understand that I can use .search and manually specify the fields to retrieve, but I do not want to hard code my python code. I would like to pull the fields which are set up with the filter.

So net-net:

1. Why doesn't my jira.search_issues with the filter id simply return the fields set up for the filter

2. If it cannot do (1) above, how do I retrieve the list of fields being returned by my filter in the JIRA UI and then use it with (1), without hard coding it in my code

 

Thanks,

Asif

 

1 answer

0 votes
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2022

HI @akazi ,

 

I haven't tried this API.  Please check , whether this may help you.

https://atlassian-python-api.readthedocs.io/jira.html#manage-issues

 

# Get existing custom fields or find by filter
get_custom_fields(self, search=None, start=1, limit=50):

 

akazi June 13, 2022

I'm looking for the filter settings for the filter essentially all the fields - custom and non-custom which I see in the JIRA UI

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events