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}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.