Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,904
Community Members
 
Community Events
176
Community Groups

How to change the permissions of the edit field of issue in the project?

Edited

Hi community.

I am trying to change the edit button permission of the issue.

What I want to implement is to control the permissions of the edit button of the issue based on changes in the value of a user-defined field.

For example, make the edit button hidden or uneditable by user-defined values.

I will eventually apply this solution to Workflow.

WX20220722-162620@2x.png

1 answer

1 accepted

0 votes
Answer accepted

You can't completely change the permissions other than with the "Edit Issue Permissions" in the permission scheme.

I understand that the permission scheme can't be configured to be conditional. It is all or nothing.

The closest you can come to your requirement is with:

https://docs.adaptavist.com/sr4js/latest/features/script-fragments/built-in-fragments/hide-ui-element-built-in-script

But the user will still have permission to use the in-line edit option and would still have permission to edit the issue with the REST API or any plugin that offers issue editing functionality.

Another approach you could try is to use behaviours to make all your fields read-only when your condition is true. This way, the user will see and be able to click the edit button, but won't be able to change any values.

Thank u.
Thanks for giving me this idea, I'm trying to figure it out.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events