Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using python code to get all saved Jira queries under a user id ?

Clicker March 10, 2020

Is there a way we can get all the saved Jira queries or list the saved query name under a Jira user account? I have written a code snippet to extract a list of issues by giving a query as input for now. In the enhanced version, my intention now is to list out all the saved queries under a user name and then prompt the user to select which query he wants to run. User can then enter the choice of one number like 1st or 2nd or 3rd .... and based on that input, code will select that query to run.

Does anyone know if we have an option to get the list of saved queries or its saved query name using Python code?

1 answer

0 votes
DPKJ
Community Champion
March 10, 2020

@Clicker  Welcome to the community!

You need to fetch Named Filter data, which is exposed by this api,

https://developer.atlassian.com/cloud/jira/platform/rest/v3/?#api-rest-api-3-filter-search-get

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events