Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,149
Community Members
 
Community Events
165
Community Groups

JIRA Filters list of fields

akazi I'm New Here Jun 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

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 I'm New Here Jun 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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you