Create Validation on transition Which Checks linked issue only when a field is present

Alan Leidner February 6, 2017

Hi Folks,

Im trying to create a transition on one of my statuses, and running into syntax problems/ignorance.

I want to allow the transition to pass if one of my custom fields is negative, but if the field is positive I want it to check if there is a linked issue in a different project.

Something like;

if cf[123] == no, then proceed

if cf[123] == yes, then proceed only if LinkedIssue in project XYZ

1 answer

0 votes
Fernando Llaca Romero February 7, 2017

Hi Alan,

I've made this free addon Easy Links for JIRA, which allows you to create a custom field that represents an issue link (when you set its value, an issue link is created. When the value is unset, the link is removed). You can use this custom field in workflow validations (for example setting it as required). The addon also has other features that you may like, searching by links in JQL or creating dashboards based on links.

If you want to make a "complex" validation (something similar to a logical expression or a scrit), you can consider other addons, Script Runner or Workflow Toolbox (in the link there is an example) for example.

 

Hope it helps you, regards!

Suggest an answer

Log in or Sign up to answer