For clarification, I have Jira Cloud. I am trying to create an automation that copies a custom field called "Relative Control Weighting (1-10)" (customfield_10059) from the linked issue into a different custom field called "Control Weighting Score" (customfield_10079) in the current issue.
The source field is a Dropdown type. The destination field is a text type (since I found you cannot do this on a dropdown type)
After reading up on this link, I have:
When: Issue Linked - Type: Related to
Then: Edit issue field - Advanced
{
"fields": {
"customfield_10079": "{{issue.issuelinks.inwardIssue.customfield_10059}}"
}
}
The automation runs, but does not copy the source field to the destination field. In fact, I see nothing has changed. The audit logs show SUCCESS:
Edit issue
Issues edited successfully
ESS-209
Which is weird because ESS-209 is the issue that I am linking, and from which I want to copy the custom field. So it should not be editing ESS-209.
EDIT:
I have also tried using:
{
"fields": {
"Control Weighting Score": "123"
}
}
just to try to statically set the value to 123, but it does nothing.
I figured it out!
My problem was I was attempting to update the issue that I was linking, rather than the issue on which I was creating the link.
Solution:
When: Issue linked, Type: Relates
For Linked issued: Types: Relates
Then: Edit issue fields...
Hi Rich,
I hope you are doing good.
I am also working on the similar automation requirement, can you please share your automation rules set so that I can reuse maximum and customize further to full-fill my requirement.
Thanks for your support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rich Johnson ,
Can you share a screenshot of the automation if you still have it? I have the same problem. But I couldn't do it.
Bests,
Deniz.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having the same issue. Does anyone else have more specifics on how to resolve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Deniz Yalçıntepe @Holly Schomann
The rule has changed slightly from when I first created it. I changed "relates" to a new custom verb "satisfies". Other than that it should be essentially the same rule. I added several custom fields I needed copied, but it all works. Note in the second screenshot I had to do both verbs "satisfies" & "is satisfied by". I can't remember if I did both and just never removed one, or if they are both indeed needed. Hope it helps.
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.
@Rich Johnson iam having the same issue, its updating the issue i am linking. not sure what is wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rich Johnson issue fixed anyways. :D
but want to know if there is any change in smart values, with field getting updated. i am trying to copy from a check box to a text field.
is there a smart value change?
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.