Update issue without notifications via JMWE

Zoltán Lehóczky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2022

I'd like to update the current issue from a workflow post function with JMWE in a way that doesn't send any notifications.

To achieve this, I tried unchecking "Send notifications" under the function:

2022-10-24_15h09_28.png

However, with this, still, notifications are sent. E-mails can be handler by a filter, but having to click the bell notification in Jira in the top-right corner is really annoying.

I thought that we can get rid of this by running the post-function not as the add-on user, but the current user:

2022-10-24_15h08_10.png

This breaks, however, if the current user is not an admin on the project:

2022-10-24_15h13_43.png

How can we prevent JMWE updates from triggering notifications?

Thank you!

1 answer

1 accepted

0 votes
Answer accepted
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2022

Hi @Zoltán Lehóczky 

Most notifications simply cannot be avoided, this is a limitation of the Jira Cloud rest API that all apps must use. The only changes where the notification can be disabled are field changes done by the Set Issue Fields and Copy Issue Fields post functions. 

Zoltán Lehóczky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2022

The mentioned 403 error also happened with an issue field update, with the JMWE "Set issue fields" post-function. And it seems that it's also something that otherwise causes a bell notification, even if notifications are supposedly disabled for the function.

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2022

Hi @Zoltán Lehóczky ,

The 403 error is related to using the current user. Only the addon user can disable notifications (it's a Jira cloud limitation). 

Can you explain what you mean by "bell notification"?

Zoltán Lehóczky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2022

Thank you for your answers.

see. I kept "Send notifications" unticked even when using the current user, since the checkbox is still there even if you select that as the "Run as user".

By "bell notification" I mean the in-app notifications of Jira, as opposed to notification e-mails:

2022-10-24_20h31_47.png

Do I understand correctly that this is the case?

  • You can run issue-updating post functions as the current user. Then, the current user won't get notifications (since the actions are seemingly done by them) but everyone else will.
  • You can run issue-updating post functions as the add-on user. Even if "Send notifications" is unchecked, there will be some notifications for everyone.
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2022

The only thing you can deactivate are notification emails. In-app notifications cannot be deactivated afaik. And note that the option on the JMWE Configuration page only controls the default value of the same option on the actual post function configuration screens, so what matters is the actual post function configuration. 

Zoltán Lehóczky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2022

Can you tell what you mean by "actual post function configuration screens"? I only see one option, this one:

2022-10-24_21h54_48.png

Apart from the above one, we have another similar field-setting post function, and then only standard built-in one, none of which seem to be related to notifications:

2022-10-24_21h57_54.png

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2022

That's the one I meant. 

Zoltán Lehóczky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2022

OK, so this story is less then ideal. What I've written above is true though, you can disable notifications for yourself by enabling the notifications for others - which they'd get anyway, since that's not possible to disable...

Suggest an answer

Log in or Sign up to answer