How to display the Information inside the Project Administration page itself, instead of new page?

ARUN KUMAR MK
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2017

I have created a webitem that comes under the project Administration page, I want the page that comes after the webitem click, to be displayed inside the project adminstration block itself, instead of opening it in new one.

In the given screenshot below, i want the page to be like Development tools, which has been opened in same page when i clicked the developmenttools webitem.

jira doubt.png

1 answer

0 votes
Andy Brook
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2017

Your velocity needs to include some META tags.

#set ( $project = $action.getProject() )
<html>
<head>
    <title>Your Configuration</title>
    <meta name="decorator" content="admin"/>
    <meta name="projectKey" content="$project.getKey()"/>
    <meta name="projectId" content="$project.getId()"/>
    <meta name="admin.active.tab" content="your_project_config"/>
    <meta name="admin.active.section" content="atl.jira.proj.config"/>
</head>
<body>
<h3>Hello</h3>

</body>
</html>

If you don't know where the above goes, you have more reading to do about webwork actions:

 

Suggest an answer

Log in or Sign up to answer