I want to write post-functions in create issue and want to know from script runner where the jira ticket is created .ie from email or web.
Is it possible?
No.
By the time script runner is invoked, I guess, that information is lost, AFAIK.
Write your own email handler or use JEMH which can fill in a custom field which differentiates the tickets.
Are there any good tutorials on how to start writing my own email handler.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is your starting point - https://developer.atlassian.com/display/JIRADEV/Custom+Message+(Mail)+Handler+for+JIRA
I would suggest that you look at JEMH before spending time to develop an own handler. at https://marketplace.atlassian.com/plugins/com.javahollic.jira.jemh-ui
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.