I want to update a custom field on an issue when a commit is done in bitbucket (with that issuekey as comment, of course)
I see that Jira already has workflow triggers on bitbucket commits, but I cannot seem to find a way to update a field
Can it be done in Jira? Or with some addons like Scriptrunner or others?
best regards
Martin Helgesen
well, it's not a perfect solution, but I created workflow triggers with transition to the same status (in other words, no transition), and then created a post-function to update the custom field.
it's not perfect, because some people might trigger that transition manually if they find it. but it works
Check out nFeed. It's intended to do this sort of thing, but it populates data in custom fields that it provides (ie: not the custom field you are already using.) It knows how to speak REST, so I imagine you can probably get pretty close to what you are looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well, it does not give me the trigger/event I want to perform action on. I wish Jira could expose the "commit created" trigger so it could be used with addons like scriptrunner or Automation
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.