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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,165 views 2 7
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