Anyone using newman-reporter-confluence

Archived topic — this may be out of date.
Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.
Working with an AI coding agent? The Postman plugin lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

Hi all,

I’ve run newman-reporter-confluence and got output ok.
Now I am using the confluence options specified in

https://www.npmjs.com/package/newman-reporter-confluence

Not so much luck. I can’t find a working example of what I should be putting in:

--reporter-confluence-baseUrl <string>
--reporter-confluence-spaceId <string>
--reporter-confluence-parentId <string>

All the combinations I have tried so far are giving me:
The page you were trying to reach could not be found. This could be because:

\n\t\t
    \n\t\t
  • The page does not exist.
  • \n\t\t
  • The page exists, but you do not have permission to view it.

    I did have authentication issues, seem to be beyond that now.

    Does anyone use this?
    If so can you give me pointers/an example as to what these strings should be?
    Thanks

Hi @murrog

I’ve not used it before but this is now something Im very interested in trying…

Have you read the notes on the GitHub readme? They may help …

Ok, I managed to get this working.
2 things:

  1. The online instructions for authentication are deprecated. This now needs to use a token, so the newman script will include --reporter-confluence-password “{token here}” --reporter-confluence-user “[email protected]:{token here}” --reporter-confluence-username “[email protected]” - not sure if all those are needed, worked that way. 2. The --reporter-confluence-baseUrl <string> (for me) needed to be in the format: https://{yourserver} /wiki/rest/api.
  2. --reporter-confluence-spaceId <string> has to come from an API call GET to https://{myserver}.atlassian.net/wiki/rest/api/space/{Myspace} This brings back “id”: #####,
    “key”: “MYSPACE”, and it was key that worked here, not id.
  3. --reporter-confluence-parentId <string> was what you would expect.