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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set 'Parent Link' field when creating issue using direct HTML link in Jira Server

I'm using the feature and functionality found on this page: 

https://confluence.atlassian.com/jirakb/how-to-create-issues-using-direct-html-links-in-jira-server-159474.html

I have a custom field called Action Links that displays several HTML links that do various things like create sub-tasks or different issue types.

I can not figure out how to get Parent Link to set on the new issue being created however.  I've used the view source code trick to find out that my "Parent Link" field is customfield_12304.

 

This is the code I'm using.  

sb <<= ' | <a href = "https://jira1.corp.fidar.com/secure/CreateIssueDetails!init.jspa?pid=16813&issuetype=12100&customfield_13744=' + issueKey + '&customfield_12304=' + issueKey +'" target=_blank>Create MSF Feature</a>' //Create MSF Feature

 

Here are the results:

parentlinknotsetting.png

 

My suspicion is that I have my syntax wrong when trying to include two custom fields that both share the same value.  Anyone have any ideas?

1 answer

0 votes

Your 2 fields look a bit different in their styling. Are they the same custom field type?

Perhaps the second one has a specific format it needs.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you