Script Runner Validator to check the if the linked with a specific Issue Type & Link Type.

Ganesh Kumar Vary May 9, 2023

Hi,

I am searching for a Script runner Validator in Jira Cloud where the validator should be true only when the issue is linked using a Specific Link Type "Address Requirement" & with inward link which is called "Addresses". And the Linked issues should be either Epic or Story but not any other issue type.

Currently I am using a simple Groovy Script in the Script Runner Validator:

issue.links != null ? issue.links.some(link => link.type.name == "Address requirement") : true

But, using this script I can only check if the link Type is Address requirement. But can't check the issue type or Inward linking.

Can anyone help he in this regards please.

 

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 16, 2024

Hi @Ganesh Kumar Vary

Were you able to find a solution for this?

Thank you and Kind regards,
Ram

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events