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 get popular questions and discussions programmatically? Edited

Is there a way to get popular questions and discussions programmatically (REST API or RSS feed) and for different time frames (weekly, monthly)?

3 answers

2 votes

You can use queries from site search to generate RSS feeds

You could do something like this:

https://community.atlassian.com/tnckb94959/rss/search?q=jira&advanced=false&rangeTime=1w&sort_by=-topicViews&allow_punctuation=false

Query: jira

Sorts: Active in last week, sorted by most views

Here's another version:

https://community.atlassian.com/tnckb94959/rss/search?q=jira&advanced=false&openresponse=true&include_qanda=true&rangeTime=1M&allow_punctuation=false

Query: jira

Sorts/Filters: Unanswered (no replies), Q&A only, active in last month 

Hope this helps! Our plan is to expose these RSS URLs on the search page UI in our next release.

Thanks Tyler! This is very nice and could be useful.

Seems sort_by doesn't work for RSS feeds as sorting by topicViews and topicPostDate give me exactly the same results. :( Also RSS feeds include both questions and answers. I'd prefer questions only.

Web view does take into account sorting option but there're a couple of issues with that too: 1) last active option is not very useful as it still shows questions from years ago, 2) searching for query is close to but not the same as list of questions for product (like JIRA for example).

Tyler T Atlassian Team Aug 03, 2017

@Rp Subs, try adding this to the end of your feed to restrict it to topics/questions only

&depth=0

There are RSS feeds for categories, for example this Feedback Forum:

  • click the 'Watch' button in the right side bar
  • choose the 'RSS' tab
  • copy the URLs for the feeds you are interested in

I'm not aware of a way to filter/rank those by week or month right now.

 

Thanks, Steffen! These feeds are too noisy for me. :) I was looking for popular questions only.

0 votes
Monique vdB Community Manager Jul 14, 2017

I don't think there's currently a way to get a feed based on popularity, just the general feed @Steffen Opel _Utoolity_ mentioned above. It would be useful though!

It looks like Lithium has REST API but I'm not able to figure out how to access it (or this is switched off on your side).

Tyler T Atlassian Team Aug 03, 2017

@Rp Subs, here's an article about the API: https://community.atlassian.com/t5/Feedback-Forum-articles/Use-the-Community-API-to-query-tags/ba-p/618155

Please leave a comment there if you have any questions

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Feedback & Announcements

We want to talk to customers who have received 'non-technical' help from Atlassian Support

Hi Atlassian Community! Have you ever reached out to Atlassian for any non-technical related questions? Maybe you had a question about a bill, or needed help with account management, or had a licen...

301 views 2 20
View question

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