Wanted to know if ScriptRunner plugin can do the following?

Hi ScriptRunner Support Team,

We are buying ScriptRunner plugin this month for our production JIRA version 7.1.1. As I am the administrator of JIRA in our company, I am familiarizing myself with this plugin. I am interested to know if ScriptRunner can be used in the following cases:

  1. So we have a plugin from which we got a new custom field. This custom field works as expected but whenever this custom field value is modified it never give notifications to other users. Our current users would like to receive notifications for this custom field as they receive now from any default /custom fields came directly from Jira. Now I see in your plugin "Script Listeners" section you have options of "Fires an event when condition is true" and "Send a custom email". In those options you have an "Events" field from where we can choose "CustomFieldUpdatedEvent". Now I wanted to know if this "CustomFieldUpdatedEvent" can send email when my custom field value is modified? I am not sure how to use this new event. Our JIRA Notification scheme currently has only those events which came from directly Jira. So after installing your plugin I thought it will create this new events for me but I can see that It did not create any and so I do not know how to include these new events to my notification scheme. Another point is our users want to get email whenever this custom field value changes. So it can not be a post workflow condition.
  2.  If ScriptRunner plugin can not do the above functionality can it do the following? It is also an acceptable workaround. Whenever the custom field value changes can we copy the value of the custom field to the comment section of Jira? In that way it creates an email using Jira's own email system.
  3. Similarly another acceptable workaround could be whenever the custom field value changes copy that custom field value to another Jira field and that could also create email. Is it possible with Scriptrunner?

We do not have experience of developing our own JIRA plugins. So we are trying to figure out a workaround in this scenario.

Thanks

Iftekhar

1 answer

This widget could not be displayed.

Hi... I think it will be the case that either all options will be possible, or all options not. 

If you change the plugin-supplied CF, and some other CF, do you get notifications? Does the changed value for the plugin-cf appear in the history tab?

You could try copying the value to a comment on change, but if it's not implemented properly you may not be told when it's changed.

Maybe you can always copy it to some text field rather than the comment, then JIRA should include it in a mail.

Hi Jamie,

Thanks for your reply. Unfortunately, that plugin supplied custom field neither send notifications nor appear in history tab. Thats why our managers are complaining about not having audit log.

I am not sure how can i use script runner plugin to automatically copy that plugin supplied custom field value to comment section or another custom field supplied by JIRA whenever it changes .

 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

128 views 2 0
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