Forums

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

SIL admUpdateProject

Dennis Henrik Kristensen October 12, 2018

Hello,

 

I have been working on an UDR that can update a projects properties and schemes. The schemes part is working fine but the properties are not. 

I am using SILs routine: admUpdateProject(pkey, pname, description, lead, url, categoryName, defaultIsUnassigned, avatarId[,projectTypeKey]) - In the script.

I have also tried to this in a it's own script and run it from the SIL Runner Gadget. This is my own line: admUpdateProject("TEST06", "Thunderbolt3", "Three thunderbolts in a single hole", "Dennis Henrik Kristensen", "", "Udviklingsprojekter", false, 12010, "business");

Just to try and see if that the the trick. 

It only changed the Project type from software into "business". Any ideas on why it does not change the other values i gave? 

 

Thanks in advance

/Dennis

3 answers

1 accepted

0 votes
Answer accepted
Jonathan Muse _Appfire_
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.
October 12, 2018

Hi Dennis, sorry that you are having an issue with this routine. I have created a support ticket for your issue. If you send me your email address I will add you to the ticket so you can receive status updates.

Thanks

Dennis Henrik Kristensen October 15, 2018

 

 

Thomas Schlegel
Community Champion
October 15, 2018

@Dennis Henrik Kristensen@Jonathan Muse _Appfire_ - you shouldn't exchange email-addresses here. This is an invitation for spam - remember, this is a public community...

0 votes
Cristian Pintea October 18, 2018

Hi Dennis,

The reason for which you have this problem is because you're trying to set the 12010 value which is not a valid avatar id. If you check the logs, you will be able to identify a SIL Exception related to this.

Try to use a value in the [10000 - 10011], [10200 - 10211], [10324 - 10333] intervals (these are the ids of avatars marked as "project" avatars.

Best regards,

Cristian Pintea

0 votes
Yevgen Lasman
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.
October 12, 2018

Do you have any errors in the atlassian-jira.log file after running this routing?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events