Hi everyone,
I have created script listener that will send out notifications per email everytime someone change a value of specific custom field.
Now I also need to include the system field "Summary" as well, but I can't seem to find a workaround.
Any suggestions?
Example:
Project number: <% out <<
issue.getCustomFieldValue(
com.atlassian.jira.component.ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Project Number")
) %> <a href="${baseUrl}/browse/${issue.parentObject.key}">${issue.parentObject.key}</a>
<br> <br>
Site: <% out <<
issue.getCustomFieldValue(
com.atlassian.jira.component.ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Site")
) %>
<br> <br>
Hello @kukabgd
You can get it like this
Project number: <% out <<
issue.getCustomFieldValue(
com.atlassian.jira.component.ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Project Number")
) %> <a href="${baseUrl}/browse/${issue.parentObject.key}">${issue.parentObject.key}</a>
<br> <br>
Site: <% out <<
issue.getCustomFieldValue(
com.atlassian.jira.component.ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Site")
) %>
<br> <br>
Summary: ${issue.summary}
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.