Notification Schema - Single Email Address

Hello,

I am running JIRA Software 7.5.3, have have it installed in our network.

I am trying to get a notification setup that goes to a single email user address. When I enter the email address needed for this I get an error 500 when I try to save the data.  The email address in question is a valid address.  It is a rather long address and my concern is that the field length is shorter than the email address in question. 

 

Does anyone have any ideas on the limits of this field? or what could be the problem here.

 

 

2 answers

Try setting 'Browse Projects' permission to 'Anyone'(any non-logged-in users). 

Hello,

 

Thanks for the feedback. That setting is now in place, I think.  Only way to set it was 'Group - Anyone'.  I am still getting the 500 page error when I go to save the change.

Hello,

 

The error I am getting is just a 500 skull and cross bones error. The only tech on the page states 'Sorry, we had some technical problems during your last operation'.  I also did the MySQL query string in that article and the result set was zero records.

 

So I was looking at my logs for JIRA and found the following text in it.

 

2017-12-18 20:48:39,804 http-nio-8080-exec-17 ERROR [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [] threw exception [com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Notification][eventTypeId,4][scheme,10031][parameter,emailtosalesforce@t-1a2xi2fkc5r96pb6q08wd496rf8vxgwk86f5znpyhps4vefv46.2-ma1geaw.eu3.le.salesforce.com][id,10415][templateId,null][type,Single_Email_Address] (SQL Exception while executing the following:INSERT INTO notification (ID, SCHEME, EVENT, EVENT_TYPE_ID, TEMPLATE_ID, notif_type, notif_parameter) VALUES (?, ?, ?, ?, ?, ?, ?) (Data truncation: Data too long for column 'notif_parameter' at row 1))] with root cause
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'notif_parameter' at row 1

 

A ton of more text and then the following

 

Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:INSERT INTO notification (ID, SCHEME, EVENT, EVENT_TYPE_ID, TEMPLATE_ID, notif_type, notif_parameter) VALUES (?, ?, ?, ?, ?, ?, ?) (Data truncation: Data too long for column 'notif_parameter' at row 1)
at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:570) [entityengine-1.3.4.jar:?]
at org.ofbiz.core.entity.GenericDAO.singleInsert(GenericDAO.java:198) [entityengine-1.3.4.jar:?]
... 259 more
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'notif_parameter' at row 1

 

According to a table create command against the 'notification' table show that the 'notif_type' field is only 60 characters.  The address I need to use here happens to be 102 characters long.  So I assume that address is stored in this field, and thus the problem. 

Anything I can do here?  Some sort of simple fix I can apply?

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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
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