guilhemmarchand / TA-jira-service-desk-simple-addon

Atlasian JIRA add-on for Splunk alert actions
11 stars 9 forks source link

Problem opening issue automatically #130

Closed Gm0ur4 closed 2 years ago

Gm0ur4 commented 2 years ago

Hi! We use the app to integrate Splunk with our Jira account. It has happened that some calls coming from splunk do not automatically open in jira (the same alert opens at certain times, then it stops opening).

The error I get is the following:

HTTP Error=400, content={"errorMessages":[],"errors":{"summary":"Field 'summary' cannot be set. "description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."}}" action_name="jira_service_desk_replay" search_name="JIRA Service Desk - Resilient store Tracker"

The login used in the integration has admin access in jira and within the project.

guilhemmarchand commented 2 years ago

Hi @Gm0ur4

Please enable DEBUG logging:

image

The Add-on will now log the entire JSON data sent to the JIRA API:

(index="_internal" OR index="cim_modactions") (source="*jira_service_desk_modalert.log") "json data for final rest call"

Ex:

2022-01-06 20:54:10,520 DEBUG pid=2528870 tid=MainThread file=cim_actions.py:message:292 | sendmodaction - signature="json data for final rest call:={
    "fields": {
        "project": {
            "key": "LAB"
        },
        "summary": "test JIRA from Splunk Cloud",
        "description": "Test JIRA alert",
        "issuetype": {
            "name": "Bug"
        },
        "priority": {
            "name": "Medium"
        }
    }
}" action_name="jira_service_desk" sid="1641502448.163365" rid="0" app="TA-jira-service-desk-simple-addon" user="guilhem.marchand@gmail.com" action_mode="adhoc"

This is to make sure all fields are populated and consistents.

The error:

{"summary":"Field 'summary' cannot be set.
"description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."}}

Is returned by JIRA, it normally indicated a configuration issue on the JIRA project side, with the knowledge of the logging you will know more, but it's very likely an issue of your own.

Gm0ur4 commented 2 years ago

Hi, @guilhemmarchand Thanks for the quick response Yesterday I changed the log level to DEBUG and today I already had some failures when opening, but without further details on the error, I continue with the same one:

"summary":"Field 'summary' cannot be set. It is not appropriate screen, or unknown.","description":"Field 'description' cannot be set. It is not appropriate screen, or unknown. "}}"

I changed the token I use in the integration, did some tests together with Atlassian support and all tests work.

Strange that the same alert opens a few times, then stops opening automatically (same trigger, same fields).

Are there any more actions I can try?

guilhemmarchand commented 2 years ago

Hi @Gm0ur4

You didn't check the log carefully enough, can you share the JSON raw message and after it is parsed by json.loads?

It will contain the full JSON and show us that the JSON object is consistent. Then based on that, you could take the JSON and try the REST call manually too.

Gm0ur4 commented 2 years ago

Hi, @guilhemmarchand

Follow json message:

2022-01-07 09:10:54,953 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="Get session_key." action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,333 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="auth_type=basic" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="username=xxx@xxx" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_auth_mode=basic" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_url=https://ALRT-xxxxx" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_ssl_certificate_validation=1" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearch__RMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="ssl_certificate_validation=True" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_ssl_certificate_path=0" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_ssl_certificate_path=0" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_passthrough_mode=0" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_passthrough_mode=0" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,334 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="passthrough_mode=False" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,337 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="Get session_key." action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,459 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="splunkd_port=8089" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,460 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="proxy_url=None" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,460 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="use_proxy set to False" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,460 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_project=NAT" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearch__RMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,461 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_issue_type=[System] Incident" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,461 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_priority=" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,461 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_dedup_enabled=False" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,461 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_dedup_exclude_statuses=Done" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,461 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_dedup: jira_dedup_full_mode is set to True, the full issue data will be used for the md5 calculation." action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,461 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_attachment=disabled" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,461 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_attachment:=disabled" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,462 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_attachment_token=/opt/splunk/var/run/splunk/dispatch/scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417/results.csv.gz" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearch__RMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,462 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_customfields_parsing=enabled" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,462 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_customfields_parsing:=enabled" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,463 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="event=OrderedDict([('Time', '2022-01-07 09:06:23 2022-01-07 09:06:50'), ('Computer name', 'xxxx'), ('Event code', '4648'), ('Account domain', 'xxx'), ('Account name', 'xxx'), ('count', '5'), ('__mv_Time', '$2022-01-07 09:06:23$;$2022-01-07 09:06:50$'), ('mv_Computer name', ''), ('mv_Event code', ''), ('__mv_Account domain', '$xxx$;$xxx$'), ('mv_Account name', ''), ('mv_count', ''), ('rid', '0')])" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearch__RMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,463 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_priority_dynamic=" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,463 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_summary=[ALRT] - Windows - Multiple explicit credential usage" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,463 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_description=xxxxxxxxxxx 2022-01-07 09:10:55,463 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_assignee=" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,464 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_reporter=" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,464 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_labels=" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,464 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_components=" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,464 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_customfields_parsing=enabled" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,467 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_customfields=" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,468 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="json raw data for final rest call before json.loads:={ 2022-01-07 09:10:55,468 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_md5sum:=42630807d96de3508a34cf33938ce448" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,468 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="json data for final rest call:={ 2022-01-07 09:10:55,478 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="response status_code:=404" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:10:55,479 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="jira_dedup: The calculated md5 hash for this issue creation request (42630807d96de3508a34cf33938ce448) was not found in the backlog collection, a new issue will be created" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearchRMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved" 2022-01-07 09:14:56,340 DEBUG pid=267409 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="response status_code:=400" action_name="jira_service_desk" search_name="[ALRT] - Windows - Multiple explicit credential usage" sid="scheduleradminsearch__RMD5a085bb2f6180b03e_at_1641557400_65417" rid="0" app="search" user="admin" action_mode="saved"

