Forums

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

issuelinks-issues rest api in link

Dan27
Contributor
July 31, 2019

Hello,

 

I need to create a rest api link (from script fragments) to create issue with specific type, project, and link.

this is my link:

https://BASE_URL/secure/CreateIssueDetails%21init.jspa?issuetype=13103&pid=12300&issuelinks-linktype=is+Container+of+Epic&issuelinks-issues=TB-10893

 

the link issue type and like issue key is not working.

When I change the issue link key to something illegal  (like 'hhhh') , The create screen opened perfectly, with all of the attributes, and with the incorrect issue link..

issue linked.JPG

Why is it happening ? Please I need help...

It's urgent..

 

Thank you!

Daniel

1 answer

1 accepted

0 votes
Answer accepted
Roman Kersky
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.
August 1, 2019

Hi, there was a similar need, and failed to do (maybe the field was not supported).

Did so, wrote in the text custom field key issue (example: ...... /&customfield_14103=TB-4444)

and added post function linking current issue with value in text field

Dan27
Contributor
August 1, 2019

Thanks, I did it already and it worked.

Like Budavári Károly likes this

Suggest an answer

Log in or Sign up to answer