Give the value of Linked Issue in screen to validate

I want to validate on Workflow validations that this Fields has a value, this is a jira field, so I cannot refer to it as a custom field.getId.png

2 answers

This widget could not be displayed.

Hey Daniel,

Any of the add-ons below should allow you to add a post-function that validates if fields (both system and custom) have a value.

User ScriptRunner for JIRA to add a custom script validator. The script looks for all Linked Issues. If there are no linked issues, validation fails. If linked issues are found, it looks for status and performs the validation required to check for particular status values.

This question has been answered here. https://community.atlassian.com/t5/JIRA-questions/Validator-script-to-check-status-of-all-linked-issues-before/qaq-p/427966

ScriptRunner add-on link: https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/server/overview

Thank you

Bhushan

None of those Plugins validate that particular field, also I want to make it required only when resolution is 'Duplicate'. Thanks.

Thanks Daniel. I have updated my response based on your requirement of having a specific resolution or status.

Thanks for your response, but I'm looking for something that checks the value on real time, I mean in a Transition screen, that script you mentioned checks the linked issues when they already exists on the Issue, I just need to check that the 'Issue linked' field has a value on the screen.

This widget could not be displayed.

You can using Script Runner to complete it.

Using 'Behaviour'.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

113 views 1 2
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