Forums

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

how to create ScriptRunner Listener that updates story points based on two number fields ?

Jacob Francois March 31, 2022

Has anyone ever created a code that add two number fields custom fields ?

QE story point + Dev Story point = Jira Story points 

 

I would use a scripted field but we want to continue using Jira's Story point field. 

I would like this to happen when an issue update event happens only for one project category. 

1 answer

0 votes
Craig Nodwell
Community Champion
March 31, 2022

There's lots in the Scriptrunner Library that should help you get a solid start.
This shouldn't be too difficult to achieve, here's an example of updating a custom filed based on a calculation.  The Story Points field update shouldn't be very different.

Adaptavist Library Calculate Custom Field On Issue Update 

The Adaptavist Library 

 

Hope this helps.

Suggest an answer

Log in or Sign up to answer