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

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

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.

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
Community showcase
Published Mar 14, 2019 in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

554 views 1 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you