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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,465,578
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events