Is there any way to get the project name and key at the issue create screen using SIL? I have a custom field of type SIL User Picker and I am looking to limit the selectable list of users at issue creation based on the project name and key the issue is being created for. Any feedback on accomplishing this with SIL or even an alternative suggestion would be greatly appreciated.
As it stands now, you cannot base your script on fields from the crete screen, but only values that are already saved into the database.
HTH
You can get the Project Name using the routine lfwatch, like this:
lfWatch("components", { "components", "project"}, "scripts/HookScript.sil", {"focusin"});
Then on your HookScript.sil
script projectName = argv["project"];
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.