I have added assets to JIRA using the api,
/rest/assetapi/asset
Now, I have created a custom field named as Assets, where you can search and Link an Asset. After linking the asset, a page will be viewed below the asset as it has been associated with the particular asset by adding an assetPanel in the Atlassian JSON file.
"assetPanels": [
{
"key": "key",
"url": "/showAssetDetails?appKey={asset.appKey}&originId={asset.originId}&issueKey={issue.key}",
"name": {
"value": "Asset panel"
}
}
],
Now, as I need the Issue ID for acquiring specific details about the asset which has already been stored with the issue properties.
But, I'm not able to get the ISSUE KEY from the URL, therefore I'm not able to get the issue key inside the page associated to the asset!
Is there a way to get the ISSUE KEY from the URL or from within the page associated with the asset that linked?
Hey Bharath,
Thanks for your interest in developing with Jira Cloud! I see it's been a couple weeks since you asked this question and there have been no answers here on the main Community. We have a dedicated Developer Community that might be good to check out for plugin development related questions. Since the topics are more focused, it's easier for other developers to watch the questions coming in and provide guidance.
Cheers,
Daniel
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.