Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use Power Scripts for JIRA (formerly known as JJUPIN) and Jira and SIL to define a large set of validators beside the default validators offered by JIRAJira, by just adding a (k) SIL Validator to a transition and publishing the workflow, as described here.

...

Info
titleRequired plugins

You will need Power Scripts for JIRAJira

Level: BASIC

Comment required

...

A SIL validator which makes custom field Product with id customfield_10200 required in the resolve screen only if the resolution was set to Fixed:

...

In the above example we assume that the field with id customfield_10100 is a select list with options Yes and No, and when Yes option is selected, field Address with id customfield_10200 should be required.

Ensure that the issue has at least one attachment

...

Validation on linked issues

Blocking Start Progress transition whenever current issue has a link of type Blocks with an issue in a status different from Resolved and Closed:

Code Block
titleSIL Code
string errorMsg = "Progress can't start because there is at least one blocking issue.";
string[] statuses = {"Resolved", "Closed"};
string[] blockingIssues = linkedIssues(key, "Blocks");
for(string issue in blockingIssues) {
    if(!elementExists(statuses, %issue%.status)) {
       return false, errorMsg;
    }
}

...