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

Hello,

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?

Yvan

1 answer

This widget could not be displayed.

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
 
@DATA:
jira --action getServerInfo --server https://jira.examplegear.com
confluence --action addComment --comment xxx --space XXX --title "my page" --server https://wiki.examplegear.com

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

547 views 7 6
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