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 ?

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

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
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

4,023 views 15 38
Read article

Community Events

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

Events near you