Hello, I succesfully established a connection between MS Flows and Jira, but when I try to use the action Create an Issue, I am getting back this error message:
{ "errorMessages": [], "errors": { "rankBeforeIssue": "expected Object" }}
Any suggestion would be really appreciated, thanks.
Hi @Stefano Veronese ,
according to this article it looks like there is some problem with custom fields - could it be, that you are sending data for some custom field with type Rank in your create issue request?
Thanks Hana - indeed, the issue contains some custom fields which cannot be used using the Jira action available in MS Flows.
To overcome this block I used an HTTP connection module (available in Flows) and I was able to create an Issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stefano Veronese - I am facing a similar problem, can you share how you solved this with the HTTP connection please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Richard Roper ,
I used:
Method: Post
URI: https://YOURDOMAIN.atlassian.net/rest/api/3/issue?
Body:
I created the Body in Postman first, in order to test it with my custom fields. The results was something like this:
{
"update": {},
"fields": {
"summary": "VALUE FROM MS FLOW",
"assignee": {
"id": "VALUE FROM MS FLOW"
},
"project": {
"id": "ID OF YOUR PROJECT"
},
"issuetype": {
"id": "ID OF YOUR ISSUE TYPE"
},
"customfield_10080": "VALUE FROM MS FLOW",
"customfield_10008": "VALUE FROM MS FLOW",
"description": {
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "VALUE FROM MS FLOW"
}
]
}
]
}
}
}
Authentication: Basic
Username: your email address
Password: the password that you can generate via https://id.atlassian.com/manage/api-tokens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Stefan - any chance you could post an image of your set-up in MS FLOW?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.