The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

custom field should not edit on view issue page

sgole
Contributor
February 25, 2021

i want that "work order " should not edit on view issue page image.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
February 25, 2021

Hi @sgole you need to remove it from Edit screen. Then you need to preapre new transition called for example "Edit Work Order", set new screen with "Work order" field to it and let the user to adjust the value this way.

To edit Edit screen you have to:

  1. go to your project -> Project Settings -> Screens 
  2. go to Project Settings
  3. select Edit screen for required issue type
  4. remove field from the edit screen

More about screens can be found here:

Juan José Marchal Gómez
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 Champions.
February 26, 2021

Hello @Martin Bayer _MoroSystems_ s_r_o__ ,

are you suggesting to split Edit Screen of View screen, isn't it?

Best regards.

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
February 26, 2021

Hi @Juan José Marchal Gómez , yes, exactly, it is first step :)

Juan José Marchal Gómez
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 Champions.
February 26, 2021

But with this solution, the "Work order" field isn't appear in the View screen so, if the user want to check it, will be somethings needed..

Or edit screen or add in the screen with some automation for example ScriptField or Fragment.

Isn't it?

Best regards.

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
February 26, 2021

No, you need to have two screens for view/edit purposes

  • View
    • contains "Work order" field
  • Edit
    • does not contain "Work order" field

I hope it will help :)

Juan José Marchal Gómez
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 Champions.
February 26, 2021

Hi @Martin Bayer _MoroSystems_ s_r_o__ ,

it helps but the behaviour is the oposite in my case.

I've resolved with an scriptField in View Screen (is read only) and "Work order" field in edit screen (to be edited).

Thanks for your support.