Hi,
I am facing a problem with Jira Cloud.
I have a project with custom fields, that are required on certain transitions, but should not be required all the time. I can't set them as "required" in the field configuration)
Therefore I am normally using the Field "Required Validator" of JSU on a transition in Jira (Server)
As Jira Cloud offers this functionality I am using their Field Required Validator. This works by telling a user that a certain field is required, if it is not filled with content, but doens't show the red asterix as an indicator, that these fields are required.
Can someone explain to me why this is not working?
The provided Field Required Validator in Jira Cloud unfortunately does not support the red Asterix.
The solution that workes best for me is adding a description to the field description of the issue type.
By adding a red "(required)" statement at the top of the description.
Description:
{color:red} (required) {color}
The rest of your description.
Hi @Fabian Duft ,
To get the red asterisk, you need to make the field itself required – which would make it required all the time, as you already know.
I am not aware of any other way to get the red asterisk displayed; I am pretty sure that it does not work with a validator (unfortunately).
Personally, my workaround is to always use a transition screen when introducing a required field in a transition. This way, the feedback for the user is much more immediate than without, albeit still much slower than just having the direct visual info.
Hope that helps,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Oliver Siebenmarck _Polymetis Apps_ ,
Thank you for your response.
I am trying to change behavior with the introduction of required fields as well.
Setting the description of a field in the field configuration with wiki markup:
{color:red} (required)
Description
{color}
is also quite sufficient :)
Cheers,
Fabian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a pretty good idea, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Fabian Duft The Required Fields Validator of Jira Cloud is under Jira’s control, not JSU, unlike in Server and Data Center. Might be best to open a Jira ticket for this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fabian Duft ,
Recently, we discovered you can require a value in a specific field AND display the required field indicator (the red *) on a workflow transition screen using a ScriptRunner Behavior. When it worked it was like the heavens opening and cash raining down! :)
With a Behavior you can:
In the Behavior you can
Even better, once you create this Behavior you can reuse it as many times and in as many different Jira projects as you by simply adding more mappings in the Behavior to more project/issue type combinations.
You can find more the details in the Field Required on Transition example in the ScriptRunner for Server/Data Center documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JSU has always worked that way. Aside from comments I don't put any field on the transition screen that isn't required. In my Using JIRA document I give to new users I cover that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean by JSU has always worked that way?
This does not really answer my question.
I do not understand why the red Asterix is not added in the Cloud version of Jira but in the Server version it does work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've been using JSU since 2007 on server. If it is working in server now it must have been put in a newer release than what I was using last. But it has never worked before and that was a common complaint. Cloud is apparently different.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is possible, I am working with JSU for 6 months now.
Maybe @Denise_Wuethrich_beecom_products is right and I should open a Jira ticket.
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.