I am using Azure Logic Apps to communicate between Dynamics CRM and Jira. Everything works fine I can create/update bi-directional but.... I am not able to create a (CRM Case ID) hyperlink in a custom field. I now insert the very long complete link. It would be nice to just have a short descriptive hyperlink instead
I found the following but that doesn't work
[Atlassian|http://atlassian.com]
What type of field are you trying to add the link to, and what error message are you getting? Also, what happens when you try to add the link "manually"? (By typing or pasting it into the field in the Jira UI)
I am adding it into a custom text field, custom field_10500 see HTTP input below. When I paste manually it's not converted to a link but shows as plain text like:
[Atlassian|http://atlassian.com]
The problem is that I don't have much control about forming the HTTP input because that's all being handled by the Logic App. In debug mode I can see the input for posting the Jira Issue and it looks like this:
{ "uri": "https://jira.haynespro.com/rest/api/2/issue/", "method": "POST", "headers": { "Authorization": "*sanitized*", "Content-Type": "application/json" }, "body": { "fields": { "customfield_10500": "https://haynespro.XXXXXXXXXXXXXXX", "customfield_10502": " 2f753877-942f-ea11-a810-000d3ab85773", "description": "Test 1", "issuetype": { "name": "Bug" }, "project": { "key": "CS" }, "summary": "Test 1" } }}
Instead of "https://haynespro.XXXXXXXXXXXXXXX" I have to create the link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Links are stored as markup in text fields, you'll need the Logic app to send markup instead of plain text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found out that when I send the string [Foo bar|http://www.example.com] to the Jira issue description field it works, when I send it to my custom field it doesn't work.
I also noticed that when I edit the description field, the field gets bigger and it shows a header with editing tools. When I edit the custom field nothing changes it's just an ordinary text field. So I believe it is the type of field that has to change. I did some research but don't see how I can make the custom field behave like a text editing field.
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.