Forums

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

Update custom field based on linked issues in multiple scenes

Jenny Chen October 5, 2022

There are FR and CR issuetypes in JIRA DC. many-to-many link relationship

When the value of FixVersion in an FR is changed, follow the CR link(s) back and update the CR FixVersion. One FR can only have and update one FixVersion value, but a CR may be linked to more than one FR (e.g., if the complete development spans multiple releases), so the CR may have multiple FixVersion values

scenes 1

If M-111 FR linked to M-222 CR, and another M-112 FR, M-113 also linked to the M-222 CR:

step 1. when FixVersion in M-111 update to 200, then FixVersion in M-222 CR should update to 200,

step 2. when FixVersion in M-112 FR update to 210, then FixVersion in M-222 CR should update to 200, 210.

step 3. when FixVersion in M-113 FR update to 220, then FixVersion in M-222 CR should update to 200, 210, 220.

step 4. Then if FixVersion in M-111 update to 230 instead of 200, then FixVersion in M-222 CR should update to 230, 210, 220.

 

scenes 2

M-111 FR linked to MTX-222 CR and MTX-223 CR, MTX-224 CR

When FixVersion in MTX-111 update to 200 instead of 100, then FixVersion in MTX-222 CR, MTX-223 CR, MTX-224 CR should update to 200 and remove 100,  and keep all other versions.

CR Only updated the linked verion and keep others.

 

Is it possible? Which add-on can do that type of modify? if PowerScripts or scriptrunner can do it, can I have the a script code example?

 

Thanks, 

Jenny

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.10
TAGS
AUG Leaders

Atlassian Community Events