I can figure out in jira automation how to setup a query to see if certain fields are set. I want to be able to then have an action to require a field to be set manually. I can't find a way to do that with the jira automation.
Hi, Joe!
You may definitely do that using JSU.
Use a JQL Condition to show a transition based on different fields, JQL condition can be like "key = {issue.key} and field1 != null and field2 !=null". For making Field Required, you can use Field required validator from JSU on any number of fields.
Hope this helps.
For further configuration information, check out this link: https://confluence-apps.beecom.ch/display/JSU/JSU+Configuration+Guide
Denise, I don't want to show or hide the transition based on the query. I want to make certain fields required based on whether or not certain fields are set.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Joe! Let's say you want to make field B required, if field A is true.
The following solution has the limitation, that it only works if field A is already set before the user triggers the transition (so field A it is not on the transition screen).
Transition "One":
Condition: A == true
Validator: B required
Transition "One+":
Condition: A != true
Validator: -
You might choose almost identical names for the transition, so to the user it seems to be the same.
There are no conditional validators in JSU to handle the case when both fields are on the transition screen. However in many cases the above solution can be applied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What you need is a _workflow validator_. Unfortunately, Automation for Jira doesn't offer any.
You need to look into other apps, such as JMWE or JSU, that provide a Field Required Validator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have JSU and I know how to make fields required. I have many workflows where this is the case. What I was trying to figure out was how to only make it required when certain fields are set in certain ways.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know about JSU, but you can do that with JMWE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey there Joe,
query to see if certain fields are set
In Automation for Jira you can check if a field is set or not by using the Issue field condition: https://docs.automationforjira.com/reference/conditions.html#issue-fields-condition
I want to be able to then have an action to require a field to be set manually
Unfortunately, Automation can only automatically set fields and but not force users to set fields manually. (ie we can't force a pop up window, or make fields mandatory during transitions)
Cheers,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay you confirmed what I was seeing. Really wish they would add that ability.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.