Cutom field (checkbox) to be grayed out (edition disabled)

Dominik M. April 27, 2017

Hello,

What I plan to do is to get Cutom field entitled "Other Requirements" (checkbox custom field type) to be grayed out (unavailable to be edit) after clicking on edit button after the issue was created. So in fact this is to happen on the edit and view issue screens.

Project administrators should be able to edit this field only during a transition (named "Verification")

Custom field "Other Requirments" is of to be visible during the whole workflow cycle.

Any help highly appreciated.

Regards,

Dominik Maciejewski

1 answer

1 vote
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2017

You could accomplish this like this -

Create three screens

  • PROJ Bug Create Screen
    • Place Other Requirements field on the screen
  • PROJ Bug Edit Screen
    • Do NOT place Other Requirements field on the screen
  • PROJ Bug View Screen
    • Place Other Requirements field on the screen
  • Transition: Other Requirements
    • Place Other Requirements field on the screen

Create a screen scheme

  • PROJ Bug Screen Scheme
    • Create Operation: Issue Type Create Screen
    • Edit Operation: Issue Type Edit Screen
    • View Operation: Issue Type View Screen
  • Assign this screen scheme to your Issue Type Screen Scheme
    (Which you'd assign in turn to your project)

On your workflow

  • Create your Verification action
  • Assign the Transition: Other Requirements screen for this action
  • Add a Project Role condition, referencing Administrators
  • You may consider adding a validator to ensure the field is required

If you have any questions, I'm happy to explain in more detail.

Dominik M. April 27, 2017

Steven,

Great tutorial - many thanks for the answer - I've also found something like this and folowed it (before reading your reply) which I guess may also be useful: https://community.atlassian.com/t5/JIRA-questions/Set-particular-custom-field-read-only/qaq-p/296959

You may take a look and see if those steps are sufficient.

For now my configuration for the custom field named "Other Requirements" looks like this:

2017-04-27 15_01_37-New notification.png

 

as you can see I've simply unticked it to be present on ZW: Task Management Edit Issue Screen

Regards,

Dominik Maciejewski

Suggest an answer

Log in or Sign up to answer