Forums

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

I want to make the System field value "Story Points" to Null depending on the Resolution given

Ravinder Reddy Singireddy April 6, 2018

I know that this can be achieved in JMWE but in our Organisation we don't have JMWE.

I think we can achieve this by using  the Groovy Script in Script runner.

Can any one help me with the Script which has condition If Resolution is Done or Fixed then Story points = Null. 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nic Brough -Adaptavist-
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.
April 8, 2018

There's a script over at https://community.atlassian.com/t5/Jira-questions/Post-function-to-remove-the-story-points/qaq-p/766480 which does the main part of what you want. 

You just need to add a check for resolution to it.  Such as

if (  issue.getResolution().getName().equals("Done") )

TAGS
AUG Leaders

Atlassian Community Events