API for Jitter Plugin ?

Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2012

Hi all,

is it possible to create new Jitter posts via an API ? Idea is: Our Hudson Buildserver should create a Jitter post everytime a new version was released.

Is this possible with the Jitter Plugin ?

Cheers

Thomas

1 answer

1 accepted

0 votes
Answer accepted
Viðar Svansson
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.
October 23, 2012

Hi,

It is possible through REST but is currently not documented as the idea was to improve the API design before documenting it. But if you want to try it out here is what you can do:

Do a POST request to $jiraURL/rest/jitter/1.0/project/$projectKey with a parameter "content" that contains the message.

You have to authenticate your request with a JIRA user and the authenticated user will be the author of the post. The user also has to have neccessary permissions to post to the project. I recommend that you create a user for your Hudson server and give it a nice avatar using the Hudson icon :)

Checkout the JIRA REST documentation if you need help with authentication.

Let me know how it works out for you.

Cheers,
Viðar

Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2012

Great, thank you :-)

Suggest an answer

Log in or Sign up to answer