Forums

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

Jira Automation Import VIA API

Hanzla Tariq
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!
November 3, 2025

Is there any way or API through which I can attach my existing automation to a Project VIA API using the project key and rule id

1 answer

1 vote
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.
November 3, 2025

Hi @Hanzla Tariq 

What problem are you trying to solve?  Knowing that may help the community to offer better suggestions.

Until we know that...

There are REST API endpoints to get, update, create rules, etc.  And so if you wanted to...

  • update the scope of a rule
    • read the existing rule with an endpoint
    • update the scope with another endpoint
  • update the spaces in the components for a rule
    • read the existing rule
    • use text functions to update the space references
    • update the rule
  • copy a rule from one space to another
    • read the existing rule
    • use text functions to change the scope and space references
    • create the new rule
  • ...

 

There are no bulk read or bulk create endpoints.  (You may bulk read the rule summaries, but must read each one to get the rule's JSON.)

 

Kind regards,
Bill

Hanzla Tariq
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!
November 4, 2025

That’s not exactly what I’m trying to do. When a new project is created using existing settings, the automations from the source project are not automatically copied over — they have to be manually linked. What I need is an API that allows me to provide the new project key and an existing automation ID, and then attach that automation to the new project programmatically.

Suggest an answer

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

Atlassian Community Events