Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Overwrite number value from customfield to another - Automation

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 

 

image.png

Thank you in advance for any hint

Regards

1 answer

1 accepted

2 votes
Answer accepted
Esteban Diaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 18, 2023

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...

 

points.PNG

 

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

image.png

Esteban Diaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 18, 2023

@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...

points2.PNG

@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.

Esteban Diaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 19, 2023

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

Thanks @Esteban Diaz 

That works. 

I was getting crazy and it's more simple than I expect.

Thanks for opening my eyes

Like Esteban Diaz likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events