Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What is included when exporting an automation rule?

Adam Bang
Contributor
April 16, 2025

A user on the forum asked me to share an automation. The quickest way would be export the rule and have them import it, but I case the contents of the exported rule include a clientKey, an authorAccountId, Account_ID, ruleBillingHome and so on.

 

Is it safe to share exported rules?

3 answers

2 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2025

Hi @Adam Bang 

Yes, and...to the other suggestions:

I recommend sharing the following information rather than providing your rule's JSON export:

  • an explanation of what problem the rule is trying to solve
  • any known exceptions / gotchas for the rule, including maintenance needs
  • an image of the complete rule, in one continuous image for continuity
  • for complicated rules, images of the details, trigger, conditions, actions, and branches
  • the smart value expressions used, as plain text, allowing copy / pasting
  • an example of the audit log details showing the expected rule execution
  • all the above obfuscated, when needed

Consider sharing a rule this way in how one would write an article to explain a rule rather than providing the implementation for your site's configuration.  I am currently writing my own parser / compiler / executer for such rules (outside of Jira) and there is definitely content in the export you may not want to share with others.

Kind regards,
Bill

0 votes
Karan Sachdev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2025

Hey @Adam Bang

 

The export contains the user info like account ID etc to provide an option to have the same user as the owner in your new site as well.

If you have any user picker fields in your rule and you're adding specific users there, that info is included as well (because account ID is the unique identifier).

I believe if they don't have the same users on their site, they can't fetch user info based on the account ID only.

You may share screenshots of your rule and have them create it manually on their site following the steps you've taken.

More info on import/export automation rules here: https://support.atlassian.com/cloud-automation/docs/import-and-export-jira-automation-rules/

Thanks!

0 votes
John Funk
Community Champion
April 16, 2025

Hi Adam - It should include all of those when it exports. However, any keys will not match up with the keys in your instance. You just then need to do a little clean up to select the right values for those things. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events