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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how can i restrict edit screen based on status changes in jira

How can i restrict edit screen based on status changes in jira

Like i have 6 to 7 field on my edit screen .

Now  in "To do" Status --> on edit i must get only First two field

 

Now  in "In Progress" Status --> on edit i must get  First two field  + Futher two fields

 

Now  in "Done Status" --> on edit i must get  all fields .

 

So how can i restrict this on specific status i wanted to show only limited field on edit screen on status change .

Please help me to reach my goal .

Is is possible using script runner ?? if yes then how ??

Or any other plugin from which it is possible .

3 answers

0 votes
Tansu Akdeniz Community Leader Dec 15, 2020

Hi @Nishant Paraskar 

As I understand, you want to edit different fields in different statuses. You can not do it by default.

Workaround:

  • Go to projects permissions -> "Edit Issues" permission and restrict to admins. Or limit the Edit issue screen fields.
  • Go to workflow -> add transition in each status to itself. Name the transition as "Edit". Ex: Transition from "To Do" -> "To Do" and associate with your custom screen which includes related custom fields. Do the same for other statuses.

Briefly, you will see Edit transition button in each status but it will change the status. It will just open a screen with desired fields for edit purpose.

Hope it helps.

Thanks @Tansu Akdeniz  for the response . But i wanted to restrict on bydefault Edit Screen . I dont want to create any custom screen and associate that custom screen with transition .

 

Is there any other way where i can restrict EDIT Screen only on jira server .

0 votes
John Funk Community Leader Dec 15, 2020

Hi Nishant,

You cannot limit access to fields in Jira cloud by standard means. 

The only way I have found to be close is to remove the fields from Edit screen as a whole. Then create a Transition screen with the fields that you want to allow update to for some people. 

Then add the transition screen to a new looping transition that loops back to the same status. There you can place a Condition on the transition to allow only certain users to update the fields in the transition screen as they are the only ones who can see the transition. 

Thanks @John Funk   for the response .

But i wanted to restrict on bydefault Edit Screen  on jira server. I dont want to create any custom screen and associate that custom screen with transition .

 

Is there any other way where i can restrict EDIT Screen only on jira server .

Is any plugin from which it is possible .

John Funk Community Leader Dec 16, 2020

No, that is not possible in Cloud version. And there are no add-ons. 

Hi @Nishant Paraskar ,

If you're using ScriptRunner, you should have a look at the Behaviours section - https://scriptrunner.adaptavist.com/6.15.0/jira/behaviours-overview.html

After adding the correct project and issue type mapping as well as selecting the guide workflow, you can set fields to be hidden on specific workflow steps:

community_behaviours_edit.PNG

Cheers
Thorsten

Can you give me more clear idea on this . How to achieve this step by step .As i am new to script runner .So help me to achieve this task .

Hi @Nishant Paraskar ,

I'm sorry to have missed the fact that you're referring to Jira Cloud. My proposed solution only works for Jira Server/Data Center.

i want the solution for jira server only . Please tell

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

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...

141 views 3 7
Read article

Community Events

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

Events near you