Hi Team,
I had added "JIRA Misc Custom Fields plugin" in JIRA. Later I have added the " calculate number custom fields". When I have re-indexed JIRA, Those fields are missing post re-index. Now I am unable to add any custom fields. Could you please let us know reason for this issue.
Please
Thanks and Regards'
Dhananjay M.Mukhedkar
When I used these scripts and enable JIRA Misc Custom Fields plugin, the calculated custom fields are getting lost and I am unable to add any custom field.
Did you read my previous replies?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
2nd one for addition,
<!-- @@Formula:
log.error("Value of field 20282 is: "+issue.get("customfield_20282"));
log.error("Value of field 20281 is: "+issue.get("customfield_20281"));
log.error("Value of field 20283 is: "+issue.get("customfield_20283"));
if (issue.get("customfield_20281") == null || issue.get("customfield_20282") == null || issue.get("customfield_20283") == null)
return null;
return Integer.parseInt(issue.get("customfield_20281").trim()) + Integer.parseInt(issue.get("customfield_20282").trim()) + Integer.parseInt(issue.get("customfield_20283").trim());
-->
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1st one for division,
<!-- @@Formula:
log.error("Value of field 20282 is: "+issue.get("customfield_20282"));
log.error("Value of field 20281 is: "+issue.get("customfield_20281"));
log.error("Value of field 20283 is: "+issue.get("customfield_20283"));
log.error("Value of field 20283 is: "+issue.get("customfield_20284"));
if (issue.get("customfield_20281") == null || issue.get("customfield_20282") == null || issue.get("customfield_20283") == null)
return null;
a= Integer.parseInt(issue.get("customfield_20281").trim()) + Integer.parseInt(issue.get("customfield_20282").trim()) + Integer.parseInt(issue.get("customfield_20283").trim());
v= Integer.parseInt(issue.get("customfield_20284").trim());
return
a/v;
-->
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1st one for addition
<!-- @@Formula:
log.error("Value of field 20282 is: "+issue.get("customfield_20282"));
log.error("Value of field 20281 is: "+issue.get("customfield_20281"));
log.error("Value of field 20283 is: "+issue.get("customfield_20283"));
log.error("Value of field 20283 is: "+issue.get("customfield_20284"));
if (issue.get("customfield_20281") == null || issue.get("customfield_20282") == null || issue.get("customfield_20283") == null)
return null;
a= Integer.parseInt(issue.get("customfield_20281").trim()) + Integer.parseInt(issue.get("customfield_20282").trim()) + Integer.parseInt(issue.get("customfield_20283").trim());
v= Integer.parseInt(issue.get("customfield_20284").trim());
return
a/v;
-->
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarun,
It is not available on the screens and configuration and field configurations as well.
Thanks and Regards
Dhananjay M.Mukhedkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIRA always computes the value of Calculated Fields, regardless of whether they are present on screens or field configuration schemes.
Anyway, your problem is with the configuration screen - see my previous answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your problem is that you inadvertently didn't correctly close the HTML comment in the Description of your calculated custom field that contains the formula. This prevents JIRA's Custom Field screen from showing anything that comes after the calculated field.
If you look inside atlassian-jira.log, you will find an error message followed by a URL you can use to edit the calculated field and fix the comment (it should be closed with "-->").
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They are available Tarun. However , I am unable to add a new custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please try enabling/Disabling the plugin from the admin section of "Manage Add-ons"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you fields present in the custom field section, can you make sure they are available on the screen and field configurations as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.