i like to import json for creating a rule
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @SankaranarayananS
You can make an export
And after that, make an import here:
Also, you can find more details here:
Import and export Jira automation rules (Cloud)
Import and export Jira automation rules (DC)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.