Forums

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

Get Filter ID when it already exists (non-GUI)

nidico100
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 15, 2019

So I'm programming a Bot to create full configured boards, but the filters are a pain.

Currently I'm using the API to create filter and in general it works, but when a filter with the same name already exists I'm struggling. Normally when a filter is created I can use the JSON response to get the ID, but when it already exists I only get the error message. So how to find the ID via API (or maybe JQL, but couldn't find anything useful). I tried the favourite filter request, but there the problem is, that not only one user is creating filters, so I can't find filters created by another user. I had a look in SQL Queries, but I don't have direct access to the database or at least I don't know where to execute them, if not in the database.

The last option I have is via GUI, but I only want to use this, if no other possibility exists, because it is a pain to let the bot use the GUI and iterate through every result it can find. I really hope there is another workaround, but after tons of different approaches and tries, I don't have other ideas.

1 answer

1 accepted

0 votes
Answer accepted
nidico100
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 15, 2019

Okay never mind, I found a workaround.

nojini October 19, 2021

What was your workaround? I'm having a similar problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events