Forums

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

How to link the created story in a branch to an epic that was NOT the trigger issue

Richard Canlas
Contributor
January 7, 2022

The trigger issue is the creation of an issue type called Initiative. 

 

Upon creation of this issue type, I aim to create four epics and within each epic, four unique stories. Those stories must be a child issue of their respective epics. The problem I am having is I cannot find a way to link the story to the epic when it is under a branch. It is always linking back to the trigger issue (Initiative) or not at all.

 

I was able to successfully link the epic to the initiative with a JSON command as shown below:
{
"fields": {
"Parent link": "{{triggerissue.key}}"
}
}

 

Is there a similar command I can use to link these stories to their respective epics?

Alternatively, I am told I can use a lookup function that could switch context to possibly the epic. 

 

 

All help is appreciated.

2 answers

1 accepted

1 vote
Answer accepted
tousifs
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.
February 13, 2013

Hi Akira,

you are using webwork module.? or Servlet module?

regards,

tousif shaikh.

Akira Tsuchiya
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.
February 13, 2013

I am using webwork module.

tousifs
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.
February 15, 2013

webwork does not return Objects as we return the string based on the string params we are transfering request to the velocity. now from .class your trying to set and getattribute for object.

i can suggest you if its possible you can try servlet module.

or you can put the required data to the session object using setSession() you can use the required object values all over context in velocity and then clear the session this way you could achive.

please try and let me know.

0 votes
Gang Li
May 23, 2013

Actully, the implicit object for request is $req but not $request, you can try $req.getAttribute("attribute").

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events