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 Tuesday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

61 views 0 5
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