Community moderators have prevented the ability to post new answers.
I installed JCLI on Confluence (application linked to our JIRA server instance) and placed the CLI Macro on a Confluence page. I pasted the action string shown above (project key in JIRA is CRM)
--action getVersionList --project CRM --outputFormat 2
It responds with REMOTE_EXCEPTION
Remote error: User is not authorized to perform the request. Response code: 401.
That would suggest that I need to authenticate, but I could not find how in your online docs.
You need to provide user and password parameters for practically any CLI action no matter where it is run. So, for instance, you can provide them directly on the action request. Normally when using a command line directly, you hide them away in a initial script file (atlassian, confluence, jira, ... templates provided) so you never need to type them again :). Similarly, when using CLI macro or similar embedded support, you hide them away in a profile so you don't need to repeat them for each use. This also protects them from being seen by others as part of the page source. If you have untrusted users on your site, you will need to protect the usage of the profile using Macro Security. For more information on profiles, see Profiles.
This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events