You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.