Forums

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

Create (sub)tasks on an Insight Custom Field with several objects

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 Leaders.
November 23, 2022

Hi,

I have an Insight Custom Field in which several objects are filled in.
Now I want to automatically create a (sub)task for every object entered in the Insight Custom Field.
How can this be achieved? Anyone have ideas or tips?

 

I'm already looking at a post on the community
But I can't get the part with a value removed from an insight custom field to work.

 

Regards, Marco


p.s. I have access to scriptrunner, automation for jira and JMWE, among other apps

1 answer

1 accepted

2 votes
Answer accepted
David Fischer
Community Champion
November 23, 2022

Hi @Marco Brundel 

you could do that with JMWE's Create Issue(s) post-function, returning the value of the Insight custom field in the Iterator script. Then, if you need to access the "current" insight object (during the iteration) to set a field on the new issue, you can use the "it" variable to refer to it.

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 Leaders.
November 25, 2022

@David Fischer 

I got it done with JMWE. Thank you!

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 Leaders.
November 30, 2022

Hi @David Fischer ,

one additional question.

I want to include the information of the "current" insight object in the summary and/or description, is that possible?

Example Summary:
Take action on <%=issue.get("customfield_14702")%>

If so, what is the right groovy?

Regards, Marco

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events