Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

print the custom filed values

Naidu Lothugedda February 4, 2018

Hi,

I am trying to print the custom filed values of a issue in JIRA  into a JSON file.

I am able print to those value into text file using groovy script. But i wont to in a JSON format  

Please guide me

 

Kind Regards,

Naidu

 

 

1 comment

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2018

Dear @Naidu Lothugedda,

best you use the REST API. The output is JSON.

So long

Thomas

Naidu Lothugedda February 6, 2018

Hi Thomas,

Thanks for your reply,  cloud please give some steps for that.

 

 

Kind Regards,

Naidu

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2018

Dear @Naidu Lothugedda,

start here for basics on the API.

For starting over with PHP all the basics are described in the article of Daniel Radigan. What you have just to do is, adapt it to your needs. The code can be downloaded at the end of the article.

A command line PHP interpreter is also required. An official Windows version is found here (and other versions at php.net).

Finally you need to add a php.ini file to the folder of PHP, to tell PHP where to find the file php_curl.dll

extension=<path\to\php\ext>php_curl.dll


So long

Thomas

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events