Here is my code which add a workflow button with drop-down on issue page the code written in system-issueoperations-plugin.xml file is -
<web-item key="drop-down1" name="web-item1" section="transitions-all" weight="160">
<label>QARA Testcase Execution</label>
<link linkId="copy_stuff_id"></link>
</web-item>
<web-item key="drop-down2" name="web-item2" section="transitions-all" weight="170">
<label>Add to Test Cycle</label>
<link linkId="add-test-cycle"></link>
</web-item>
I just want open atlassian AUI-dialog i.e. popup which is written in .vm file with my own content , on clicking the web-item Qara testcase Execution as shown in image which I shared
Thank You
Your screenshot is from Jira but you have tagged Confluence?
But there is a pop dialog box within AUI - docs are here: dialog2.html.
It has an example that uses a button click to trigger the dialog box.. I have used this successfully in Confluence user macros.
Yes you are right it was by mistake tagged as confluence it is jira-server, and thanks for sharing link I made the dialog with the link you provided in .vm file now just wanted to open that dialog on clicking the web-item Qara-testcase Execution as shown in earlier screenshot.
How should I fetched my .vm file in <link>?
<web-item key="drop-down1" name="web-item1" section="transitions-all" weight="160">
<label>QARA Testcase Execution</label>
<link linkId="copy_stuff_id">___???___</link>
</web-item>
and above code is written system-issueoperations-plugin.xml
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well I don't know Jira, but for Confluence, I would structure VM code as a user macro and included it in <user-macro> module. For Confluence, the <web-item> module goes in the same file, in this case atlassian-plugin.xml.
Then the web-item <link> parameter refers to the key attribute of <user-macro> module.
For example:
...
<link linkId="your_macro_name"/>
....
and
<user-macro name='your_macro_name' key='your_macro_name' ....
I would think Jira is similar..
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.