Forums

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

Is it possible to make a custom field not editable in a Jira Custom Screen Transition

josemarsilva
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 20, 2021

Is it possible to make a custom field not editable in a Jira Custom Screen during a Transition?

Scenario:

  • I have a worflow transition 'WORK-DONE' that transits from state 'WORKING' to state 'DONE'
  • 'WORK-DONE' transitions is associated with a custom screen 'Screen Work Done'
  • 'Screen Work Done' has some custom fields asked from user: 
    • Custom field 'combo-box-solution-type' with values 'Final solution', 'Work around solution'
    • Custom field 'user-evalution-about-solution': a user filled free text where user can write something about solution proposed
  • THE PROBLEM:
    • It is important that information on custom field 'user-evalution-about-solution' appears on custom screen 'Screen Work Done'
    • But it is crucial that information of custom field 'user-evalution-about-solution' is EDITABLE=FALSE or READ-ONLY or BACKGROUND TEXT
    • Only custom field 'combo-box-solution-type' can be editable

 

Is it possible?

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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 21, 2021

Not directly.  The point of a transition screen is to ask the user to fill in or update  fields.  So if you put a field on it, it will be in edit mode.

I don't think there's a way to do this with read-only or scripted fields either - they don't appear on transition screens because they're not editable.

The closest I think you can do is have a "throwaway" field.   Create a new field that goes on the transition screen, use Automation or a script to create content in it (just copy the value in 'user-evaluation-about-solution' whenever it changes), and tell the users that there's no point editing it because anything they put in there will be discarded.

Or use the field directly, but put a validator on the transition that says "if they change the content of the field, reject the transition"

josemarsilva
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 22, 2021

Thanks for help! I'll use the 'throwaway' filed.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events