Hi,
I created a Behaviour to set the value for Field B to be dependent on the value of Field A. However, that Behaviour only runs and updates Field B when I go to an individual issue, click edit, and click update. Otherwise, Field B remains empty. Is there a way to simulate those actions so that I can get all existing issues to run the Behaviour and populate Field B based off the existing values of Field A without having to manually go into each issue?
Thanks!
You can't "run a behaviour" like this. A behaviour is a set of instructions that are given to the user's browser when a screen is rendered. The "dependency" is a thing that changes the way the screen behaves for the user. There's nothing to "run" on the back end here.
You will need to translate it into a script you can run in the console. One that can take a list of issues (or better, find them itself by running a search for "B is empty"), and re-apply the logical rules in the behaviour to update B.
Hello,
You could use applications like selenium to imitate user actions. But I think it would be simpler to write a script in Script Console.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any tips on what a script in the Script Console would look like to trigger a Behaviour?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.