Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can you provide html code for jira page

Bhagavan Goud
Contributor
March 21, 2022

Can you provide HTML code for Jira page

like below pageScreenshot (213).png

1 answer

0 votes
Nic Brough -Adaptavist-
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.
March 21, 2022

The HTML code for a page is built by Jira as it needs it, and it's delivered to your browser.  If you want to see the HTML for a page, there's no point asking us for it, you can look at it in your browser.  Most browsers have a "view source function" and the ability to save a page to disk.

I would like to question why you are asking for this though, what problem are you trying to solve by reading the HTML of a page?

Bhagavan Goud
Contributor
March 29, 2022

Sorry

Bhagavan Goud
Contributor
March 29, 2022

I'm not getting any reply from anone

Nic Brough -Adaptavist-
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.
March 30, 2022

I'm afraid you won't get anything unless you explain what you are trying to do.

What problem are you trying to solve?  Why do you think you want to look at some generated HTML?

Bhagavan Goud
Contributor
March 30, 2022

@Nic Brough -Adaptavist- 

Screenshot (212).png

like the above step1- I have created in Jira project creator configuration in Administration manage apps menu.

step2- I have created Jira project creator configuration page 

step3- left side while clicking on the Jira project creator configuration it will navigate to the right side page.

but while clicking on that we are getting 404 dead link page

Plugin.xml code

<web-section key="admin_handler_config_section" location="admin_plugins_menu">
<label key="Jira project creator" />
</web-section>
<web-item key="plugin-admin-config-link"
section="admin_plugins_menu/admin_handler_config_section">
<label key="Jira project creator-configuration"/>
<link linkId="handler.plugin.configuration.link" key="Jiraproject creator-configuration">/secure/admin/plugins/handler/PluginAdminConfigAction.jspa</link>
</web-item>
<webwork1 key="admin-config" name="Administration Configuration"
class="java.lang.Object">
<actions>
<action
name="com.ebmpapst.jira.projectcreator.PluginAdminConfigAction"
alias="PluginAdminConfigAction">
<view name="input" type="velocity">/template/configuration.vm</view>
</action>
</actions>
</webwork1>

Nic Brough -Adaptavist-
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.
March 31, 2022

Ok, so you actually need some velocity, not html

What have you put into /template/configuration.vm so far?

Bhagavan Goud
Contributor
March 31, 2022

@Nic Brough -Adaptavist- 

Thanks for the information.

Velocity page code like below


<html>
<head>
<title>Jira Project Creator</title>
<meta name="decorator" content="atl.admin" />
$webResourceManager.requireResource("com.ebmpapst.jira.projectcreator:projectcreator resources")
</head>
<body>

<div>
<h3>Jira Project Creator Configuration <span class="m_quest"><i class="m_fa m_fa-question-circle" aria-hidden="true"></i></span></h3>
<div style="height:1px;width:100%;background-color:#bbb8b8;margin-top:10px">
</div>

<div class="m_colums m_col-md-12">

<div class="m_item m_col-md-5">

<label for="m_name">Project<span>*</span></label>
<select style="width:100%;height:100%;background-color:#dbdbdb">
<option value="0">Select Project</option>
<option value="1">ebm-papst IT Projec(IT)</option>
<option value="2">Project2</option>
<option value="3">Project3</option>
<option value="4">Project4</option>
</select>
</div>

<div class="m_item m_col-md-5">
<label for="m_ProjectTemplate">Project Template<span>*</span></label>
<select style="width:100%;height:100%;background-color:#dbdbdb">
<option value="0">Select Template</option>
<option value="1">Project Template1</option>
<option value="2">Project Template2</option>
<option value="3">Project Template3</option>
<option value="4">Project Template4</option>
</select>
</div>

<div>
<button class="aui-button aui-button-primary" style="height:35px" type="submit">Add</button>
</div>

</div>
<div style="height:1px;width:100%;background-color:#bbb8b8;margin-top:10px">
</div>
<span><h3>Jira Project Creator Settings</h3></span>
<div style="height:1px;width:100%;background-color:#bbb8b8;margin-top:10px">
</div>
<div>
<table style="width:100%">
<tr>
<th>Project</th>
<th>Project Template</th>
<th>Action</th>
</tr>
<tr style="text-align:center">
<td> <li> <a href="https://example.com/browse/IT" target="_blank">ebm-papst IT Projec(IT)</a></li></td>
<td><li><a href="https://example.com/projects/IT/summary" target="_blank">ebm-papst IT Projec(IT)</a></li></td>
<td><a href="#m__" rel="noreferrer">
<div style="height:100%;width:100%;color:blue">
Delete
</div>
</a></td>
</tr>

</table>

</div>
<div style="height:1px;width:100%;background-color:#bbb8b8;margin-top:10px">
</div>
</div>
</body>
</html>

Nic Brough -Adaptavist-
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.
April 1, 2022

Ok, and why do you think you want some HTML for that?

Bhagavan Goud
Contributor
April 4, 2022

@Nic Brough -Adaptavist-  the problem is here while calling that velocity page w are getting a 404 deadlink.

code already I have sent the above messages

Nic Brough -Adaptavist-
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.
April 5, 2022

The resource must be incorrectly defined in the apps definition file, or in the wrong place.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events