Missed Team ’24? Catch up on announcements here.

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

Scriptrunner - getting issue properties from CHECKOUT (App)

Anja Pfäffle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2024

I'm working with the new Procurement Add-On for Jira Data-Center called Checkout.

Checkout stores Order-Details as properties, not as customfield.values. I can get out the order-Information through smartvalues.

For example:

{{issue.properties."com.mumosystems.checkout-order".address.address}}  {{issue.properties."com.mumosystems.checkout-order".address.city}}  ...and so on.

 

Now I also want to work with Scriptrunner (extract order-details into an excel-file). How can I access those issue.properties?
How do I handle the expression 'com.mumosystems.checkout-order' ?

I tried following:


(Issue.properties.'"com.mumosystems.checkout-order".address.address')


but it always returns "null"

 

Thanks in advance!

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Drew April 25, 2024

Hello,

Checkout in datacenter does have the capability to export order data into an Excel spreadsheet.

For this to work, Purchase Orders must be enabled in a project, and the option for Multiple Issues Order Flow needs to be selected as is shown in the screenshot below.Screenshot 2024-04-25 at 2.13.55 PM.png

 

Then, after submitting an order, if you view the Purchase Order that is automatically created and linked to the order, you will see an Actions button. If you click it, you will see an option for an Excel Report which will download a spreadsheet automatically when clicked.

Screenshot 2024-04-25 at 2.20.50 PM.png

 

 

If this is not the information you wanted, then we may be able to try to work through a Scriptrunner example of getting the Checkout Order properties.

TAGS
AUG Leaders

Atlassian Community Events