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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 50m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

40 views 3 3
Read article

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