Hi,
I would like to bold custom fields\system fields on create +edit screens of specific issues.
For example, priority system field. I would like to bold the name 'Priority'.
How can I do it?
Thanks,
Daniel
Hi @Dan27,
@Yogesh Mude is right. Also, you can place a javascript code to make the labes bold into the AnnouncementBanner.
ok @Orkun Gedik AnnouncementBanner looks like a good option.
Can you help me with the script? How to write it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check out this thread: https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-apply-HTML-style-or-font-weight-for-custom-field-quot/qaq-p/463895 It appears to have some ideas on how you can do this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Orkun Gedik @Andy Heinzer ,
Is it possible to add condition (issue type = story) to this script?
Bold the field only of Story type issue.
Thanks,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Dan27,
Yes it is possible. You just need the check "Issue Type" custom field value in your javascript code as follows
...
if(document.getElementById("issuetype-field").value == "Story"){
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Orkun Gedik , If I don't have the field 'issue type' in Edit screen, How can I get the value of the issue type ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Dan27
This will not be done easily, you need to do the changes in Jira source code.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.