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

This widget could not be displayed.

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
Posted 5 hours ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

19 views 0 1
Join discussion

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