Forums

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

How to copy a text custom field of the linked issue to a text custom field within the other linked i

amit.bakst
Contributor
January 1, 2024

Hello,

I am attempting to create a rule automation for two types of issues.

The rule is as follows: when the issue type of "Sys Req" is moved from "New" to "Reviewed," I need to copy the custom field "PTC ID" (a Text field) from this issue to the linked issue (issue type of "SW Req") on the custom field "Traceability to System/Product Requirement" (also a Text field).

 

image.png

image.png

However, I am encountering an error with this rule. What should I do to fix it?

image.png

image.png

Thanks in advance for the help.

 

Best regards,

Amit

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
January 1, 2024

Hello @amit.bakst 

Please show us the details of the For: Linked Issues step. The error indicates the problem is related to finding the linked issues, which occurs in that step.

Also, the smart value in your Edit action is wrong. If the For step is corrected, then the {{issue}} smart value in the sub steps will refer to the found linked issue. To set a value in that issue to a value from the issue that changed status and caused the issue to run, you need to use the smart value {{triggerIssue.PTC ID}}

amit.bakst
Contributor
January 2, 2024

Hi @Trudy Claspill 

Thanks for your response.

I change the condition and the smart value and it works!

Trudy Claspill
Community Champion
January 2, 2024

I'm glad you found a solution for your issue.

If my Answer helped you find your solution, please consider clicking the Accept Answer button.

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