guilhemmarchand commented 2 years ago

Thanks @Gm0ur4 I will review your logs shortly.

Gm0ur4 commented 2 years ago

Hi @guilhemmarchand! Please, can you tell me if there is any possible adjustment that I can make based on the logs sent?

guilhemmarchand commented 2 years ago

Thanks for the remind @Gm0ur4 my bad Will check quickly

guilhemmarchand commented 2 years ago

@Gm0ur4

These logs aren't what we are looking for.

  1. errors

We are after errors, if the TA is encountering something unexpected, this would lead to one or more errors generated (whatever the logging level is)

(index="_internal" OR index="cim_modactions") (source="*jira_service_desk_modalert.log") TERM(ERROR)
  1. Specific messages which only show up in DEBUG

We look for:

(index="_internal" OR index="cim_modactions") (source="*jira_service_desk_modalert.log") "json data for final rest call" OR "json raw data for final rest call before json.loads" OR "jira_creation_response_json"

These logs would only appear in DEBUG, this will tell us what the JSON data is looking like and if it is incomplete, and the response from JIRA.

--> My assumption is something wrong on your side or unexpected with the Splunk results, but the logs would show us

Gm0ur4 commented 2 years ago

Thanks for the feedback! I will enable the debug level for all instances that I have (and that are showing the error) and I will send the log as soon as possible, which will return

Gm0ur4 commented 2 years ago

Hi @guilhemmarchand

I managed to capture the error logs:

In search: (index="_internal" OR index="cim_modactions") (source="*jira_service_desk_replay_modalert.log") "JIRA Service Desk ticket creation has failed"

i get: 2022-02-25 16:00:04,266 ERROR pid=3926177 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="JIRA Service Desk ticket creation has failed!. url=https://XXX.atlassian.net//rest/api/latest/issue, ticket_data={ "fields": { "project": { "key": "XXX" }, "summary": "[XX] - AWS - Brute Force", "description": XXX "issuetype": { "name": "[System] Incident" }, "customfield_10079": { "value": "Alto" }, "customfield_10073": { "value": "XXX SUSTENTA\u00c7\u00c3O" } } }, HTTP Error=400, content={"errorMessages":[],"errors":{"customfield_10073":"Field 'customfield_10073' cannot be set. It is not on the appropriate screen, or unknown."}}" action_name="jira_service_desk_replay" search_name="JIRA Service Desk - Resilient store Tracker" sid="scheduler__admin_VEEtamlyYS1zZXJ2aWNlLWRlc2stc2ltcGxlLWFkZG9u__RMD5028f4f4c522c140d_at_1645815600_14830" rid="0" app="TA-jira-service-desk-simple-addon" user="admin" action_mode="saved" action_status="failure"

In search: (index="_internal" OR index="cim_modactions") "json data for final rest call" OR "json raw data for final rest call before json.loads" OR "jira_creation_response_json" NOT sourcetype=splunkd_remote_searches

i get: 2022-02-25 16:00:14,092 DEBUG pid=3944746 tid=MainThread file=cim_actions.py:message:280 | sendmodaction - signature="json data for final rest call:={ "fields": { "project": { "key": "XXX" }, "summary": "[XXX] - AWS - Brute Force", "description": "XXX", "issuetype": { "name": "[System] Incident" }, "customfield_10079": { "value": "Alto" }, "customfield_10073": { "value": "XXX SUSTENTA\u00c7\u00c3O" } } }" action_name="jira_service_desk_replay" search_name="JIRA Service Desk - Resilient store Tracker" sid="scheduler__admin_VEEtamlyYS1zZXJ2aWNlLWRlc2stc2ltcGxlLWFkZG9u__RMD5028f4f4c522c140d_at_1645815600_14830" rid="0" app="TA-jira-service-desk-simple-addon" user="admin" action_mode="saved"

I look forward to hearing from you, thanks

guilhemmarchand commented 2 years ago

Hi @Gm0ur4

The error is quite visible and returned by Jira:

errors":{"customfield_10073":"Field 'customfield_10073' cannot be set. It is not on the appropriate screen, or unknown."

Which is probably easily visible in the UI too.

So, the JSON data is properly formed and structure - not an issue of the Add-on.

The issue is on the JIRA configuration side, where the project does not allow this custom field to be used "It is not on the appropriate screen, or unknown."

Do you have other alert where you setup the same custom field for the same project? To me it's JIRA config issue, unless the custom field is not defined as expected in its content.

Please double check on JIRA

guilhemmarchand commented 2 years ago

Assuming you've been able to fix your issue @Gm0ur4