Want to change the location of scripted field where it is appearing currently to move to a new location while viewing the issues(preferrably under date time field ).
I understand that a template is required for viewing a custom field but I do not have much experience on writing the velocity template.
Configured searcher: Date Time Range picker
Template : I tried with all available relevant templates but location of the fields remains the same ... {only value changes}
if someone has experience in moving field location. the Help will be greatly appreciated.
Thanks in advance,
Sumit
You aren't going to be able to do this without coding.
The dates are grouped together based on the field type presented by the plugin providing them. If they're a date or date/time field, they get grouped up. You're using a scripted field which is not a date/time field, so it won't get grouped with them.
I agree to your comment and I thank you for looking into this issue.
It would be a great help if you can tell me what sort of coding changes are required. Whether it will be a Velocity or any other changes ?
Also how much time it should ideally take to perform changes.
Thanks,
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mmm, well, the easiest fix might be to create your own plugin which implements a date/time field, and then replicates the logic in your script. No changes needed to Jira core code, but it does mean a little plugin you'll need to maintain in the long run.
If you want to start digging in the core of Jira, then I'd start with https://developer.atlassian.com/display/JIRADEV/Adding+Custom+Field+to+Issue+Summary - this is not quite what you need, but it's close to the sort of thing you need
You could try relocating it with some javascript too, but I avoid that as it tends to be very fragile and I really don't know javascript well enough to be confident.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic for your valuable comments ..!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made a workarround for it..... I created a custom field {date time type} in Jira, Populated it using the scipted field and made scripted field hidden from Users.
Thats how I have the value of the scripted field grouped together with date time type custom field.
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.