Get members IDs who are mentioned on a page?

Fellow sufferers!

I want to do the following:


1) Mention a subset of the space members, on a particular page.

2) Via REST API, get a list of all the members who are mentioned on that page.

Please explain if this is possible, and what are the necessary calls?


BW Peter Bunde Hansen

1 answer

Hi @Peter Bunde Hansen,

I assume you are talking about Confluence and pages there, correct? I got a bit confused by the "Jira" category and the "jira-rest-api" tag.

So if I understood you correctly, you would manually execute step 1 and mention some people on a particular page and search for REST API ways in order to determine who is mentioned on a page.

You could simply get the content of a page via the confluence REST API and then search the body for a pattern which matches mentioned users. The corresponding call would probably be in the form <BASE_URL>/rest/api/content/PAGE_ID?

For further reference, you can check out the confluence REST API examples or REST API reference.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,798 views 18 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you