I want to notify a group when a project manager field ( Custom field) is updated with the name of the project manager.
I have Script runner and I tried to create a listener using the Issue Event update. What I think I need to do is to create a condition. Maybe the condition should be if the project manager field is not null.
I am not a developer so I do not know what the script should be
Please let me know
Hi Rimet - Welcome to the Atlassian Community!
You can easily do that with Automation For Jira which is free in Jira Cloud.
Here's some information to get you started:
There are two types of automation:
Automation Basics: https://www.atlassian.com/software/jira/guides/expand-jira/automation
You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, go to Jira Settings > System > Automation Rules (left-hand menu).
For more on using Automation For Jira see these help pages.
Jira Automation Template Library to help get you started quickly:
Basically, you want to create a new Rule with a Trigger for Field Value Changed and select the Project Manager field.
Then add a Condition to check if the value = the name of the certain project manager.
And then add a New Action for Send email. In the To: section, put in the group.
I am using Jira Server and have Sriptrunner installed and created a Listener based on Issue Updated event.
But I need to make sure that the condition is applied if the customer field ( User Picker list) is not null.
The idea was to send the email when the project manager updated this field
As I do not have the skill to write the code, I am struggling to define the condition and tried this code.
cfValues['customFieldId_35149']?.value but it gives an error
Sorry, I see now that you are using Server. There is a Lite version that is free and also a paid version. Here is a link that shows the different capabilities between the two.
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events