Update issue customfield based on customfield value of other issue

Avdhesh Chauhan
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.
October 3, 2012

Is it possible to update the custom field (some number filed) value of issue A, based on the customfiled value of Issue B

3 answers

0 votes
Avdhesh Chauhan
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.
October 4, 2012

Yes is it possible through post function - even groovy is ok for me.

if you have samples please share

0 votes
Jobin Kuruvilla [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.
October 3, 2012

Do it in a listener. Post functions will handle only changes to the custom field in workflows. A listener will pick it in the occurance of any supported event.

https://confluence.atlassian.com/display/JIRA/Listeners

0 votes
Vishwajeet Singh
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.
October 3, 2012

Yes that's possible and depends on how do you want to do it. Are you doing it through post function ?

Suggest an answer

Log in or Sign up to answer