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

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

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
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

221 views 6 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you