The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

RAW XML Fragment doesn't show the select template option

Arunajyothi Samala
December 2, 2024

I have created an XML fragment to let users create issues in acceptance criteria project. This fragment behaves same as the create issues screen. But the only difference is that Select Template option is missing when fragment button is clicked to create the issue. 


below are the screenshots: 
1. Fragment buttons create screen which doesnt have the select template. We need this option same as the regular create screen

2. custom button

3. regualar create screen with select template option

4. raw xml code in the code block.

How can change the script to show the Select template option for the fragment create also
addacceptancecriteriafragmentcreatescreen.PNG

Addacfragment.PNGRegularcreatescreen.PNG

 

 

<web-item key='link-create-acceptance-criteria' name='ScriptRunner generated web item - link-create-acceptance-criteria' section='operations-restore' weight='1'>

  <label>Add Acceptance Criteria</label>

  <condition class='script:(issue.issueType.name == "Epic" || issue.issueType.name == "Feature") &amp;&amp; !issue.resolution'>

    <param name='£trackingParameters' value='{"scriptName":"com.onresolve.scriptrunner.canned.jira.fragments.CreateConstrainedIssueWebItem"}' />

    <param name='£fragmentParameters' value='{"id":"458d087f-c94c-47e3-bbb7-42aca7ccef6a"}' />

  </condition>

  <styleClass>sr-create-bound-issue link-create-acceptance-criteria </styleClass>

  <!-- Updated link to include a template selection -->

  <link linkId='link-create-acceptance-criteria'>https://jirasw-dev.t-mobile.com/secure/CreateIssue.jspa?pid=72902&amp;issuetype=16500&amp;template=true</link>

</web-item>

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events