Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help from a JIRA API 'guru' please

Nand Kishore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 17, 2019

Thank you for reading this question.

 

we are creating a BOT based on Microsoft BOT framework which needs to interact with JIRA thru APIs to create JIRA tickets etc. Possibly due to some project changes in JIRA, we are facing many issues in being able to create JIRA tickets from the BOT. we are urgently looking for some advice/help in this.

would very much appreciate if any of you have done this before and can help us in this regard.

 

Thanks a ton

Nand Kishore

1 answer

0 votes
Alex Gallien
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.
May 17, 2019

What sorts of issues are you hitting? Have you seen the REST API reference documentation: https://docs.atlassian.com/software/jira/docs/api/REST/7.13.0/?

I'm not familiar with the BOT framework, but have done some very complex stuff using Python and Jira's REST API. If you could share some errors or problems you're having I can try to help :)

raman singh May 21, 2019
Hi Alex - we are getting the below error while trying to connect our chatbot to JIRA ( on premise) through restful API's in order to create JIRA tickets :{
"errors": {
"customfield_10006": "Field 'customfield_10006' cannot be set. It is not on the appropriate screen, or unknown."
},
"errorMessages": []
}

"errors": {
"customfield_10001": "Field 'customfield_10006' cannot be set. It is not on the appropriate screen, or unknown.
"customfield_10006": "Field 'customfield_10006' cannot be set. It is not on the appropriate screen, or unknown."
},
"errorMessages": []
Nand Kishore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2019

Alex, My colleague Raman has provided a detailed description of the problem we are facing. Can you please help?

Your help is most appreciated. Many thanks in advance,

Sachin Govind May 21, 2019

+1 following this thread for an answer. Thanks Alex for the help.

Alex Gallien
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.
May 21, 2019

Have you confirmed the custom field that you would like to add in the issue creation is on the Create Issue screen for that issue type in that project? Also could you post the full JSON payload you're sending? Might be some clues there

Sachin Govind May 26, 2019

Yes it is available in the screen.
We have a lot of custom plugins. We do not know what are the valid values to that.

{ "fields": { "project": { "id": "id" }, customfield_13438: 'IT', "summary": "summary", "issuetype": { "id": "17" }, "description": "desctiption" } },

These custom fields are causing a problem.

Alex Gallien
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.
May 28, 2019

Interesting - I don't see any references to customfield_10006 or customfield_10001 in that JSON. Are those required fields that aren't being set?

Sachin Govind May 28, 2019

Hi Alex,

That was an example for a different project. To give a gist of the problem, All projects have certain customized_fields associated with them due to respective plugins installed on them.

We do not know what are the values we can pass into these customized_fields.

raman singh May 29, 2019
hi alex , can we setup sometime with you for a webex screen share discussion on this ?
Alex Gallien
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.
May 29, 2019

Yeah why the hell not ¯\_(ツ)_/¯

Add me on LinkedIn and we can discuss details.

raman singh June 6, 2019

Hi Alex ,  i have already added you to my linkedin account , can you please advise a suitble late evening PDT time so that me and my colleague Sachin can connect with you.

Suggest an answer

Log in or Sign up to answer