You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
What I am trying to achieve in my Servicedesk is a Custom read only text field on a request which pops up after something is selected to give the user more information. See below:
So what I did for this was create a custom field of type "Text Field (multi-line)" and I added default text as seen above.
(This is also a dynamic field based on a previously selected item from a list which I achieved using the Dynamic Forms extension.)
Then in the Behaviours admin section (Administration > Manage apps > Scriptrunner > Behaviours) I added behaviours for the field to be set to Readonly:
So I only want this read only field to show when a request is being logged, and not anywhere after. So I assigned the custom field to a Create screen for that issue type.
However, when I log the request, and view it in the portal, I can see the field:
I only want it to be showing when logging the request. How can I fix it so it doesn't show here?
Alternatively, if this text is static to be shown for a particular field, then you can make use of optional Help text for this field in your Request configuration in JSD project.
Also, can you check if you are using the same screen for Create issue and View issue Operations? If it is the case, you will need to make separate screen for View issue operation and remove this read-only text field from this screen.
Hope it helps!
Thanks Taranjeet, I didn't realise I could format the Field help text field in the same way you can format the Help and instructions section. So this has helped add extra notes for users! Although there are still some issues for when I want to add notes and there is no field I can attach this to for it to make sense. But it's a good start anyway.
I had created separate screens for them. But I think maybe the create screen must cover both the create screen when creating a request and also when viewing it within the portal, which is a bit annoying
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad, it helped! Please mark the answer as accepted for helping others in the community! Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Claire Berry Try removing this field from the screen used for View Issue operation in the Screen Scheme of your relevant issue type in your JSM (JSD) project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Taranjeet Singh,
Thanks for the reply. I only have this field on the Create screen, and it is not on the View screen.
I think this might be showing because there is a default value? Which I need to display the text. Is there any way to fix this or is there a better/alternative way to display notes for the user when creating a request?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.