documentation on the Slingshot plug in

Carmen Bullock June 1, 2016

I am looking for documentation on how to use the Slingshot plugin. I need for subtask to update when I update the parent task

1 answer

0 votes
Jos Braaksma June 2, 2016

Hello Carmen,

Thank you for your inquiry.
The way it works is, you create a file in a certain xml format, you give the location of the file to the plugin instance, and it will then run every time an issue is changed.
For example, the following configuration would put the duedate and reporter fields into subtask, but only if the project is not DEMO.
<?xml version="1.0" encoding="UTF-8"?>
<SlingshotUpdatefields>
    
<update-fields>
        
<project ne="DEMO"/>
        
        
<duedate id="dd"/>
        
<reporter id="r"/>

        
<subtasks>            
            
<duedate set="{dd}"/>
            
<reporter set="{r}"/>
        
</subtasks>
    
</update-fields>
</SlingshotUpdatefields>
There are xml editing tools on the internet (look for autocomplete and/or xsd support) and an xml schema (.xsd file) downloadable fro the plugin to help writing the configuration.
Please be aware that the plugin is not compatible with JIRA 7 yet. I am considering an update, but it might take a while.
Hope this helps, if you have a specific usecase, I'm happy to help you with writing the initial config for it.
Jos 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events