Hello, :)
I want to change the access level for members of that project when the field status of a project is changed, I have done the actions related to the project permission, but I don't know how to write the script to run it after the field status is changed.
Thank you for your guidance.
Hi Maahshid
You can't use project permissions on a per-issue basis. If you adjust anything in project permissions based on the status of an issue, you're also changing the permissions on ALL other issues.
I suggest you look into workflow properties instead.
Hi Peter
Thanks for your answer, Actually I want adjust project permission based on the status of project not issue, for exp if the status of the project change to "Closed" all issues related to this project have to be closed and no new issue be created on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no such thing as project status.
But what you are describing can be achieved by changing the permission scheme associated with a project.
PermissionSchemeManager is probably a good place to start
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not familiar with the app that provides this project-level custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it's not important or key point of my work, because automation rule find this costume field and run script, so now my question :
in script how can I return project key and then read costume field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.