Forums

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

[JIRA Automation] copy number in string field to a number field

Anuj B
Contributor
July 8, 2020

Hi-

I'd like to copy the numerical value selected in [Story points - Select List (single choice)] to Story points field.

How can I do that via Automation for JIRA?

Ex.

Possible values of [Story points - Select List (single choice)] = 0, 0.5, 1, 2, 3, 5, 8, 13 etc, (fibonacci series).

Based on what the user selects in this dropdown, would like that value be set in Story Points field (for Velocity chart, Burndowns etc.).

Thank you.

1 answer

4 votes
Italo Qualisoni [e-Core]
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.
July 8, 2020

@Anuj B 

You can use a smart value to get the value from your single choice field to update your Story Points. 

Just notice that Story Point will need to be part of the edit screen to the automation work on Cloud

{{issue.Story Points Fibonacci.value}}

automation-question2.png

Bill Sheboy
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.
July 10, 2020

Hi @Anuj B 

If that field is not required, and it can be cleared, you may want to add a default value handler so the story points are cleared when the drop-down is empty.

{{issue.Story Points Fibonacci.value|""}}

 

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events