When a new component is created, I want the issues in any different component to be automatically create to the newly opened component by updating the component field field.
For example, I have a component called Finance 2024. I am creating a new component as Finance 2025 and I want to create same issues in Finance 2024 for Finance 2025.
How can I do this in Jira Data Center with automation or scriptrunner ?
Hi @TechComp
Jira Data Center does not emit any event on component creation, as components are part of project configuration. This means neither Jira automation nor ScriptRunner listeners can detect when a new component is created.
To replicate issues from an existing component (e.g., Finance 2024) to a newly created one (e.g., Finance 2025), you can probably implement a scheduled Groovy script that:
This is the only viable approach since no native event hook exists for component creation in Jira Data Center.
Kind Regards
Utkarsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.