Hello.I need to change project email for all of my projects in JIRA.
There are hundreds of them so I would like to know if script runner is capable of this?I've been struggling with this for some time now.
Yes, a one-off script run in the console could use the ProjectManager class to update every project
There are methods of getting the mail, but I cannot see how to set the email for the project.I've been looking through https://docs.atlassian.com/software/jira/docs/api/7.0.11/com/atlassian/jira/project/and these 2 stand out, but nothing on how to set the email.https://docs.atlassian.com/software/jira/docs/api/7.0.11/com/atlassian/jira/project/ProjectManager.htmlhttps://docs.atlassian.com/software/jira/docs/api/7.0.11/com/atlassian/jira/project/Project.htmlCould you give me some pointers ?
Ah, hang on, what exactly do you mean by "project email"?
In the project configuration under notification you can specify the notification scheme and an email.
F.x.Scheme: Notification Scheme nameEmail: xxx@company.xxI need to change this email on all projects.
It looks like you're new here. Sign in or register to get started.