It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

print the custom filed values

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 Feb 05, 2018

Dear @Naidu Lothugedda,

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

So long

Thomas

Hi Thomas,

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

 

 

Kind Regards,

Naidu

Thomas Deiler Community Leader Feb 06, 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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you