Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

accessing form data (proforma) with the official jira python module

Oli April 18, 2023 edited

hi, i'd like to access the proforma data in an issue with the official jira python module (https://pypi.org/project/jira/)

Is there any way to get those (easily)? I tried it with jira.issue("My-Issue-ID").raw but was not able to find anything related to the form data.

or is the rest api somehow public accessible? then i could test in my browser if i can access those fields. i created a new group and assigned the export form data permission, so in theory, it should work

the forms version is: 8.6.4-DC, jira version 9.4.4

1 answer

1 accepted

0 votes
Answer accepted
Oli April 18, 2023 edited

wierd, an hour ago i was not able to access the documentation, now i can view it at https://confluence.atlassian.com/proformadev/v1-2-0-api-documentation-1167691702.html

very strange, maybe adblock blocked it or so.. guess with that i can work on. 

 

edit: i played now a bit around (because i had no form id) and found this: /rest/proforma/api/2/issues/Ticket-ID/forms which gives me all i need. Wondering if this is documented or so. Maybe i am blind :)
Now wondering if i can access those fields with the jira object, which is already authenticated with the jira server. Dont want to authenticate again with a http client :X

edit 2: i was also able to access those fields with /rest/proforma/1/issue/Ticket-ID/form/1/answers, but seems like not possible to access them with the jira python object?

edit 3: created a ticket for the jira object: https://github.com/pycontribs/jira/issues/1647
 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events