Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

attachment to JIRA::Client

by ghosh123 (Monk)
on May 19, 2014 at 13:36 UTC ( #1086662=perlquestion: print w/replies, xml ) Need Help??

ghosh123 has asked for the wisdom of the Perl Monks concerning the following question:

I have written an application which is creating a Jira issue using JIRA::Client module. The application is working fine but I am not able to attach a file to the ticket while creating.
I am referring to this below link and using attach_file_to_issue but not able to understand what is $key ? Please help.

Replies are listed 'Best First'.
Re: attachment to JIRA::Client
by vinoth.ree (Monsignor) on May 19, 2014 at 14:27 UTC


    You can also share your code here, so that we can help you better.

    The $key is the unique id created in JIRA, when u create a new issue. When you create new issue you could have got hash refrence as return value,which contains details about your new issue including issue id, use that id as $key while attaching the file to that issue.

    All is well

      Thanks, it worked. The code is too long to write here. But it is simple, just creating JIRA::Client object and using the built in function called on that object.

      Is there any mehod by which I can get list of all the previously created issues ? So that I can put that list in a dropdown and select the desired one from the list to update ?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1086662]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-05-25 19:28 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (90 votes). Check out past polls.