Hi all,
Hope you all are well today!
I am trying to set up the Shotgun-Jira bridge. I’ve followed the documentation thoroughly. I have my own Jira server instance on-premise. When I launch this command line,
python /home/geoff/workspace/shotgunJira/sg-J=jira-bridge/webapp.py --settings /home/geoff/workspace/shotgunJira/sg-jira-bridge/settings.py --port 9090
I have a Traceback like this:
2019-09-17 21:48:52,275 INFO [bridge] Successfully read settings from /home/geoff/workspace/shotgunJira/sg-jira-bridge/settings.py
2019-09-17 21:48:52,969 INFO [shotgun_session] Connected to https://my-awesome-website.shotgunstudio.com.
2019-09-17 21:48:54,577 INFO [jira_session] Connected to http://my-awesome-jira-site.com
2019-09-17 21:48:55,215 ERROR [bridge] Missing required custom Shotgun Project field sg_jira_key
Traceback (most recent call last):
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/bridge.py", line 146, in get_bridge
sg_http_proxy=shotgun_settings.get("http_proxy"),
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/bridge.py", line 86, in __init__
self._shotgun.setup()
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/shotgun_session.py", line 96, in setup
"text"
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/shotgun_session.py", line 114, in assert_field
entity_type, field_name,
RuntimeError: Missing required custom Shotgun Project field sg_jira_key
Traceback (most recent call last):
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/webapp.py", line 332, in <module>
main()
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/webapp.py", line 326, in main
certfile=certfile,
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/webapp.py", line 278, in run_server
("localhost", port), RequestHandler
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/webapp.py", line 56, in __init__
self._sg_jira = sg_jira.Bridge.get_bridge(settings)
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/bridge.py", line 146, in get_bridge
sg_http_proxy=shotgun_settings.get("http_proxy"),
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/bridge.py", line 86, in __init__
self._shotgun.setup()
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/shotgun_session.py", line 96, in setup
"text"
File "/home/geoff/workspace/shotgunJira/sg-jira-bridge/sg_jira/shotgun_session.py", line 114, in assert_field
entity_type, field_name,
RuntimeError: Missing required custom Shotgun Project field sg_jira_key
Here are my settings.py:
settings.py (3.9 KB)
and my .env file (sorry for the .py extension. It was to allow the upload of the file):
dot_env.py (551 Bytes)
I’ve changed the websites addresses for security reasons.
The thing I don’t understand in the traceback is that the script complains about a missing field
RuntimeError: Missing required custom Shotgun Project field sg_jira_key
On the picture below, I believe that I’ve added the correct custom field
and the jira project is Shotgun-jira:
Does anyone have an idea about what is causing the issue?
Thanks a lot for your help!
Geoff