Hi! I would like to do the next:
user change issue type, for example, from general request to the some determined issue type.
I would like to change e-mail template in order to put there some special text.
So, I need to use "issueupdated.vm" template for this purpose. But this one are using for all changes in issue.
Сonsequently, I need to compare previous issue type with new one.
So, my question is: how I can determine previous issue type in e-mail template?
Thanks in advance!
P.S. Jira version is 4.4
Hi,
I would say that your best bet is to use the ChangeHistoryManager to get all changes made to the issue type. Have a look at ChangeHistoryManager.getChangeItemsForField(Issue issue, String changeItemFieldName) and see if that's not what you were looking for.
Good luck!
See changelog.vm:
#foreach ($changeitem in $changelog.getRelated("ChildChangeItem"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Colleagues,
Thanks for your answers!
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.