How to configure a jelly script as a service

Diogo Carvalho de Matos January 22, 2013

Hi,

First sorry my English,

I have this "script.txt" in diretory: C:\Program Files (x86)\Atlassian\JIRA\atlassian-jira\WEB-INF\classes\services

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log" >
<jira:Login username="123" password="123">
    <log:info>Executando serviço@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</log:info>
    <!-- Set Params -->
     <core:set var="workflowStep" value="711" />
    <core:set var="workflowUser" value="user" />
    <core:set var="filterKE" value="10000" />

    <!-- Run the SearchRequestFilter -->
    <jira:RunSearchRequest filterid="${filterKE}" var="issuesKE" />
 
    <!-- Iterate over the KE issues -->
    <core:forEach var="issue" items="${issuesKE}">
        <jira:TransitionWorkflow key="${issue.key}" user="${workflowUser}" workflowAction="${workflowStep}"/>
    </core:forEach>

</jira:Login>
</JiraJelly>

how to configure it as a service?

InputFile?

OutputFile?

Thank's

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Zul NS _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2013

Input file is your jelly script of "script.txt" file location.

Output file can be an empty text file name "output.txt", include the file location as well.

You will require to specify both field, or you will obtain error as in the following ticket https://jira.atlassian.com/browse/JRA-30167

0 votes
Rahul Aich [Nagra]
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.
January 22, 2013
TAGS
AUG Leaders

Atlassian Community Events