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
Published Mar 14, 2019 in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

554 views 1 14
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