Hi,
I am new to the Jira apps, so I thought I give it a go..
But I encounter a problem and I don't understand why.
I have this json uploaded:
"modules": {
"jiraProjectPages": [
{
"url": "/Jira/view.aspx?projectId=${project.id}&projectKey={project.key}",
"weight": 100,
"key": "project-2-iteration",
"name": {
"value": "Link project to Iteration"
}
}
]
}
but projectId and projectKey are always empty.
When I inspect the iframe url in the browser I can see that hey are empty..
What am I doing wrong?
Where in your script are you setting the variables for project id and project key?
I did exactly as this page suggested to me:
https://developer.atlassian.com/cloud/jira/software/modules/project-page/
Is it perhaps some kind of rights an user needs before the information is send to the iframe?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, it's part of an app, not a script, sorry, I did not grasp that from the question.
I have not yet coded for Cloud Jira, so I don't know the answer to this one. It feels like the variables should be fed to your code by the framework it's running in, but I don't know where to look next for them. Sorry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.