Component id is not valid

Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 19, 2024

Hi community.

Here's the situation: I have created an automation to clone the issue from a service management project. This automation also copies the Priority, Repository (custom field), Attachment and Components from service management to software project. Service management project contains the components, where the software project doesn't contain any components. When a user creates the request from jira directly (not the customer portal, rather the agent view), it gets linked with no issues.

The problem occurs only when the request has been raised from the customer portal. What could be the issue here? The Components field is also present on the screen for both service management and software projects.  

The automation rule shows error in logs: Component (id here) is not valid. Even though this component exists (checked this with the API call).

2 answers

0 votes
Luka Hummel - codefortynine
Atlassian Partner
June 25, 2024

Hi @Nikola Perisic

If you are willing to use a third-party app, you could try our Deep Clone for Jira.

Deep Clone can create missing Jira components in the target project.

2024-06-25 10-46.png

0 votes
Melo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2024

Hi @Nikola Perisic, I am a bit confused, Isn't it the expected behaviour. When setting up an automation rule to clone issues from JSM to a Jira Software project, and the target project does not have components configured, you might encounter issues if the automation attempts to copy components that do not exist in the target project.

Cheers,

Melo

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