Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to convert Html to Jira WikiMarkup

Edited

I am developing one custom app Jira and fresh work CRM.

that time I am trying to add a description, but that time I have a value in HTML will convert HTML to Jira wiki markup using  html-2-jira-markup NPM this not working my code showing an error.

anything is possible another method you have is converting Html to jirawikimarkup

suggested me. 

1 answer

0 votes
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 21, 2022

Hi @Arjunan G  Welcome to Atlassian Community!

I think you are looking for this link :- https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

Thanks

V.Y

My question is how to create an API call body Description
I have code like this

    <h1>Biggest heading</h1>
    <h2>Bigger heading</h2>
    <h3>Big heading</h3>
    <h4>Normal heading</h4>
    <h5>Small heading</h5>
    <h6>Smallest heading</h6>
but i want this type of body 
"description": {
"version": 1,
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"level": 1
},
"content": [
{
"type": "text",
"text": "Biggest heading"
}
]
},
{
"type": "heading",
"attrs": {
"level": 2
},
"content": [
{
"type": "text",
"text": "Bigger heading"
}
]
},
{
"type": "heading",
"attrs": {
"level": 3
},
"content": [
{
"type": "text",
"text": "Big heading"
}
]
},
{
"type": "heading",
"attrs": {
"level": 4
},
"content": [
{
"type": "text",
"text": "Normal heading"
}
]
},
{
"type": "heading",
"attrs": {
"level": 5
},
"content": [
{
"type": "text",
"text": "Small heading"
}
]
},
{
"type": "heading",
"attrs": {
"level": 6
},
"content": [
{
"type": "text",
"text": "Smallest heading"
}
]
}
]
},
anything is possible to convert this type of body
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 22, 2022

@Arjunan G  It seems that you are trying to add Description via REST API call and Description is having HTML tags ,right ?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events