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

Teja May 24, 2017

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
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 29, 2017

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

Teja May 29, 2017

Thanks for your reply Ana.

I will post this in developer community.

Regards

Teju

Suggest an answer

Log in or Sign up to answer