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,641,899
Community Members
 
Community Events
196
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
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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 ? 

David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 16, 2021

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
AUG Leaders

Atlassian Community Events