Forums

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

i like to import json for creating a rule

SankaranarayananS
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 18, 2025

i like to import json for creating a rule

3 answers

1 vote
Marc - Devoteam
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.
September 19, 2025

Hi @SankaranarayananS 

Welcome to the community.

If you have a JSON that adheres to the structure required for this, see https://developer.atlassian.com/cloud/automation/rest/api-group-rule-management/#api-rest-v1-rule-post 

Does this help you further?

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.
September 19, 2025

Hi @SankaranarayananS -- Welcome to the Atlassian Community!

Adding to the ideas from @Marc - Devoteam ...

While you may easily export rules as JSON and then import them later into another project, site, etc., creating a rule from scratch with JSON is not simple and the REST API documentation does not describe the actual structure and content of rules.  There is some Data Center automation documentation to describe rule JSON and it is quite incomplete.

Instead, you would need to export the JSON from many different rule types and components for different Atlassian products, study them, and learn how rules are implemented to build any rule from scratch.  Creating a rule from a built-in template with JSON is less difficult.

 

Kind regards,
Bill

Like Valerie Knapp likes this
0 votes
Valerie Knapp
Contributor
September 19, 2025

Hi @SankaranarayananS , welcome to the Atlassian Community and thanks for your post.

Did you have a question or something we can help you with?

Cheers

0 votes
Oleksii Melnyk _MOY Apps_
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.
September 19, 2025

Hi @SankaranarayananS 

You can make an export 
Снимок экрана 2025-09-19 в 10.49.37.png


And after that, make an import here:
Снимок экрана 2025-09-19 в 10.50.28.png


Also, you can find more details here:
Import and export Jira automation rules (Cloud)
Import and export Jira automation rules (DC) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events