How to create Javascript alert message with custom field value validation?

Hi,

I have a custom field checkbox named 'Engineering' and values 'Requested' and ' Not Requested'. When doing 'Ready for Dev' workflow transtion button user must have to select 'Request' or 'Not Request' checkbox on Edit screen.

If these checkboxes are empty, pop alert message should come before opening workflow transition window and prevents opening workflow transition screen.

if these checkboxes are not empty, pop alert message should not come. It will open transtion screen without any exception.  

I tried workflow validation but it didn't work me as I expected, for that I have built plugin to validate these custom fields through JavaScript.

Can any one help me please.

Any help would be appreciated.

Thanks in advance.

1 answer

0 votes

Hi Teju! This looks like a developer question, so it would be better to post it at community.developer.atlassian.com so any of the developers in our COmmunity can help you out :)

Cheers,

Ana

Thanks for your reply Ana.

I will post this in developer community.

Regards

Teju

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,888 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot