We've built a cool integration where the JIRA Asset Panel is populated and shows asset information in an IFrame, but now we want to automatically allocate assets as a ticket is being created.
- User clicks "New Ticket"
- Users email address is sent to an API which retrieves the users main Asset
- That asset gets automatically associated with the ticket before the user has even saved it
I can't find any documentation on how to do all this, but I suspect we will need some kind of trigger (webhook??) that runs program code, that would call into our API, grab the assetID, and then push it somehow into the JIRA ticket asset relationship.
We are programmers, but not JIRA programmers :) so any pointers or examples that might help would be great.
There's a link here which shows how to programmatically link an asset to an issue
https://ecosystem.atlassian.net/wiki/spaces/JSD/pages/556466196/4.+Issue+to+Asset+relationship
However I don't know how to call that from a trigger, or whether it would be too soon on issue create since the issue record might not exist until the user clicks save
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.