Forums

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

Change value of cfB when value of cfA changed

Sandra Meessen
Contributor
August 16, 2018

Hello, I have 2 custom fields: cfA of type "select list (single choice)" and cfB of same type. In case cfA's value changes, cfB needs to be updated. Either via workflow transition or just via edit mode of the issue. I think I need to define a custom listener, but I have no idea how to code. Who can help me with this code? Thanks! 

1 answer

1 vote
Tarun Sapra
Community Champion
August 16, 2018

Hello @Sandra Meessen

You don't need custom listener.

If you want to update custom field B bsed on cfA then you can use post-function to do that instead of an listener. You will need to write a script for it.

If you want to it on the edit screen instead of workflow transition then you need to use Behaviour module of the Script runner.

Suggest an answer

Log in or Sign up to answer