Hello
Confluence version 8.5.12
Data Center 9.2
I have corporate confluence server and I'm using python confluence api to get values from a table. I use get_page_by_title() and I am able to get all the data in the table except for user contact info.
In the table, one of the columns contains zero or more users added with the @ symbol, so they appear as clickable links, however, when the column is retrieved with the api, it's contents are "None", how can I get a list of the users email addresses that are in that column?
Thank you
xp
Hello Mirek
With Beautiful soup, I am able to get ri:userkey data, but not the email I can see on the page, I need the email, how would I do that?
As I mentioned in my answer if you can parse HTML with a mention then you have a user ID (it is in the URL) then you use this ID to get user email via rest call to user details.
This is how I see should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Xzavier
Maybe parsing the page but in HTML (using for example Python library named BeautifulSoup) would give you links to the profiles (with an ID) from which you can later put it in a variable and get based on it information about specific users email addresses?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.