A user sees "project", "link", and "summary" but behind the scenes, the user is usually setting a subfield. how can a developer determine which subfield is being changed.
For example:
when linking two issues, a user is setting the issuelinks-in/outwardIssue-key sub-field
when selecting a project the user is setting the project-name sub-field
when typing in the summary, the user is setting the summary field
You can develop a listener. In the listener you have access to what was changed for the issue. You can use the getChangeLog method of the IssueEvent class. You can find more info here:
I am trying to do a monthly audit and need to determine a minimal set of field names (and sub field names) to pull, I am not trying to monitor every action and don't have continuous access to the jira instance.
There has to be a table somewhere in the jira code that defines this information, I shouldn't have to sniff packets and guess
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"sub-field" doesn't mean anything in Jira terms, so I'm slightly hazy on what you mean by it. Issues have fields, that's it really.
Alexey has defined the best answer for you already - find or write a listener that can capture the data you want at the time things change. If that's not going to work for you, then use the REST API to get data about fields changing.
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.