Hi,all!
How to disable IssueType field on Create Issue Screen?
I tried to do it using javascript, but this field is too stubborn.
jQuery('#issuetype-single-select input, #issuetype-single-select span').unbind()
jQuery('#issuetype-field').unbind()
i think you used javascript and it is not working when you change issue type, what i gusss correct then check the following post
https://answers.atlassian.com/questions/47843/strange-javascript-problem-in-create-screen
is it correct what i guessed? is it helped my answer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't "disable issue type field". The issue type is mandatory, Jira cannot work without it. If you disable it, you won't be able to create ANY issues, which would make your Jira useless.
I think you need to explain the requirement in more detail, as it's not clear what you really mean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's still not clear, where are these A field and B field placed? Do you mean you have customized the create issue screen itself?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oh, no disable,make READ-only I mean
Ok, I have 2 fields:
1. Afield - select list
2. Bfield - userpick, Bfield's value depends on Afield's value, and it's realized using external json service.
It works well, but this service doesn't work when I change issuetype on Create Issue Screen.
That's why I decided to make this field readonly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, but that still means you will only be able to create one issue type? If that's correct, then you can just change your issue type scheme so that there is only one issue type available and the issuetype field won't be able to change.
I suspect that's still not what you really want though - you really want to be debugging your code so that it works when the issue type is changed on the create screen. I think you need to explain what you've customised on the screen and how - that needs debugging, rather than trying to run off and fix it in a totally different way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, then we can rule out using a single issue type.
So, we need to know what you've customised and where (removing the issue type selection is a bit of a pain, and very user-unfriendly, we should be fixing your code, not reducing functionality elsewhere)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it's very user-unfriendly, but I don't see another way so far.
I try to customise Issuetype on Create Issue Screen (from project's profile page and dashboard).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kate,
I think you need to explain your requirement clearly. Reading from all the comments I just have a feeling you are trying to accomplish something simple.
You say you want to make the Issue Type selection read only, then why would you want to have 7 issue types?
If you want 7 Issue Types, what is the point making it read only?
You are trying to disable changing issue type selection because it is affecting your other two chained select custom fields that uses a json service?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are trying to disable changing issue type selection because it is affecting your other two chained select custom fields that uses a json service? [exactly]
I don't have an idea why json service doesn't work while changing issue type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you explain a bit more what you are trying to achieve, I mean the end goal?
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.