Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,022
Community Members
 
Community Events
184
Community Groups

How to access the issue key from the page associated with the assets?

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?

 

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 28, 2020

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events