Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to save filter result on remote folder?

Edited

Hi,

Assuming run the followed filter:

project = DEV AND status = "In Progress"

Usually, JIRA display the results on GUI.

However, instead of display results, I'd like to save them localy as file on JIRA server.

Alternativly, save this on a remote folder.

What is the best practice to do so?

Kindly,

Gilad

2 answers

0 votes
Daniel Ebers Community Leader Jun 06, 2021

Hi @Gilad Shtern

your question could also be understood in a way you want to do something programmatically for issues, but "outside" of Jira - not really "outside" by means of "without" but just not having a user to interact with UI.

Therefore REST API access comes to mind, please find some examples here:
https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#searching-for-issues-examples

Output can be easily saved into a file - the specific implementation will depend on which programming language you will be using for REST API access. In the examples from Atlassian you will see just 'curl' which is a pretty simple command on common linux distributions (you invoke curl from shell).
Some people however prefer accessing REST API using another language, PHP, Python, C# - there are plenty of options. Very easy is the approach using 'curl'.

In case this was not understood correctly you're happily invited to explain a bit more on the use case ;)

Regards,
Daniel

0 votes

There's a bit of a language issue here, with Jira-speak trying to be quite specific with certain words within the Jira context.

Broadly, when I hear people use certain words, I take them to have specific Jira meanings:

Search: a question you ask of Jira to get it to give you a list of matching issues.  ("Show me issues where field X = Y" for example)

Query: same as "search", but usually more technical, in that I would expect it to be the actual definition (you could take a "query" and paste it into a search box and it would give you a list of issues!)

Filter: A query that has been saved in Jira, so that we can use it again.   The results might change, but the question being answered is the same - "what issues match this question at the moment?"

Search/Query/Filter results:  a list of issues that match the question

Note that none of those lead to anything more than "a list of issues" - they have nothing to say about what you do with the list of issues, the data from them that you show, how they might change, etc.

So, when you say "save filter", I am not quite sure what you mean.  Can you confirm that you want is "ask a question at this point in time and 'save' the list of issues  (and maybe some/all of the data on them) somewhere"?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

173 views 2 4
Read article

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