Forums

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

show issues on request type form based on selected assets object

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 8, 2024

Hi,

On a request type form we have an Assets custom field. Now we want when a certain object is selected in this field that the open issues that are linked to this object are shown in an issue-picker field. Is this possible?

With a Behaviour for example?

This concerns Jira Service Management DC and we have Scriptrunner.

regards, Marco

1 answer

1 accepted

2 votes
Answer accepted
Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 8, 2024

@Marco BrundelSince you are on DC with scriptrunner that is doable with a behaviour.

With the object id perform REST API call to get all issues

(https://jira.atlassian.com/browse/JSDSERVER-11131)

Then use the behaviour API to fill the issue-picker field with the list of issues returned above.

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 9, 2024

@Adolfo Casari Thanks for your answer.
I'll go try this option.

 

regards, Marco

Like • John Funk likes this
Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 12, 2024

@Adolfo Casari 
Do you have an example of a behavior script?
I couldn't find one on https://library.adaptavist.com/.

 

regards, Marco

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.12
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events