Change custom field value when closing a sub task

Mobileye Atlassian Licenses January 8, 2018

Hi,

I want to change the value of a custom field when the sub-task of the issue was closed.

 

Is there an option to do that?

 

Thanks,

Bar

1 answer

0 votes
Alexey Matveev
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.
January 9, 2018

Hello,

You would need an add-on for it. What Jira version do you have (Cloud or Server)?

Mobileye Atlassian Licenses January 9, 2018

hi Alexey,

Thank you for your answer.

I have the Jira Server.

I think I succeed to implement this by using the post-function of the sub-task. 

 

I added the following post-functions to one of the transitions:

  1. The value of field Bundle Changes of the current issue will be set to Bundle with no changes (replacing existing values).
  2. The value(s) of field Bundle Changes will be copied to the issue's parent's field (replacing existing values).

 

First I configured the Bundle Changes field to be the expected value, and then I copied this value to the parent's field.

 

It this a good solution? there is maybe another way?

 

Thanks,

Bar

Alexey Matveev
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.
January 9, 2018

If you accomplished the requirement then it is fine. 

Suggest an answer

Log in or Sign up to answer