Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to implement length check on custom field?

how to implement length check on custom field in JIRA Cloud

1 answer

Hi Kapo,

This can be done via Automation for Jira's smart value capability.

The smart values you will need to access can be found via the link below.
https://support.atlassian.com/jira-software-cloud/docs/smart-values-text-fields/

 

Here's a really good article to help you get started with Smart Values in A4J

https://blog.codebarrel.io/how-to-use-smart-values-in-automation-for-jira-15edddfb8c7c

that might not be work on my use case. As when HR fill out the onboarding ticket, we need to make sure user's firstname + lastname is less then 20 charactor. 

I found a way to implement length check via regular expression validator but not sure how to implement a calculated field for concatenate.

For example: we have three field
firstname

lastname

username [calculated field] = firstname + lastname

when username field are longer then 20 character, HR will not able to submit the ticket.

Hey,

 

Yeah you're correct there, Jira Service Management forms are static and not dynamic. They don't react to inputs.

To accomplish your goals you'd need to procure an add on such as the one below.

https://marketplace.atlassian.com/apps/1212161/extension-for-jira-service-management?tab=overview&hosting=cloud

Cheers,

Mark

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

70 views 0 0
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