Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Scriptrunner - How do I trigger behaviors manually/after system import?

Cedacri July 2, 2024

Here is a snipper of my behaviors mostly using this function:

getFieldByName('a').setFormValue(b)

Which I guess explains why the field 'a' changes its value only when editing the form, it's in the name - setFormValue. 

Is there any way to trigger the behavior and update the issues without going over and triggering them manually for the old issues? I am currently sitting on a lot of imported issues that were unaffected by the behavior. Any ideas?

 

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 8, 2024

Hi @Cedacri - welcome to the community,

by default the behaviour lives within one issue especially the formValue as it is in the creste/edit form (as you already mentioned correctly).

So I‘m not sure if I got your requirement right. Should one issue update fields of several other issues? or did i get something wrong?

Could you please describe your whole use case from a functional/use case perspective? (try to tell the background like a story to me) That might help to find a suitable solution for the exact requirement.

Best
Stefan

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events