Dear colleagues,
I'm trying to overwrite via automation an specific customfield (numeric type) with number value from another system field.
I made several tries:
as update-set
{
"update": {
{customfield_47204}: [{
"set": "{issue.customfield_10008}" }]
}
as JsonNumber value
{
{customfield_47204}: {{customfield_10008.value.asJsonNumber}}
}
as a regular number customfield
Thank you in advance for any hint
Regards
Hi @Javier Lapeña ,
Why don't you try using the simple Edit componen to copy values from one system field to a custom field??
something like this works perfectly...
Cheers,
Esteban
Hi @estebandiaz
Thanks for your comment.
The issue is that the action required is just the opposite.
Copy from customfield (new field created ad hoc and doesn't appear on the list) to Story Points field.
Regards
Javier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Javier Lapeña ... are you using Jira Cloud? or Server / DC ?
'cos I've tried backwards ... and it worked for me ... but I'm using Jira Cloud...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Esteban Diaz I guess you have hit the nail on the head.
Maybe, this is the reason. I'm under our own server/dc.
Anyway, if my unique solution it's manage with Json clause, I was wondering if my tries are correct.
Thanks once more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Javier Lapeña ,
This other way just worked for me ...
{
"fields": {
"Story Points": {{issue.customfield_10050}}
}
}
I know I'm on Cloud... but give it try 😉
Cheers,
Esteban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Esteban Diaz
That works.
I was getting crazy and it's more simple than I expect.
Thanks for opening my eyes
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.