It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there any way to track who used the Run CLI Actions in Run with user form ?


I'm evaluating Run CLI Actions  inside Run with a user form and parameters macro to allow JIRA project admins to add/remove users from selected project groups without being JIRA Admins

So basically,

  • A generic JIRA admin user is defined in a profile inside Run CLI actions configuration
  • Confluence page view is restricted to corresponding JIRA project admins

For Auditing purpose, we are required to track real Confluence users using this form and to see the action that was done.

Is there a way to do that, any existing log ?

Can I use something based on How to archive pages with dynamic content, will it work using Run CLI actions inside Run with a user form and parameters macro?


1 answer

I think there are a number of alternative depending on what you need. Perhaps the one you suggested is the right one for you. Here are some other idea that can be added to the form submit:

  1. Insert a row into a database using the SQL Macro 
  2. Use the CLI macro to append text to a page or add a comment
  3. Use one of the scripting macros to do something else

For #2 it would be something like the following using a profile that specifies product=atlassian and a common user and password.

--action run
jira --action getServerInfo --server
confluence --action addComment --comment xxx --space XXX --title "my page" --server

Thanx for the reply.

Do you think I can "Use the CLI macro to append text to a page or add a comment" but only if the previous CLI command succeeded ?

Yes, this is possible. I will update my answer.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 18, 2019 in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

390 views 0 12
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