Forums

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

when epic link on a child ticket is changed it should automatically update the custom field to match

dileep April 11, 2022

epic link in child ticket is changed it should automatically update the custom field to match the new epic 
custom field = GSIRT project field 

by using script runner listener 

2 answers

0 votes
dileep April 19, 2022
} else if(issue.getCustomFieldValue(epicLink)==null) {
    issue.setCustomFieldValue(GSIRTproject, null)
    issueManager.updateIssue(loggedInUser, issue, EventDispatchOption.DO_NOT_DISPATCH,false)
0 votes
Bill Sheboy
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 15, 2022

Hi @dileep 

What have you tried thus far to solve this problem?  For example...

  • How is the custom field currently set: manually, with an existing script, with automation rules, etc.?
  • Have you reviewed the ScriptRunner documentation to learn how this might be done?

Kind regards,
Bill

dileep April 15, 2022

its set through the script only.

I am completely new to the scripting  

Suggest an answer

Log in or Sign up to answer