When adding a line break within the description for an issue, I use
\n
What do I need to do to do things like this:
Any help would be appreciated
I actually figured out a workaround instead of using a Jira library, I decided to just use the requests library instead.
For what it's worth:
set up a variable first for your json. what i did was i created a ticket, then used postman to get the JSON payload and edit it to just the part i'd like to update (the fields -> description)
import requests
//(if you need it also import json
url = 'https://YOURJIRADOMAIN/rest/api/3/issue/' + 'YOURISSUEKEY'
headers = {'user': 'EMAILADDRESS:PASSWORD', "Content-Type": "application/json", 'accept':'application/json', 'Authorization': 'Basic USEYOURTOKENHERE'}
response = requests.request("PUT", url, json=payload,headers=headers)
-Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.