Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Insight Automation, Insertion of a reference, where is the additionalValue ?

Stromos June 29, 2022

Hi,

I am currently working on a python script for Jira Insight insertions. I succeeded, not without difficulty, to insert some objectschema, objecttype and attributes. However I am stuck with trying to insert an object reference attribute because I don’t understand how to use the required field “additionalValue”.

Here is my json object before insertion :

object_json = {
"Name" : "Reference Name" ,
"type" : 1,
"typeValue": environementJIRAReferenceID, (just some oriented objet program)
"additionalValue" : I don't know what to fill
}

In other terms, I am willing to know where we could find the Id of the reference type.

Hope someone could unstuck me, I am still looking by myself while waiting.

Thanks by advance,
Stromos

1 answer

1 accepted

1 vote
Answer accepted
Stromos June 30, 2022

Hi,

I finally got the solution. I created via the Jira Insight graphic interface a reference attribute like I wanted to have before doing a request on all the attributes of the object where I placed my attribute reference. So I did get the Id of the reference type and I am then ready to insert them with my script.

Hope my adventure will help somebody.

Regards,

Stromos

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events