You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.