Forums

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

How to get popular questions and discussions programmatically?

Rp Subs July 14, 2017

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

Suggest an answer

Log in or Sign up to answer
2 votes
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2017

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.

Rp Subs July 14, 2017

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
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2017

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

&depth=0
0 votes
Monique vdB
Community Manager
Community Managers are Atlassian Team members who specifically run and moderate Atlassian communities. Feel free to say hello!
July 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!

Rp Subs July 14, 2017

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
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 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

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 14, 2017

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.

 

Rp Subs July 14, 2017

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

TAGS
AUG Leaders

Atlassian Community Events