Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,826
Community Members
 
Community Events
176
Community Groups

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
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

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events