Can't access webwork resource (JIRA plugin development)

Zaina Ramadan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 11, 2024

 

I am currently developing an add-on for JIRA data center. I have added the webwork module and defined an action with alias SchedulingPluginWebworkAction. I want to access the resource at the URL http://localhost:2990/jira/secure/SchedulingPluginWebworkAction.jspa, but I keep getting 404 you've found a dead link. I am not sure what the issue is. My plugin is enabled and seems to work find but I can't access the URL. 

Here is the atlassian-plugin.xml file for reference:
 

 

<?xml version="1.0" encoding="UTF-8"?>

<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
  <plugin-info>
    <description>${project.description}</description>  
    <version>${project.version}</version>  
    <vendor name="${project.organization.name}" url="${project.organization.url}"/>  
    <param name="plugin-icon">images/pluginIcon.png</param>  
    <param name="plugin-logo">images/pluginLogo.png</param>
  </plugin-info>  
  <!-- add our i18n resource -->  
  <resource type="i18n" name="i18n" location="plugin"/>  
  <!-- add our web resources -->  
  <web-resource key="plugin-resources" name="plugin Web Resources">
    <dependency>com.atlassian.auiplugin:ajs</dependency>  
    <resource type="download" name="plugin.css" location="/css/plugin.css"/>  
    <resource type="download" name="plugin.js" location="/js/plugin.js"/>  
    <resource type="download" name="images/" location="/images"/>  
    <context>plugin</context>
  </web-resource>  
  <webwork1 key="scheduling-plugin-webwork-module" name="Scheduling Plugin Webwork Module " i18n-name-key="scheduling-plugin-webwork-module.name" class="java.lang.Object">
    <description key="scheduling-plugin-webwork-modul.description">The Scheduling Plugin Webwork Module Plugin</description>  
    <actions>
      <action name="com.company.jira.jira.webwork.SchedulingPluginWebworkAction" alias="SchedulingPluginWebworkAction">
        <view name="scheduling-plugin-success">/templates/scheduling-plugin-webwork-module/scheduling-plugin-success.vm</view>
      </action>
    </actions>
  </webwork1>
</atlassian-plugin>

0 answers

Suggest an answer

Log in or Sign up to answer