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

I would like a github EE user to be able to create/update a specific type of issue in JIRA...

...from a commit message and via the creation of an 'issue' in git

 

Shall I write my own plugin? Only if it allows me to expose a custom Jira REST API endpoint that I can hit from a github webhook.

 

Is there some other Jira construct that allows me to create a custom REST API endpoint in Jira?

1 answer

1 accepted

1 vote
Answer accepted

Hello,

REST API is available in Jira. 

You can find available Jira REST API here:

https://docs.atlassian.com/jira/REST/server/

If you want to create issue you should use POST /rest/api/2/issue. If you want to update issue you should use PUT /rest/api/2/issue/{issueIdOrKey}

You can install Atlassian REST API browser plugin for making your life easier while palying with Jira REST API.

https://marketplace.atlassian.com/plugins/com.atlassian.labs.rest-api-browser/server/overview

I know very well about the API thank you. But since I am not in control of the github webhook post, then I need to fabricate a REST API endpoint of my own design, that will consume the requests from the external system. And then yes, handle them by processing them into jira issue updates.

You can use Adaptivist Scriptrunner to develop a custom REST Endpoint. It will be less time consuming then developing a plugin.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Feedback & Announcements

Atlassian Community: the whole is greater than the sum of its parts

This week at Summit we announced an exciting rebrand of two major elements of our community. Read on for details and jump in with questions! In 2006, a group of ~80 Atlassian users in Virginia got ...

2,979 views 16 39
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you