Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,750
Community Members
 
Community Events
165
Community Groups

SQL+JQL workflow validator

Edited

Hi,

I have a workflow transition with a form. When I activate the transition the form pops up where I can fill in the issue fields and finalise the transition.
 
I added a SQL validator to a workflow transition with a condition on a custom field:

SELECT
  count(*)>0
FROM
  JQL
WHERE
  jql.query='ID = %issueid% AND "Release Note Description" IS EMPTY'

The query checks the "Release Note Description" value from the DB, but not the one I set in the transition form (if I clean the "Release Note Description" field and then open the form to do the transition then the transition proceeds successfully otherwise the validation fails).

How can I access the form field values instead of the DB?

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,486 views 37 44
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you