Forums

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

"List" function does not populate content into fields

Emily Burke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 19, 2022

Im looking to use Work Management, and Ive created a number of tasks with Titles & Descriptions. However when I go to the "List" function, The summary field is empty, and the Issue type is also greyed out. This function isn't useful if no information appears, is there something I can do to fix this? I didn't customize anything, this is straight out of the box functionality. Screen Shot 2022-01-19 at 10.54.43 AM.png

2 answers

1 accepted

1 vote
Answer accepted
Alexandru Geageac
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.
May 15, 2015

Ok, now this code should work:

string url = "https://slack.com/api/chat.postMessage";
string [] headers = "Accept|text/plain";
string link = "<http://www.google.com|This is a link to Google>";
string[] params = {"token","my_token","channel","ckast-private","text", link};
httpPost(url, headers, params);

Best regards,
Alex 

Chris Kast
Contributor
May 15, 2015

Thanks, Alex. Using your exact example above, all this does is post "final" which makes sense since "final" is encapsulated in the quotes. I'm assuming I need to concatenate? I tried doing this: string [] params = "token|my_token|channel|ckast-private|text|" + final; But that produces my original error. What's the appropriate way to concatenate inside of an array? Thanks again!

Alexandru Geageac
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.
May 15, 2015

Sorry Chris, my bad, i've edited the code block.

Chris Kast
Contributor
May 18, 2015

Perfect! Thanks, Alex. This worked great.

anton ronin
May 15, 2016

yet the question remains

How to escape characters in SIL?

0 votes
Alexandru Geageac
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.
May 15, 2015

Hello Chris,

I've used a script like this and it works:

string [] headers = "Accept|text/plain|Accept-Language|ro_RO";
string [] params = "param1|value1|param2|value2";
headers += "custom-url";
headers += "http://www.google.com/reallyworks";
string google = "http://www.google.com/search?q=test";
httpPost(google, headers, params);

Have a nice day,
Alex 

Chris Kast
Contributor
May 15, 2015

Sorry...maybe I should have been more clear. The link to Google is a actually a part of the text that's being sent as a parameter in the payload (Google is just an example...I can be any URL). I've updated my original question with the code I have now. Hopefully that's more clear.

Suggest an answer

Log in or Sign up to answer