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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Issue with sil script validator getInput Routine

power scripts ver 6.820.1

I have a sil validator that checks for an invalid fix version

The error I am receiving "The getInput routine can only be used in validators or some post function"

However my script is a validator that is associated with a transition

Below is my script:

string errormsg = " please update to a valid delivery version"

string [] delivery = getInput(fixVersions);

if(issuetype == "DR){

    if(contains(delivery ' "x" )){

    return false, fixVersions, errormsg;




   return true;


1 answer

1 vote
Anna Hryhoruk _Appfire_
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.
Mar 06, 2023 • edited

Hello @Nannette Mori ,

where do you get this error message:  "The getInput routine can only be used in validators or some post function" ? If it`s in the Editor console of the SIL Manager, that`s expected behavior. When you run it from SIL manager it is not applied as validator (even if you have this script somwhere configured as validator) and getInput routine gives you an error. But if you have this error in a different place - just let me know. 

Also to make getInput working fine make sure that a transition screen has been attached to the current transition and that field Fix Version is present on that transition screen. 

In addition, I see some syntax errors in your script, so I`ve fixed those:


string errormsg = "please update to a valid delivery version";

string [] delivery = getInput("fixVersions");

if(issueType == "DR") {

if(contains(delivery , "x" )){
return false, fixVersions, errormsg;



return true;



Please try it out and let me know how it goes.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events