Hello Jira community
I am trying to get the Confluence link referenced in a Jira issue. When I request all elements of a specific issue I can't find the location of the key that corresponds to the confluence link :
import requests
from requests.auth import HTTPBasicAuth
import json
url_base = 'https://happsproject.atlassian.net/rest/api/2/search?jql=issuekey = "DT-1554"'
auth = HTTPBasicAuth("XXX@XXX.com", "YYYYYYY")
headers = {
"Accept": "application/json"
}
response = requests.request(
"GET",
url_base,
headers=headers,
auth=auth
)
res = json.loads(response.text)
res
Can someone help me finding that missing field ?
Hi,
Are you saying you can find it or you cannot find it? Basically you should be looking at the remote link of an issue to get the confluence link on a Jira issue. I believe that's how you get the link.
Hi,
Absolutely, my issue was that I couldn't find it. The remotelink endpoint seems to work.
Thanks for responding me.
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.