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,414,268
Community Members
 
Community Events
170
Community Groups

Validation for URL field

Hello,

We would like to add validators for Jira URL field.

The URL must be a SharePoint link and should not accept any other links. Any help would be appreciated.

Thanks in Advance

Madhu

2 comments

Payne Rising Star Jul 15, 2021

I don't know how to accomplish this without any apps; do you have ScriptRunner or anything like that? 

Like Madhu Reddy likes this

Hi @Payne Yes we have ScriptRunner, JMWE and automation for jira apps. 

Any idea on this ? 

Hi @Madhu Reddy 

the easiest is to use a Scripted (Groovy) Validator with a script that uses a Regular Expression to test the value of the URL field. The actual RegEx is dependent on how exactly you identify valid Sharepoint URLs. For example

issue.get("URL field") ==~ /https:\/\/myserver.com\/.*/
Like Madhu Reddy likes this

Thank you @David Fischer _Appfire_ this worked for me.

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events